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

After AR invalidation, ARs list throws an error

    Details

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

      Description

      After AR invalidation (tested with a published AR), an error is thrown in ARs list:

      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.analysisrequests, line 734, in __call__
        Module bika.lims.browser.bika_listing, line 560, in __call__
        Module Products.Five.browser.pagetemplatefile, line 125, in __call__
        Module Products.Five.browser.pagetemplatefile, line 59, in __call__
        Module zope.pagetemplate.pagetemplate, line 132, in pt_render
         - Warning: Macro expansion failed
         - Warning: <type 'exceptions.KeyError'>: 'Remarks'
        Module zope.pagetemplate.pagetemplate, line 240, in __call__
        Module zope.tal.talinterpreter, line 271, in __call__
        Module zope.tal.talinterpreter, line 343, in interpret
        Module zope.tal.talinterpreter, line 888, in do_useMacro
        Module zope.tal.talinterpreter, line 343, in interpret
        Module zope.tal.talinterpreter, line 533, in do_optTag_tal
        Module zope.tal.talinterpreter, line 518, in do_optTag
        Module zope.tal.talinterpreter, line 513, in no_tag
        Module zope.tal.talinterpreter, line 343, in interpret
        Module zope.tal.talinterpreter, line 954, in do_defineSlot
        Module zope.tal.talinterpreter, line 343, in interpret
        Module zope.tal.talinterpreter, line 533, in do_optTag_tal
        Module zope.tal.talinterpreter, line 518, in do_optTag
        Module zope.tal.talinterpreter, line 513, in no_tag
        Module zope.tal.talinterpreter, line 343, in interpret
        Module zope.tal.talinterpreter, line 858, in do_defineMacro
        Module zope.tal.talinterpreter, line 343, in interpret
        Module zope.tal.talinterpreter, line 954, in do_defineSlot
        Module zope.tal.talinterpreter, line 343, in interpret
        Module zope.tal.talinterpreter, line 533, in do_optTag_tal
        Module zope.tal.talinterpreter, line 518, in do_optTag
        Module zope.tal.talinterpreter, line 513, in no_tag
        Module zope.tal.talinterpreter, line 343, in interpret
        Module zope.tal.talinterpreter, line 954, in do_defineSlot
        Module zope.tal.talinterpreter, line 343, in interpret
        Module zope.tal.talinterpreter, line 533, in do_optTag_tal
        Module zope.tal.talinterpreter, line 518, in do_optTag
        Module zope.tal.talinterpreter, line 513, in no_tag
        Module zope.tal.talinterpreter, line 343, in interpret
        Module zope.tal.talinterpreter, line 946, in do_defineSlot
        Module zope.tal.talinterpreter, line 343, in interpret
        Module zope.tal.talinterpreter, line 533, in do_optTag_tal
        Module zope.tal.talinterpreter, line 518, in do_optTag
        Module zope.tal.talinterpreter, line 513, in no_tag
        Module zope.tal.talinterpreter, line 343, in interpret
        Module zope.tal.talinterpreter, line 742, in do_insertStructure_tal
        Module Products.PageTemplates.Expressions, line 218, in evaluateStructure
        Module zope.tales.tales, line 696, in evaluate
         - URL: /home/jordi/dev/traceanalytics/bikalims/zinstance/src/bika.lims/bika/lims/browser/templates/bika_listing.pt
         - Line 47, Column 1
         - Expression: <PathExpr standard:u'view/contents_table'>
         - Names:
            {'args': (),
             'container': <AnalysisRequestsFolder at /Plone/analysisrequests>,
             'context': <AnalysisRequestsFolder at /Plone/analysisrequests>,
             'default': <object object at 0x7fcb61355b60>,
             'here': <AnalysisRequestsFolder at /Plone/analysisrequests>,
             'loop': {},
             'nothing': None,
             'options': {},
             'repeat': <Products.PageTemplates.Expressions.SafeMapping object at 0xdbbb940>,
             'request': <HTTPRequest, URL=http://localhost:9090/Plone/analysisrequests/base_view>,
             'root': <Application at >,
             'template': <Products.Five.browser.pagetemplatefile.ViewPageTemplateFile object at 0xa101050>,
             'traverse_subpath': [],
             'user': <PropertiedUser 'admin'>,
             'view': <Products.Five.metaclass.AnalysisRequestsView object at 0xdcfabd0>,
             'views': <Products.Five.browser.pagetemplatefile.ViewMapper object at 0x10de6050>}
        Module zope.tales.expressions, line 217, in __call__
        Module Products.PageTemplates.Expressions, line 155, in _eval
        Module Products.PageTemplates.Expressions, line 117, in render
        Module bika.lims.browser.bika_listing, line 787, in contents_table
        Module Products.Five.browser.pagetemplatefile, line 125, in __call__
        Module Products.Five.browser.pagetemplatefile, line 59, in __call__
        Module zope.pagetemplate.pagetemplate, line 132, in pt_render
        Module zope.pagetemplate.pagetemplate, line 240, in __call__
        Module zope.tal.talinterpreter, line 271, in __call__
        Module zope.tal.talinterpreter, line 343, in interpret
        Module zope.tal.talinterpreter, line 533, in do_optTag_tal
        Module zope.tal.talinterpreter, line 522, in do_optTag
        Module zope.tal.talinterpreter, line 343, in interpret
        Module zope.tal.talinterpreter, line 533, in do_optTag_tal
        Module zope.tal.talinterpreter, line 522, in do_optTag
        Module zope.tal.talinterpreter, line 343, in interpret
        Module zope.tal.talinterpreter, line 852, in do_condition
        Module zope.tal.talinterpreter, line 343, in interpret
        Module zope.tal.talinterpreter, line 852, in do_condition
        Module zope.tal.talinterpreter, line 343, in interpret
        Module zope.tal.talinterpreter, line 852, in do_condition
        Module zope.tal.talinterpreter, line 343, in interpret
        Module zope.tal.talinterpreter, line 583, in do_setLocal_tal
        Module zope.tales.tales, line 696, in evaluate
         - URL: /home/jordi/dev/traceanalytics/bikalims/zinstance/src/bika.lims/bika/lims/browser/templates/bika_listing_table.pt
         - Line 649, Column 12
         - Expression: <PathExpr standard:u'view/bika_listing/get_workflow_actions'>
         - Names:
            {'args': (<Products.Five.metaclass.AnalysisRequestsView object at 0xdcfabd0>,),
             'container': <AnalysisRequestsFolder at /Plone/analysisrequests>,
             'context': <AnalysisRequestsFolder at /Plone/analysisrequests>,
             'default': <object object at 0x7fcb61355b60>,
             'here': <AnalysisRequestsFolder at /Plone/analysisrequests>,
             'loop': {},
             'nothing': None,
             'options': {},
             'repeat': <Products.PageTemplates.Expressions.SafeMapping object at 0xdbbbd60>,
             'request': <HTTPRequest, URL=http://localhost:9090/Plone/analysisrequests/base_view>,
             'root': <Application at >,
             'template': <Products.Five.browser.pagetemplatefile.ViewPageTemplateFile object at 0xa101090>,
             'traverse_subpath': [],
             'user': <PropertiedUser 'admin'>,
             'view': <bika.lims.browser.bika_listing.BikaListingTable object at 0xed4fc90>,
             'views': <Products.Five.browser.pagetemplatefile.ViewMapper object at 0x105f69d0>}
        Module zope.tales.expressions, line 217, in __call__
        Module Products.PageTemplates.Expressions, line 155, in _eval
        Module Products.PageTemplates.Expressions, line 117, in render
        Module bika.lims.browser.bika_listing, line 815, in get_workflow_actions
        Module Products.CMFPlone.WorkflowTool, line 95, in getTransitionsFor
        Module Products.DCWorkflow.DCWorkflow, line 398, in _checkTransitionGuard
        Module Products.DCWorkflow.Guard, line 89, in check
        Module Products.CMFCore.Expression, line 47, in __call__
        Module Products.PageTemplates.ZRPythonExpr, line 48, in __call__
         - __traceback_info__: here.guard_verify_transition()
        Module PythonExpr, line 1, in <expression>
        Module Products.CMFCore.FSPythonScript, line 127, in __call__
        Module Shared.DC.Scripts.Bindings, line 322, in __call__
        Module Shared.DC.Scripts.Bindings, line 359, in _bindAndExec
        Module Products.PythonScripts.PythonScript, line 344, in _exec
        Module script, line 2, in guard_verify_transition
         - <FSPythonScript at /Plone/guard_verify_transition used for /Plone/clients/client15-15/EXT15-0018-R02>
         - Line 2
      ImportError: cannot import name Verify
      
      

        Issue Links

          Activity

          Hide
          xispa Jordi (Inactive) added a comment -

          An old one... already fixed

          Show
          xispa Jordi (Inactive) added a comment - An old one... already fixed

            People

            • Assignee:
              Unassigned
              Reporter:
              xispa Jordi (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: