Cayenne
  1. Cayenne
  2. CAY-1581

Not-Escaping <> during serialization to *.map.xml

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 3.0.1
    • Fix Version/s: 3.1M3, 3.0.3
    • Component/s: Core Library
    • Labels:
      None

      Description

      Object entity -> attributes tab -> type column
      E.g. when using custom types (extended types) you specify custom class name in the type column. Sometimes it needs to be parametrized type, e.g. Validator<Integer>. During save the modeler fails to escape <> and thus the serialized *.map.xml becomes invalid (and subsequently can't be read by modeler). When escaped as < and > , modeler loads the project successfully.

        Activity

        Marek Šabo created issue -
        Marek Šabo made changes -
        Field Original Value New Value
        Summary Not-Escaping <> during serialization to cayenne.xml Not-Escaping <> during serialization to *.map.xml
        Description Object entity -> attributes tab -> type column
        E.g. when using custom types (extended types) you specify custom class name in the type column. Sometimes it needs to be parametrized type, e.g. Validator<Integer>. During save the modeler fails to escape <> and thus the serialized cayenne.xml becomes invalid (and subsequently can't be read by modeler). When escaped as &lt; and &gt; , modeler loads the project successfully.
        Object entity -> attributes tab -> type column
        E.g. when using custom types (extended types) you specify custom class name in the type column. Sometimes it needs to be parametrized type, e.g. Validator<Integer>. During save the modeler fails to escape <> and thus the serialized *.map.xml becomes invalid (and subsequently can't be read by modeler). When escaped as &lt; and &gt; , modeler loads the project successfully.
        Dzmitry Kazimirchyk made changes -
        Assignee Dzmitry Kazimirchyk [ demitri ]
        Marek Šabo made changes -
        Component/s Core Library [ 12312714 ]
        Component/s Modeler [ 12312713 ]
        Dzmitry Kazimirchyk made changes -
        Status Open [ 1 ] Closed [ 6 ]
        Fix Version/s 3.0.3 [ 12317040 ]
        Fix Version/s 3.1M3 [ 12316228 ]
        Resolution Fixed [ 1 ]

          People

          • Assignee:
            Dzmitry Kazimirchyk
            Reporter:
            Marek Šabo
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development