Details
-
Type:
New Feature
-
Status: Closed
-
Priority:
Should
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: OpenMRS 1.5.0
-
Component/s: None
-
Labels:None
-
Complexity:Low
Description
There is a global property named "concepts.locked" which, if true, will cause a ConceptsLockedException to be thrown upon calling ConceptService.saveConcept
\\\\
Currently, this is caught upon form submission when creating and editing concepts, and a generic error message is displayed, which reads "Cannot save concept". This is not an adequate User Interface experience.
\\\\
Suggestions:
- Only show "Add" or "Edit" concept links if "concepts.locked" != true. For example:
- /dictionary/index.htm
- /dictionary/concept.htm?conceptId=xxx
- If a ConceptsLockedException is thrown in ConceptFormController, catch this exception and display a more appropriate error message to the user explaining why the operation was unsuccessful.
Gliffy Diagrams
Attachments
Issue Links
- relates to
-
TRUNK-4030 locking mechanism for forms
-
- Closed
-
-
TRUNK-4031 locking mechanism for patient_identifier_type
-
- Closed
-
-
TRUNK-4032 locking mechanism for person_attribute_type
-
- Closed
-
-
TRUNK-4033 locking mechanism for encounter_type
-
- Closed
-
-
TRUNK-4026 Locking OpenMRS API level not to show various content items (form id, patient identifier type, encounter type)
-
- Closed
-