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

Error while creating a new invoice batch

    Details

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

      Description

      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.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/pau/dev/Espurna/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': <InvoiceBatch at /Plone/invoices/invoicebatch.2015-02-24.6136665265>,
      'context': <InvoiceBatch at /Plone/invoices/invoicebatch.2015-02-24.6136665265>,
      'default': <object object at 0x7f226f0d4b60>,
      'here': <InvoiceBatch at /Plone/invoices/invoicebatch.2015-02-24.6136665265>,
      'loop': {},
      'nothing': None,
      'options': {},
      'repeat': <Products.PageTemplates.Expressions.SafeMapping object at 0x1373a260>,
      'request': <HTTPRequest, URL=http://localhost:8090/Plone/invoices/invoicebatch.2015-02-24.6136665265/base_view>,
      'root': <Application at >,
      'template': <Products.Five.browser.pagetemplatefile.ViewPageTemplateFile object at 0x96a7c10>,
      'traverse_subpath': [],
      'user': <PropertiedUser 'admin'>,
      'view': <Products.Five.metaclass.InvoiceBatchInvoicesView object at 0x10f2e190>,
      'views': <Products.Five.browser.pagetemplatefile.ViewMapper object at 0x103d7dd0>}

      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 786, in contents_table
      Module bika.lims.browser.bika_listing, line 875, in _init_
      Module bika.lims.browser.invoicebatch, line 69, in folderitems

      KeyError: 'obj'

        Activity

        Show
        Espurna Pau Soliva (Inactive) added a comment - https://github.com/bikalabs/Bika-LIMS/pull/1451

          People

          • Assignee:
            Espurna Pau Soliva (Inactive)
            Reporter:
            Espurna Pau Soliva (Inactive)
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: