Uploaded image for project: 'Red Hat Decision Manager'
  1. Red Hat Decision Manager
  2. RHDM-1260

OptaWeb Employee Rostering shows error pop-ups after deploy to OpenShift

    Details

    • Type: Bug
    • Status: Verified (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 7.7.0.GA
    • Fix Version/s: 7.8.0.GA
    • Component/s: OptaPlanner
    • Labels:
      None
    • Environment:

      OpenShift 4.3.0

    • Affects Build:
      CR1
    • Target Release:
    • Fix Build:
      CR1
    • Steps to Reproduce:
      Hide

      1. create an empty project in OpenShift
      2. build optaweb-employee-rostering
      3. runOnOpenShift.sh
      4. hit the application URL in browser once it becomes available

      Show
      1. create an empty project in OpenShift 2. build optaweb-employee-rostering 3. runOnOpenShift.sh 4. hit the application URL in browser once it becomes available
    • Sprint:
      2020 Week 22-24 (from May 25)

      Description

      Error pop-up shows when a user visits employee rostering right after it was deployed to OpenShift via runOnOpenShift.sh script. Probably an issue with application not being fully initialized yet. After closing the pop-ups or refreshing page, everything works correctly.

      The error stacktrace available in UI shows:
      "javax.persistence.EntityNotFoundException: No RosterState entity found with tenantId (0)".

      See the attached screenshots. Logs of frontend and backend pods do not show any error message.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                cchianel Christopher Chianelli
                Reporter:
                rsynek Radovan Synek
                Tester:
                Radovan Synek
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: