Sparx Systems Forum

Enterprise Architect => Bugs and Issues => Topic started by: thomas.kilian on February 26, 2008, 09:02:57 pm

Title: Quote in note compartment render wrongly (beta02)
Post by: thomas.kilian on February 26, 2008, 09:02:57 pm
The note compartment renders a quote (") as "
I suspect other chars to be render also incorrectly.

Bug submitted...
Title: Re: Quote in note compartment render wrongly (beta
Post by: «Midnight» on February 26, 2008, 11:01:38 pm
They did say it was 'modified' HTML...

What happens if you turn off rich text display?
Title: Re: Quote in note compartment render wrongly (beta
Post by: thomas.kilian on February 26, 2008, 11:42:07 pm
Don't care. Beta01 worked. 02 didn't. Ergo: Bug.
Title: Re: Quote in note compartment render wrongly (beta
Post by: «Midnight» on February 26, 2008, 11:58:54 pm
Oh, no question about that whatsoever. I just wondered what happened?

I've tried this, both with a notes compartment and a note element. I made sure that there was rich text in both. I get the correct display with the note element, which always has rich text turned on. [The Set Feature Visibility dialog always shows it as off though, even if you change the setting and reopen the dialog.]

With a class element though, I get the correct display with rich text turned on. I get your result with rich text turned off. I do not get the problem with apostrophes, so the bug is likely isolated to specific entities, perhaps only double quotes.

David
Title: Re: Quote in note compartment render wrongly (beta
Post by: Eve on February 27, 2008, 08:56:54 am
This effected both beta 1 and beta 2, when the element is not rendering formatted text.  The error will also effect the legacy rtf report, testing report and a few extra places under the linux build.
Title: Re: Quote in note compartment render wrongly (beta
Post by: thomas.kilian on February 27, 2008, 09:42:53 am
Which means "known and bad luck for me" or "know and will be corrected in release x"? I can not understand why it rendered correctly in Beta01 but not in 02 if, as you state, the error was also in 01. :-?
Title: Re: Quote in note compartment render wrongly (beta
Post by: mrf on February 27, 2008, 10:32:29 am
Hi,

I've come across many quote characters in the Unicode system, Windows seems to make different ones the default for certain locales. Is it possible that you were using a different quote character in the Beta 01 release than what you were in Beta 02? That could explain the discrepancy.
Title: Re: Quote in note compartment render wrongly (beta
Post by: Eve on February 27, 2008, 10:36:48 am
Known and not yet corrected, but I'll do my best to make sure 7.1 doesn't go into production with the error there.  I'll keep you posted.
Title: Re: Quote in note compartment render wrongly (beta
Post by: Eve on February 27, 2008, 01:14:27 pm
Should be fixed in the next build, and probably didn't see it in beta 1 because the notes hadn't been saved for that element yet.