question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[BUG] GraphvizVertexShape.Record causes Label string to be empty on output.

See original GitHub issue

When using ToGraphviz and the FormatVertex handler, when you assign the args.VertexFormat.Shape the value GraphvizVertexShape.Record, when the dot is output, the Label ends up empty despite assigning any string value to the Label, let alone that you would expect to be able to use the record formatting on. i.e. “{ a | b | c }”.

e.g. Expected gv output:

...
0 [shape=record, label="{ a | b | c }"];

Actual gv output:

...
0 [shape=record, label=""];

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:13 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
KeRNeLithcommented, Aug 28, 2021

That’s not publish to NuGet.org but to MyGet for now (snapshot). Note that it seems to be an issue on Microsoft side for symbol packages, because it’s not the real package that trigger those errors. On my side if I’m not wrong I set authors as requested, the problem is the procedure to geneate symbol package that voluntarily skips/removes this information. Didn’t remember the reason that was given by Microsoft team. Anyway this should not be an issue but it would be nice if they update nuget.exe to not raise those errors while being in their standard process. I may have to re-check if there were changes for this by the way.

1reaction
KeRNeLithcommented, Aug 28, 2021

I think we can indeed go this way for the Label/Record management as it still allows to use Record structure but also extends to custom generated record, while enforcing the logic to not set both at the same time to avoid conflicts.

Read more comments on GitHub >

github_iconTop Results From Across the Web

XmlPeek empty string causes failure - msbuild
The error happens because an empty string is being used as the Item Identifier. I guess identifiers cannot be the empty string.
Read more >
[BUG] A mutation that adds a label removes empty strings ...
A mutation that adds a label removes empty strings from a Secret on updates. This is a problem, because applications might expect a...
Read more >
Use empty string, null or remove empty property in API ...
Going with an empty string is a definitive no. Empty string still is a value, it is just empty. No value should be...
Read more >
Empty string token causing multiselect box visual bug
I am using multiselect boxes to select which search results i want to exclude and include, and when the boxes are cleared, ...
Read more >
The quikgraph from KeRNeLith - Coder Social
[BUG] GraphvizVertexShape.Record causes Label string to be empty on output. When using ToGraphviz and the FormatVertex handler, when you assign the args.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found