Uploaded image for project: 'Repose'
  1. REP-6115

Attribute Mapping library needs to support multi-line inline attributes

    Details

    • Type: Bug
    • Status: Resolved (View workflow)
    • Priority: Very High
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 8.7.0.1
    • Component/s: None
    • Labels:
      None
    • Sprint:
      Sprint 153
    • Story Points:
      2
    • Capitalizable:
      True

      Description

      We need to bring in a new version of the Attribute Mapping library to fix an issue identified in version 2.0.0 of the library.

      Issue in Attribute Mapping library:
      YAML allows you to put things on multiple lines. In the local statement of the policy we can inline attributes with a pattern like this {At(attributeName)} or xpaths like this {{ {Pt{ Some XPATH } }}. The code detects those patterns using a regex. The regex is not set for multiline mode (which you set by passing a flag to the regex engine) so when you put an end of line somewhere in the middle there, it doesn’t detect the pattern. Simply passing multiline mode flags to the regex engine fixes the issue.

      Acceptance Criteria:

      • New version of Attribute Mapping library is released with the bug fix.
      • New version of the Attribute Mapping library is brought into Repose.

        Attachments

          Issue links

            Activity

              People

              • Assignee:
                damien.johnson Damien Johnson
                Reporter:
                mario.lopez Mario Lopez
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: