Skip to content
Snippets Groups Projects
Forked from ICS Control System Infrastructure / csentry
Source project has a limited visibility.
Benjamin Bertrand's avatar
Benjamin Bertrand authored
It shouldn't be possible to change the ICS id of an item.
But when registering a bunch of existing items via the API, we need to
allocate an ics_id otherwise not much can be done in the interface.
The id is required for the view and edit page.

The solution is to define some "temporary" ids that don't correspond to
any pre-printed labels.
Items with a temporary id can be assigned a real ics_id when assigning a
label.

Reserved ids start with 'ZZ' (from ZZA000 to ZZZ999)

ICS id can now be non nullable.
fd3109c4
History
Name Last commit Last update