Uploaded image for project: 'mod-copycat'
  1. mod-copycat
  2. MODCPCT-10

Record import - embedded 999ff$i is ignored



    • Bug
    • Status: Closed (View Workflow)
    • TBD
    • Resolution: Done
    • None
    • None
    • None
    • CP: sprint 106
    • 2
    • Mjolnir


      Multiple imports with same value for internalIdentifier always results in a record being created.

      Expected result: record to be replaced/updated for same value.

      The copycat profile has internalEmbedPath = 999ff$i

      Reproduce with the attached script.

      Before the script can be executed mod-copycat must be running for some tenant. Requires curl and jq tools.

      Adjust H (host for system) and possibly others.

      First import:

      modcpct-10.sh import

      You might have to wait a bit for the system to propagate events.. it could take 1 second , it could take an hour..

      To query the record that we expected to import, use

      modcpct-10.sh query

      This returns 404. Expected result : 1 record. The one we just inserted or updated.

      The imported record has "anger" in the title.. TO query all records with anger, use:

      modcpct-10.sh anger

      If import is repeated again.. The number of "anger" records increase. Expected result: number of anger records to only increase by 1 (first time).

      This all seems to indicate a problem that our 999ff$i item is just not used for matching.

      TestRail: Results


          1. marc1a.json
            2 kB
          2. modcpct-10.sh
            1 kB
          3. okapi.log
            1017 kB
          4. test-10.sh
            2 kB

          Issue Links



                adam Adam Dickmeiss (Inactive)
                adam Adam Dickmeiss (Inactive)
                0 Vote for this issue
                5 Start watching this issue



                  TestRail: Runs

                    TestRail: Cases