Comments (13)
Hi @erikking,
Can you share your ID Server configuration?
Thanks
from senaite.core.
Thanks for you response @ramonski ,
I used same ID server config for different version.
And for version 2.4.0 +, the ID server values referencesample-ECS always = 1 after add reference sample in worksheet.
from senaite.core.
Your split length must be 2, then it should work.
from senaite.core.
Ah, apologies, I was looking at the generated ID ECS-001-001
with the two dashes.
We will try to reproduce this issue according to your description to see what is going on there.
Thanks.
from senaite.core.
Thanks a lot for your quick response. My ultimate goal is to import lab result file for worksheet with reference sample. For version 2.3.0, I can use reference sample ID ECS-001-007
with lab value for worksheet WS-020
in imported csv file for the example above, then importing works well and the reference sample lab value will show in worksheet page, but when I upgrade to 2.4.0+, I cannot find a way to import reference sample lab value.
from senaite.core.
Hi @ramonski
I did further investigation in source code about the the issue, I found ReferenceAnalysesGroupID do not change when add new reference control in worksheet. And a potential cause may be related ReferenceAnalysesGroupID generation function nextRefAnalysesGroupID
in worksheet.
Could you help to check with that?
from senaite.core.
Hi @ramonski
I thought I figured it out, there may two cause
- in line 435
ids = [int(i.split(prefix)[1]) for i in ids if i and rr.match(i)]
the ids always return emtpy - in line 415
ref_analysis.reindexObject(idxs=["getWorksheetUID", "getAnalyst"])
need add getReferenceAnalysesGroupID to build the index becausenextRefAnalysesGroupID
function call the index to get distinct count of reference analyses group
Hope it helps.
from senaite.core.
And also the ReferenceAnalysesGroupID is same for duplication as well in worksheet
from senaite.core.
Thanks @erikking for pointing out the code!
We will check this as soon as possible to find which fix is needed to make this work properly.
Best regards, Ramon
from senaite.core.
Fixed in #2388
from senaite.core.
Very nice to hear it got fixed. 👍
from senaite.core.
Please @erikking close this issue after you double check. Thanks
from senaite.core.
Sure, sorry for the late close.
from senaite.core.
Related Issues (20)
- Sample auto receive feature sets "Received" despite who creates the sample HOT 9
- No save button for sample information dependent on Manage Sample Form Fields
- failed to create an analysisspec with ResultsRange field by jsonapi
- Calculating datetime differences in Senaite (Bika) calculations appears to be problematic HOT 8
- Spotlight search malfunction after upgrade HOT 2
- Interims field cannot be imported appropriately via two dimension csv
- Usability improvements for setup page HOT 2
- Reference definitions are not able to handle minus values HOT 1
- Lab's account number with a Supplier
- Add Sample Fields, Search By Remarks
- Remarks field on Report with TinyMCE HOT 3
- Error Customizing plone.links.favicon View for ISenaiteCore Interface HOT 8
- app.listing search_box encoding issue (CoffeeScript) HOT 6
- Expand app.listing items selection options [improvement] HOT 3
- Worksheet print templates sorting feature HOT 1
- Worksheet table QC SlotHeader displays Keyword instead of QC Title
- Migrating to Python3 HOT 5
- Retract/Retest action kills HIDDEN mark of the analysis while recreates
- Main Sample State and Progress Not Updating After Publishing Partition Tests
- Indicated as late when Turnaround Time is zero
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.