Uploaded image for project: 'LIMS'
  1. LIMS
  2. LIMS-1425

Copy-to-new workflow changes have broken the functionality to verify/retract individual results

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 3.1.4
    • Fix Version/s: 3.1.5
    • Component/s: None
    • Labels:
      None

      Description

      When I try to verify / retract individual results then I get:

      Traceback (innermost last):
      Module ZPublisher.Publish, line 138, in publish
      Module ZPublisher.mapply, line 77, in mapply
      Module ZPublisher.Publish, line 48, in call_object
      Module bika.lims.browser.analysisrequest.workflow, line 50, in _call_
      Module bika.lims.browser.analysisrequest.workflow, line 383, in workflow_action_verify
      Module bika.lims.browser.bika_listing, line 168, in _call_
      Module bika.lims.browser.analysisrequest.workflow, line 383, in workflow_action_verify
      ..........................
      that repeats many many times finishing with
      ...........................
      RuntimeError: maximum recursion depth exceeded while calling a Python object

      It seems to relate to the latest changes made for the copy-to-new functionality causing bika_listing and analysisrequest.workflow to keep on calling each other.

        Activity

        Same issue still on verifying individual control sample tests on a worksheet.

        Error from server:

        We’re sorry, but there seems to be an error…

        Here is the full error message:

        Display traceback as text

        Traceback (innermost last):

        Module ZPublisher.Publish, line 138, in publish
        Module ZPublisher.mapply, line 77, in mapply
        Module ZPublisher.Publish, line 48, in call_object
        Module bika.lims.browser.worksheet, line 112, in _call_
        Module bika.lims.browser.bika_listing, line 166, in _call_

        Exception: Shouldn't Happen: <Products.Five.metaclass.WorksheetWorkflowAction object at 0x7f83e1216690>.workflow_action_verify not callable.

        Show
        pietercvdm Pieter van der Merwe (De Bortoli Wines) (Inactive) added a comment - Same issue still on verifying individual control sample tests on a worksheet. Error from server: We’re sorry, but there seems to be an error… Here is the full error message: Display traceback as text Traceback (innermost last): Module ZPublisher.Publish, line 138, in publish Module ZPublisher.mapply, line 77, in mapply Module ZPublisher.Publish, line 48, in call_object Module bika.lims.browser.worksheet, line 112, in _ call _ Module bika.lims.browser.bika_listing, line 166, in _ call _ Exception: Shouldn't Happen: <Products.Five.metaclass.WorksheetWorkflowAction object at 0x7f83e1216690>.workflow_action_verify not callable.

        Can't retract on worksheet and AR.

        – Worksheet Error --:
        We’re sorry, but there seems to be an error…

        Here is the full error message:

        Display traceback as text

        Traceback (innermost last):

        Module ZPublisher.Publish, line 138, in publish
        Module ZPublisher.mapply, line 77, in mapply
        Module ZPublisher.Publish, line 48, in call_object
        Module bika.lims.browser.worksheet, line 116, in _call_
        Module bika.lims.browser.bika_listing, line 166, in _call_

        Exception: Shouldn't Happen: <Products.Five.metaclass.WorksheetWorkflowAction object at 0x7fc99e633d10>.workflow_action_retract not callable.

        – AR Error --:

        We’re sorry, but there seems to be an error…

        Here is the full error message:

        Display traceback as text

        Traceback (innermost last):

        Module ZPublisher.Publish, line 138, in publish
        Module ZPublisher.mapply, line 77, in mapply
        Module ZPublisher.Publish, line 48, in call_object
        Module bika.lims.browser.analysisrequest.workflow, line 52, in _call_
        Module bika.lims.browser.bika_listing, line 166, in _call_

        Exception: Shouldn't Happen: <Products.Five.metaclass.AnalysisRequestWorkflowAction object at 0x7fc99f17b510>.workflow_action_retract not callable.

        Show
        pietercvdm Pieter van der Merwe (De Bortoli Wines) (Inactive) added a comment - Can't retract on worksheet and AR. – Worksheet Error --: We’re sorry, but there seems to be an error… Here is the full error message: Display traceback as text Traceback (innermost last): Module ZPublisher.Publish, line 138, in publish Module ZPublisher.mapply, line 77, in mapply Module ZPublisher.Publish, line 48, in call_object Module bika.lims.browser.worksheet, line 116, in _ call _ Module bika.lims.browser.bika_listing, line 166, in _ call _ Exception: Shouldn't Happen: <Products.Five.metaclass.WorksheetWorkflowAction object at 0x7fc99e633d10>.workflow_action_retract not callable. – AR Error --: We’re sorry, but there seems to be an error… Here is the full error message: Display traceback as text Traceback (innermost last): Module ZPublisher.Publish, line 138, in publish Module ZPublisher.mapply, line 77, in mapply Module ZPublisher.Publish, line 48, in call_object Module bika.lims.browser.analysisrequest.workflow, line 52, in _ call _ Module bika.lims.browser.bika_listing, line 166, in _ call _ Exception: Shouldn't Happen: <Products.Five.metaclass.AnalysisRequestWorkflowAction object at 0x7fc99f17b510>.workflow_action_retract not callable.
        Hide
        pietercvdm Pieter van der Merwe (De Bortoli Wines) (Inactive) added a comment - - edited

        The above error is for individual tests, not the entire Worksheet / AR.

        Show
        pietercvdm Pieter van der Merwe (De Bortoli Wines) (Inactive) added a comment - - edited The above error is for individual tests, not the entire Worksheet / AR.
        Hide
        lemoene lemoene added a comment -

        testing re-open

        Show
        lemoene lemoene added a comment - testing re-open

          People

          • Assignee:
            rockfruit Campbell
            Reporter:
            pietercvdm Pieter van der Merwe (De Bortoli Wines) (Inactive)
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Time Tracking

              Estimated:
              Original Estimate - 0 minutes
              0m
              Remaining:
              Remaining Estimate - 0 minutes
              0m
              Logged:
              Time Spent - 20 minutes
              20m