Archi Forum

Archi => Archi Development => Topic started by: barrel on January 27, 2016, 13:12:35 PM

Title: [BUG] Report of model based Opengroup Model Exch to HTML - incorrect image names
Post by: barrel on January 27, 2016, 13:12:35 PM
Hello all,

I would like to report a small bug.

When importing a file based on the Open Group ArchiMate Model Exchange File Format and producing a report (HTML) afterwards, the images in the views do not show up (broken image icon on the HTML page).

For my specific case; the image referenced in the HTML page is the following: "../images/id-ded3e209.png". If I replace the dash ('-') by an underscore ('_'), the image shows

Kind regards,
Barry
Title: Re: [BUG] Report of model based Opengroup Model Exch to HTML - incorrect image names
Post by: Phil Beauvoir on January 27, 2016, 15:30:53 PM
The issue here is that a ''-" in a view's identifier is not working in the HTML report engine.

Paging Jean-Baptiste Sarrodie...
Title: Re: [BUG] Report of model based Opengroup Model Exch to HTML - incorrect image names
Post by: Phil Beauvoir on January 27, 2016, 16:24:59 PM
I pushed a fix into the git repo. We now maintain the View ID as the file name when saving the diagram.

This will be in the next maintenance release (don't know when that is)
Title: Re: [BUG] Report of model based Opengroup Model Exch to HTML - incorrect image names
Post by: barrel on January 28, 2016, 10:18:19 AM
Great, thanks for the prompt reply!   ;D
Title: Re: [BUG] Report of model based Opengroup Model Exch to HTML - incorrect image names
Post by: Jean-Baptiste Sarrodie on January 28, 2016, 19:30:15 PM
Hi,

Thank you Phil for the quick bug fix. As you have added in your comment in code, I hope that nobody will use weird id that are incompatible with filename.

Regards,

JB