•  
      request #10157 Project export does not add natures nodes and use-natures attribute
    Infos
    #10157
    Joris MASSON (jmasson)
    2017-05-26 14:36
    2017-04-19 10:38
    10431
    Details
    Project export does not add natures nodes and use-natures attribute
    Given a project using Artifact link types (aka. natures), a custom artifact link type "written_in" and a tracker with artifacts that have "written_in" artifact links
    When I export the project using "export_project_xml.php"
    Then the resulting XML file will miss the following information:
    - missing use-natures="true" attribute on the tracker
    - missing tree
    <natures>
    <nature>written_in</nature>
    </natures>

    When I try to import the attached archive on a platform where "written_in" type is not defined (you can simulate this by changing the shortname in DB), then I will not be stopped by the importer and I will have fatal errors when importing changesets (see attached logs)
    Import | Export
    All
    Empty
    • [ ] enhancement
    • [ ] internal improvement
    Empty
    Stage
    Empty
    Closed
    2017-05-26
    Attachments
    Project export showing the problem
    Logs when trying to import attached archive
    References
    References list is empty

    Follow-ups

    User avatar
    Please add --all option to export trackers with nature

    • Status changed from New to Closed
    • Close date set to 2017-05-26