Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when adding a blank reference sample to a worksheet #1671

Closed
ramonski opened this issue Nov 2, 2020 · 0 comments
Closed

Error when adding a blank reference sample to a worksheet #1671

ramonski opened this issue Nov 2, 2020 · 0 comments
Assignees
Labels

Comments

@ramonski
Copy link
Contributor

ramonski commented Nov 2, 2020

Description

Error happens when adding a blank reference sample to a worksheet

Reproduction guide

  1. Create a worksheet
  2. Add a blank reference sample

Observed behaviour

Traceback occurs when trying to add a blank to a worksheet.

Expected behaviour

Adding a blank works for worksheets.

Versions

  • OS: Linux

  • senaite.core: 2.x

  • senaite.impress: 2.x

  • senaite.core.listing: 2.x

  • senaite.core.supermodel: 2.x

Traceback

2020-11-02T20:11:35 ERROR Zope.SiteErrorLog 1604344295.170.324558837311 https://senaite.ridingbytes.com/worksheets/WS-001/add_blank
Traceback (innermost last):
  Module ZServer.ZPublisher.Publish, line 144, in publish
  Module ZPublisher.mapply, line 85, in mapply
  Module ZServer.ZPublisher.Publish, line 44, in call_object
  Module bika.lims.browser.worksheet.views.referencesamples, line 112, in __call__
  Module bika.lims.browser.worksheet.views.referencesamples, line 134, in handle_submit
AttributeError: 'NoneType' object has no attribute 'get'```

## Screenshot
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

1 participant