Projects:Datasets For Default Data/Technical Specifications
Current Datasets take ownership of the data they deliver. This means after a dataset adds data any subsequent modification in the instance of this data will be later overwritten when a new version of this dataset is installed.
In some cases, such as to deliver default configurations, it would be required the dataset to install the data but to preserve local modifications when updating.
The way to achieve this is by creating a new type of dataset (Default Values Dataset).
Datasets of this new type will insert new rows but they won't never update existent ones, allowing in this way to deliver a set of default data that will later be maintained by the instance rather than by the dataset itself.
It is desired for new version of this type of datasets to add new records to extend the defaults defined in previous versions
- If records provided by these datasets are removed, they will be restored on next update. The way to "delete" these records is by setting them as inactive but preserving them.
- As existent records are maintened by the instance, any modification of existent rows in a new version of the dataset will not be applied.