GetFullAssemblyReference error

TurntwoTurntwo Folsom, CA
edited 10:50AM in FastReport .NET
If in the Report Options, Script, References section, you add an extra line feed after the last reference, then the blank reference gets passed to AssemblyDescriptor.GetFullAssemblyReference. GetFullAssemblyReference does not check for null or blank, then tries to substring the last 4 characters, which then generates an index error on the substring.
This is an easy thing to do in the report designer, so it would make sense that the program would just ignore the blank reference, rather than blowing up with a cryptic and hard to track down error message (especially with the obsfuscated source).

Not super important to fix right away, since there is a workaround, but definitely would make working with the product easier for end-user designers.

Thanks,

Jason

Comments

Leave a Comment

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.