Uploaded image for project: 'JOC - JS7 Operations Center'
  1. JOC - JS7 Operations Center
  2. JOC-2197

SFTP Fragment results in invalid XML due to incorrect order of child elements

    XMLWordPrintable

Details

    • Fix
    • Status: Released (View Workflow)
    • Minor
    • Resolution: Fixed
    • 2.8.0
    • 2.8.3
    • None
    • None

    Description

      Current Behavior:

      When an SFTP fragment is created, adding PreferredAuthentications or RequiredAuthentications results in these elements being inserted before the Account element in the generated XML.
      This causes a schema validation error:

      • 'PreferredAuthentications', line=1, column=461, cvc-complex-type.2.4.a: Invalid content was found starting with element 'PreferredAuthentications'. One of ' {Account}
        ' is expected.

      Because of this error, the configuration becomes invalid and cannot be deployed unless the XML is manually corrected.

      Desired Behavior:
      The YADE GUI should generate SFTP fragment XML elements in the correct schema-defined order, ensuring that PreferredAuthentications and RequiredAuthentications are added after the Account element.

      Workaround:
      The issue can be addressed by manually editing the XML and placing the Account element before the PreferredAuthentications or RequiredAuthentications element.

      Attachments

        Activity

          People

            ZTNEERAJ303 Neeraj Patidar
            rajrani-upadhyay Rajrani Upadhyay
            Rajrani Upadhyay Rajrani Upadhyay
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: