Uploaded image for project: 'ERM Platform'
  1. ERM Platform
  2. ERM-1887

Select an agreement results in Error

    XMLWordPrintable

Details

    • ERM Sprint 124
    • Bienenvolk
    • R3 2021

    Description

      Error: Error: Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: object. You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports. Check the render method of `Agreement`.
      Checkthe render method of `Agreement`.
      at createFiberFromTypeAndProps (http://localhost:3000/bundle.js:454992:21)
      at createFiberFromElement (http://localhost:3000/bundle.js:455020:15)
      at createChild (http://localhost:3000/bundle.js:443385:28)
      at reconcileChildrenArray (http://localhost:3000/bundle.js:443658:25)
      at reconcileChildFibers (http://localhost:3000/bundle.js:444064:14)
      at reconcileChildren (http://localhost:3000/bundle.js:446929:28)
      at updateHostComponent (http://localhost:3000/bundle.js:447571:3)
      at beginWork (http://localhost:3000/bundle.js:449019:14)
      at HTMLUnknownElement.callCallback (http://localhost:3000/bundle.js:433884:14)
      at Object.invokeGuardedCallbackDev (http://localhost:3000/bundle.js:433933:16)
      

      Steps to reproduce.

      git clone git@github.com:folio-org/platform-erm.git
      cd platform-erm
      rm yarn.lock
      yarn install
      yarn start --okapi https://thor-okapi.ci.folio.org --tenant diku
      

      In this case @folio/agreements 8.0.1000772 is used. Tried various git commit points for ui-agreements after Stripes v7 upgrade, but that doesn't seem to make a difference.

      TestRail: Results

        Attachments

          Issue Links

            Activity

              People

                ostephens Owen Stephens
                adam Adam Dickmeiss (Inactive)
                Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  TestRail: Runs

                    TestRail: Cases