Book a Demo

Author Topic: Text in <angle brackets> will not be exported in RTF reports  (Read 6218 times)

Manicminer

  • EA Novice
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Text in <angle brackets> will not be exported in RTF reports
« on: April 30, 2008, 11:10:49 pm »
When generating a RTF report, text in angle brackets contained in the note field of an element will not be exported.

Example:
Text in a notes field of any element:
[highlight]This is a <short> test[/highlight]

This will lead to an RTF export like:
[highlight]This is a test[/highlight]
("<short>" is missing)

Is there a way to prevent EA from dropping the enclosed text?

BTW: a Text like "<<test>>" will lead to an output like "<>"

/me
« Last Edit: April 30, 2008, 11:31:14 pm by manicminer »

thomas.kilian

  • Guest
Re: Text in <angle brackets> will not be exported in RTF reports
« Reply #1 on: April 30, 2008, 11:29:39 pm »
Report a bug. I had a similar issue since they interpret <xxx> as (unknown!) HTML tag and thus ignore it.

«Midnight»

  • EA Guru
  • *****
  • Posts: 5651
  • Karma: +0/-0
  • That nice Mister Grey
    • View Profile
Re: Text in <angle brackets> will not be exported in RTF reports
« Reply #2 on: April 30, 2008, 11:59:40 pm »
Yet again I'm talking through my hat here. See Neil's post below.

This could be a side effect of the rich notes feature. That introduced tags in angle brackets, which would likely be candidates for omission in RTF. Perhaps Sparx can add some kind of escape sequence...

Hopefully the bug report and project will be submitted, and Sparx can tweak the appropriate thing to get this solved.
« Last Edit: May 02, 2008, 02:20:45 am by Midnight »
No, you can't have it!

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: Text in <angle brackets> will not be exported in RTF reports
« Reply #3 on: May 01, 2008, 08:34:59 am »
Angle brackets in rich notes are escaped in the internal format.

I've tried this in notes saved in 7.0 and generated from 7.1 and notes saved in 7.1 generated in 7.1.  Both works as expected.

Please do send in a bug report and include your build of EA and ideally the xmi of a sample page to run, and possibly the template you were running.

Manicminer

  • EA Novice
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Re: Text in <angle brackets> will not be exported in RTF reports
« Reply #4 on: May 03, 2008, 01:36:55 am »
I did some testing with 7.1 (Build 828), now it seems to work  :) (even the project created with 7.0 works).


With Version 7.0 (Build 818), the dropping of the text can easily be reproduced: just open the "Example Model" that came with the installation, edit any elements note an create a RTF report with the standard "(basic template)".