Uploaded image for project: 'Okapi'
  1. Okapi
  2. OKAPI-1154

Upgrade to mod-di-converter-storage fails with "topological" error.

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • TBD
    • Resolution: Done
    • None
    • 5.0.0
    • None
    • CP: sprint 157
    • 2
    • Core: Platform
    • TBD

    Description

      The problem is seen when upgrading from a system using mod-data-import-converter-storage to a system using mod-di-converter-storage.

       

      To reproduce:

      cd platform-completeT=testlib
      OKAPI_URL=http://localhost:9130
      U=${1:-http://folio-registry.aws.indexdata.com:80}
      curl -d"\{\"id\":\"$T\"}" $OKAPI_URL/_/proxy/tenants
      curl -d"\{\"urls\" : [ \"$U\" ]}" $OKAPI_URL/_/proxy/pull/modules
      git checkout 80fa18177ea48d7154fc2b99af375235315d0be9
      curl -d@install.json "$OKAPI_URL/_/proxy/tenants/$T/install?invoke=false"
      git checkout 65ce89156d62a27b4fdfaa75a4d59134bdc2fbe5
      curl -d@install.json "$OKAPI_URL/_/proxy/tenants/$T/install?invoke=false"
      

      which results in:

      Error 400:
      Some modules cannot be topological sorted: mod-data-import-converter-storage-1.16.0-SNAPSHOT.228
      

      Expected behavior: no error:

      The problem does not occur when just upgrading the modules without the rest of the system of platform-complete..

      T=testlib
      OKAPI_URL=http://localhost:9130
      U=${1:-http://folio-registry.aws.indexdata.com:80}
      curl -d"{\"id\":\"$T\"}" $OKAPI_URL/_/proxy/tenants
      curl -d"{\"urls\" : [ \"$U\" ]}" $OKAPI_URL/_/proxy/pull/modules
      curl -d'[{"id":"mod-data-import-converter-storage-1.16.0-SNAPSHOT.228","action":"enable"}]' "$OKAPI_URL/_/proxy/tenants/$T/install?invoke=false"
      curl -d'[{"id":"mod-di-converter-storage-1.16.0-SNAPSHOT.3","action":"enable"}]' "$OKAPI_URL/_/proxy/tenants/$T/install?invoke=false"
      

      TestRail: Results

        Attachments

          Activity

            People

              adam Adam Dickmeiss (Inactive)
              adam Adam Dickmeiss (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                TestRail: Runs

                  TestRail: Cases