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

NMRL-285 ReferenceException while creating Analysis Request: Invalid target UID #104

Merged
merged 4 commits into from
May 30, 2017

Conversation

rockfruit
Copy link
Contributor

Prevent ReferenceWidget from allowing invalid values.

These are usually present after the form is reloaded; the text
input retains it's value, but the uid attributes and hidden
fields have no value.

@rockfruit rockfruit force-pushed the bug/NMRL-285_invalid_target_uid branch from 834c670 to fe000d5 Compare May 29, 2017 11:21
@xispa xispa merged commit fc5af17 into wip May 30, 2017
@rockfruit rockfruit deleted the bug/NMRL-285_invalid_target_uid branch June 1, 2017 08:14
@xispa xispa changed the title NMRL-285_invalid_target_uid NMRL-285 ReferenceException while creating Analysis Request: Invalid target UID Oct 9, 2017
Ruhanga pushed a commit to Ruhanga/senaite.core that referenced this pull request Mar 14, 2022
…ssigned (senaite#104)

* Display Edit tab in doctor only if current user can edit

Doctors can only be edited by a client contact if the doctor has
the same client assigned.

* Do not allow to change client in Doctor if ARs or Batches

If the current logged in user is from lab personnel, load the
clients as usual, but only if the Doctor does not have any
Analysis Request or Batch assigned. Otherwise, don't allow to
change the Client.

If the user is a client and the Doctor has a client already
set, do not allow to change the primary client.

* Cleanup Doctor content
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants