Uploaded image for project: 'OpenAM'
  1. OpenAM
  2. OPENAM-2953

After upgrade export-svc-cfg + import-svc-cfg stops working

    XMLWordPrintable

    Details

    • Rank:
      1|hzmfgn:
    • Sprint:
      Sprint 35, Sprint 37, Sprint 40, Sprint 41, Sprint 42, Sprint 44, Sprint 48, Sprint 49, Sprint 57

      Description

      When an upgrade is performed and new service attributes are added, it looks like OpenAM doesn't actually make sure that the new attributes are added correctly to the service XML (correct == valid per sms.dtd). The nasty part of this bug is that export-svc-cfg doesn't complain about the invalid XML, however import-svc-cfg blows up when such an incorrect export is provided.

      In an example bad export you could for example see something like:

      </SubSchema><AttributeSchema>
      

      i.e an AttributeSchema defined after SubSchema, which is not valid per the DTD, AttributeSchema should always be before SubSchema definition.

        Attachments

          Activity

            People

            Assignee:
            peter.major Peter Major [X] (Inactive)
            Reporter:
            peter.major Peter Major [X] (Inactive)
            QA Assignee:
            Nemanja Lukic Nemanja Lukic
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: