Uploaded image for project: 'GateIn Portal'
  1. GateIn Portal
  2. GTNPORTAL-3209

Redirect Admin UI: Node Mapping empty ORIGIN NODE causes exception and deletes existing

    Details

    • Steps to Reproduce:
      Hide

      1. Edit/Create new redirect
      2. Add mapping from "AAA" to "BBB"
      3. Save Changes
      4. Edit the same redirect (confirm "AAA" - "BBB" is present)
      5. Add mapping from "" to "CCC"
      6. Save Changes (exception in console)
      7. Edit Redirect and observe that there are no mappings defined

      Show
      1. Edit/Create new redirect 2. Add mapping from "AAA" to "BBB" 3. Save Changes 4. Edit the same redirect (confirm "AAA" - "BBB" is present) 5. Add mapping from "" to "CCC" 6. Save Changes (exception in console) 7. Edit Redirect and observe that there are no mappings defined

      Description

      When adding a node mapping, if the origin node is left empty (including leaving a fully empty row) and redirect is saved will cause an exception and delete existing mappings.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                alexandrem Alexandre Mendonça
                Reporter:
                alexandrem Alexandre Mendonça
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: