Uploaded image for project: 'Elements Copy & Sync'
  1. Elements Copy & Sync
  2. CS-1542

Removing a field used in a Field Mapping causes problems in operations.

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 2.26.1
    • Fix Version/s: 2.27.0
    • Labels:
    • Functional components:
      Field Mapping
      Local JIRA Operation

      Description

      How to reproduce

      • Create a dummy customfield
      • From Copy&Sync Administration page, create a field mapping as follows:
        • Select the "Advanced" Mapping mode
        • In the Velocity section, add anything. It doesn't matter.
        • In the Target dropdown list, select the previously created customfield.
      • Then, create a C&S operation and select the field mapping you have created.
      • Once the operation is created, remove the previously created customfield.
      • Go back to the field mapping and check that the removed customfield no longer appears. If it still appears, then refresh your browser's cache.
      • Go back to the C&S operation.
      • Click on the Activation tab or the Target tab.

      Current result
      It's not possible to access the Activation or Target tabs of this operation. An error appears in the browser console. This problem is shown in the following video: Main error.webm

      In addition, creating new operations no longer works, as shown in the following video: Unable to create a new operation.webm

      Expected result
      Removing a field used in a field mapping should not cause any problem when configuring a C&S operation.

      Workaround
      This bug occurs because a field mapping contains fields that no longer exist. To solve the problem, you need to edit the field mapping and delete references to these fields.

      To do this, you have to perform the following actions:

      • From the Administration tab of Copy&Sync, export the Backup file containing the Copy&Sync configuration.
      • Edit this file
      • In this file, delete all references to fields that no longer exist
      • Save your changes
      • Import this file

      Here is a video to show you how to do it: Workaround.webm

        Attachments

        1. Error.png
          Error.png
          38 kB
        2. Main error.webm
          2.45 MB
        3. Unable to create a new operation.webm
          2.45 MB
        4. Workaround.webm
          19.13 MB

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              simon.laffont@elements-apps.com Simon Laffont
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: