Skip to content

Commit 9f9db31

Browse files
authored
Merge pull request #401 from xispa/pr-2321
PR2321 AR Add Copy of multiple ARs from different clients raises a Traceback in the background
2 parents 214f9d0 + 3212234 commit 9f9db31

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CHANGES.rst

+1
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ Changelog
1515

1616
**Fixed**
1717

18+
- #401 PR-2321 AR Add Copy of multiple ARs from different clients raises a Traceback in the background
1819
- #397 Fix Issue-396: AttributeError: uid_catalog on AR publication
1920

2021

bika/lims/browser/analysisrequest/add2.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1084,7 +1084,7 @@ def get_sampletype_info(self, obj):
10841084

10851085
# client
10861086
client = self.get_client()
1087-
client_uid = api.get_uid(client) if client else ""
1087+
client_uid = client and api.get_uid(client) or ""
10881088

10891089
# sample matrix
10901090
sample_matrix = obj.getSampleMatrix()

0 commit comments

Comments
 (0)