rero / reroils-record-editor-legacy

Simple editor based on angular-schema-form.
GNU General Public License v2.0
3 stars 7 forks source link

Item barcode uniqueness check doesn't work anymore #3

Closed iGormilhit closed 6 years ago

iGormilhit commented 6 years ago

On ils.test.rero.ch, v.0.1.0a11, the item barcode uniqueness check doesn't work any more. See: https://ils.test.rero.ch/documents/11 capture_085

pronguen commented 6 years ago

By adding an new item, we receive the message "Error: Cannot retrieve the record (item).". But the item is created. By deleting an item, we get the page "Internal server error". But the item is deleted.

iGormilhit commented 6 years ago

As @jma pointed, the test works when creating an item, but doesn't when editing it.

iGormilhit commented 6 years ago

This is fixed by https://github.com/rero/reroils-app/commit/4fa9c0b9a9d82dca89732d0588460722c97801d9 and https://github.com/rero/reroils-data/commit/454b312e9f7229946b9e00058357a9a64944602c