Comments (1)
@ramonski , I followed those functions and found out that it also happens during creation of ARs. Actually it would happen with all deprecated set
methods of any field. Because set
functions are called with some kwargs
here on setDefaults :
https://github.com/senaite/bika.lims/blob/senaite-integration/bika/lims/monkey/Schema.py#L72
Then since set
function is deprecated , before calling that manually added function, we leave some warnings and then call that method with all args
and kwargs
. See:
https://github.com/senaite/bika.lims/blob/senaite-integration/bika/lims/__init__.py#L205
At that point, since our overridden set
method doesn't expect any parameter but new value, it leaves that error for us.
I think the easiest way to solve that would be, adding kwargs
to set
methods if they are deprecated, although they are not used inside the method.
from senaite.core.
Related Issues (20)
- Fields should not be editable on Reference Definition view page HOT 1
- DL/UDL cut-off and exponential float conversion
- Bug: Instruments and Calculation contain duplicates if they belong to multiple methods
- Bug: sort key of analysis services is ignored in worksheet HOT 1
- Typo in v02_03_000 upgrade script HOT 1
- KeyError help on the Sample view after receiving a Sample HOT 2
- UnknownTimeZoneError after upgrade to 2.3 HOT 6
- APIError after upgrading to 2.3.0 HOT 1
- run-with-docker-error
- Analysis profiles not recognised on AR template creation
- Instrument Supplier does not load
- Issue with wildcards in calculations.
- UIDReferenceDataConverter fails if receive List as an argument HOT 2
- Issue with tarball import HOT 2
- Print function
- All QC Sample ID are same cross worksheet for version 2.4.0+ HOT 13
- The same sample is published twice, can one of them be deleted?
- Default method "none" for analysis services
- Senaite Bar code generation with clientId HOT 2
- Right to Left language support
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from senaite.core.