Menu

Creating new file don't save profiles added by Approach

Michal
2015-06-09
2015-06-15
  • Michal

    Michal - 2015-06-09

    Hi Janusz

    Today I find small issue with profiles.
    Shortly: New UML files based on Approach with importing profiles don't save with profiles having autoinclude=false in definition.

    I have one local, userdefined Approach with importing some profiles:

    <IMPORTPROFILES>
        <PROFILE>UMLStandard</PROFILE>
        <PROFILE>CSharp</PROFILE>
        <PROFILE>ERD</PROFILE>
    </IMPORTPROFILES>
    

    When create new file based on this Approach profiles are added, diagrams (e.g. ERD) can be properly created.
    But when save to file, the uml file not contain profiles with autoinclude=false (e.g. ERD) in section <XPD:PROFILES>

    Reopen this file, to see in ProfileManager, that some profiles are missing.

    Profiles added manualy with ProfileManager are saved corectly.

    If you can look at this, maybe it is simple to correct?
    Michał

     
  • Janusz Szpilewski

    I managed to reproduce that. I also saw it with StarUML. Definitely there is a problem with handling IMPORTPROFILES. Most likely loading file takes some shortcuts without calling add profile on the Profile Manager. I think it will not be hard to fix.

     
  • Janusz Szpilewski

    Fixed in 5.6.5. A shortcut in loading profile as expected.

     
  • Michal

    Michal - 2015-06-14

    Thank you, Janusz, it is OK
    I hope that I'm your favorite tester ;)

     
  • Janusz Szpilewski

    Indeed, the help is appreciated :)

     

Anonymous
Anonymous

Add attachments
Cancel





Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.