Sparx Systems Forum

Enterprise Architect => Bugs and Issues => Topic started by: Paolo F Cantoni on January 28, 2016, 02:59:58 pm

Title: printwrapped doesn't recognise "#TAG:<tagname>#"
Post by: Paolo F Cantoni on January 28, 2016, 02:59:58 pm
If you try to use   printwrapped("#TAG:condition#"); it will fail to run the substitution macro and will emit the text: #TAG:condition#

print("#TAG:condition#");  works fine, as documented

Reported,
Paolo
Title: Re: printwrapped doesn't recognise "#TAG:<tagname>#"
Post by: Eve on January 28, 2016, 03:18:56 pm
Just tested and it did.

What build of EA are you on? There was a bug fixed recently where wrapping was done before substitution, which meant you could get similar behavior if the element became too narrow.

Edit: Just checked. The fix hasn't been released yet, so that's probably your issue.
Title: Re: printwrapped doesn't recognise "#TAG:<tagname>#"
Post by: Paolo F Cantoni on January 29, 2016, 11:03:11 am
Just tested and it did.

What build of EA are you on? There was a bug fixed recently where wrapping was done before substitution, which meant you could get similar behavior if the element became too narrow.

Edit: Just checked. The fix hasn't been released yet, so that's probably your issue.
For the record, it was build 1226.  And it's on a connector shapescript, specifically I'm setting the LeftBottomLabel.

 Paolo