Bug #5721

Diagram export escaping fixes and code consolidation

Added by Tuukka Lehtonen over 2 years ago. Updated about 2 years ago.

Status:ClosedStart date:2015-03-16
Priority:4Due date:2015-03-16
Assignee:Tuukka Lehtonen% Done:

100%

Category:ExportSpent time:7.00 hours
Target version:1.18.1
Release notes:Fixed diagram export name escaping to be complete with all different name segments properly escaped. *Note:* This makes the diagram export format incompatible with previous versions.
Tags: diagram, export, import
Story points-
Velocity based estimate-
ReleaseSimantics 1.18.1Release relationshipAuto

Description

Diagram export code has a severe problem of not dealing properly with folder and diagram names that need escaping.

The diagram export TG root naming format needs to be changed:
  • composite:escapedPathName1/...#escapedDiagramName
  • child:escapedPathName1/...#escapedDiagramName#escapedChildName
Previously the root naming format was just:
  • composite:unescapedFolderPathName/...#unescapedDiagramName
  • child:unescapedDiagramName:unescapedChildName

Associated revisions

Revision 31085
Added by Tuukka Lehtonen over 2 years ago

Fixes for diagram export Root name escaping.

Root naming now follows this convention:
  • composite:escapedPathName1/...#escapedDiagramName
  • child:escapedPathName1/...#escapedDiagramName#escapedChildName

Related string constants have been consolidated into ModelingUtils.

refs #5721

Revision 31086
Added by Tuukka Lehtonen over 2 years ago

Merged r31085 from branches/simantics-1.15 to trunk for 1.18.1.

refs #5721

History

#1 Updated by Tuukka Lehtonen over 2 years ago

  • Subject changed from Diagram export code fixes and consolidation to Diagram export escaping fixes and code consolidation

#2 Updated by Tuukka Lehtonen over 2 years ago

  • Status changed from In Progress to Resolved
  • % Done changed from 0 to 100

#3 Updated by Tuukka Lehtonen over 2 years ago

  • Status changed from Resolved to Closed

#4 Updated by Tuukka Lehtonen about 2 years ago

  • Release notes set to Fixed diagram export name escaping to be complete with all different name segments properly escaped. *Note:* This makes the diagram export format incompatible with previous versions.

Also available in: Atom PDF