Deploy OpenBoxes (Grails 3 branch) to obdev4.pih-emr.org
Build: #44 was successful Changes by Dariusz Rodzewicz <DRodzewicz@gmail.com>
Code commits
OpenBoxes (Grails 3)
-
Dariusz Rodzewicz <DRodzewicz@gmail.com> 330c20b1c115c3a6b1bb11bbd92c3989c0e2badb
OBGM-608 Handle errors while generating product identifier during create, update and import (#4211)
* OBGM-608 Handle errors while generating product identifier during create, update and import
- rethrow excpetion on generateproductIdentifier
- eagerly fetch all neccessary properties for product
* OBGM-608 Handle exception while generating product identifier by generic error handler
* OBGM-608 Handle generating identifier when productType is invalid
* OBGM-608 Update generate Product identifier algorithm for productTypes with invalid sequential formats
* OBGM-608 Shortening of the if statement in generating sequential product identifier
---------
Co-authored-by: Alan Nadolny <alannadolnyy@gmail.com>- grails-app/controllers/org/pih/warehouse/product/ProductController.groovy (version 330c20b1c115c3a6b1bb11bbd92c3989c0e2badb) (diffs)
- grails-app/domain/org/pih/warehouse/product/ProductType.groovy (version 330c20b1c115c3a6b1bb11bbd92c3989c0e2badb) (diffs)
- grails-app/services/org/pih/warehouse/core/IdentifierService.groovy (version 330c20b1c115c3a6b1bb11bbd92c3989c0e2badb) (diffs)
- grails-app/taglib/org/pih/warehouse/InventoryTagLib.groovy (version 330c20b1c115c3a6b1bb11bbd92c3989c0e2badb) (diffs)
- grails-app/views/product/_summary.gsp (version 330c20b1c115c3a6b1bb11bbd92c3989c0e2badb) (diffs)
- grails-app/views/product/_summaryDialog.gsp (version 330c20b1c115c3a6b1bb11bbd92c3989c0e2badb) (diffs)