• FEATURES
  • PRICING
  • MARKETPLACE
  • CASE STUDIES
  • BLOG
  • OpenSpecimen Forums

    Plugin not working after upgrade to v10.3.1

    I am trying to upgrade to OpenSpecimen v10.3.1 as I believe that this is the most recent version of the Community Edition that works. Everything works fine, except for our plugin - the le plugin.

    The plugin displays a different participant registration page for certain collection protocols. Usage of the plugin for collection protocols by adding a record to the os_cp_workflows table with and ID of the collection protocol ID and a WORKFLOWS value of:

    [{"name":"registerParticipant","view":"plugin-ui-resources/le/collect-specimens.html","ctrl":"leRegAndCollectSpecimensCtrl","data":{"boxOpts":{"dimension":{"rows":8,"columns":12},"compact":false}}}]
    

    Now, instead of showing the custom patient registration view, it now only shows a blank screen, but some information is available by looking at the browser development tools.

    The application successfully loads the def.json file for the plugin that returns this:

    {
      "styles": [
        "le/styles/app.a3adebe0.css"
      ],
    
      "scripts": [
        "le/scripts/scripts.09283725.js"
      ]
    }
    

    But when it tries to load these files, both give 404 errors.

    I’ve checked the build and both files are being created in the webapp/dist/scripts and webapp/dist/styles directories.

    I’ve also checked our live version that runs v10.0.RC3. It successfully loads the same files from the same URLs.

    Can you please advise what might have changed that has caused this problem, or point me in the direction of how I can debug this further?

    Thanks