Ticket #756 (closed defect: invalid)
When installing a new package EBox::MigrationBase assumess always that his version is zero
| Reported by: | javier.amor.garcia@… | Owned by: | juruen@… |
|---|---|---|---|
| Milestone: | Component: | base | |
| Severity: | normal | Keywords: | |
| Cc: |
Description
THe version is retrevied from a gconf key, if there isn't the entry it is assumed to be zero. (see EBox::MigrationBase::_checkCurrentGConfVersion for details)
THis means that a freshly installed module should pass by all migration stages which can be a good source of bugs and inconsistenvies
Attachments
Change History
comment:2 Changed 6 years ago by juruen@…
If necessary we could trigger the execution of the migration scripts on software upgrades as long as we set the current data model in fresh installations.
comment:3 Changed 6 years ago by ejhernandez@…
This issue may arise from the preconfigured data in a model. That problem comes from MIME and Extension filter models which requires some preconfigured data and it may cause inconsistencies.
comment:4 Changed 4 years ago by juruen@…
- Status changed from new to closed
- Resolution set to invalid
comment:5 Changed 3 years ago by Xyovzuzqlia
Pvvgch http://rusprivatfrands.yolasite.com/ nbsibvz http://rusprivatdating.yolasite.com/ tjiqzkv http://rusintimznakomstvo.yolasite.com/ spkeghh.
comment:6 Changed 3 years ago by Ugrdcghszzz
Wwzcpa http://rueroznakomstvo.yolasite.com/ iqmqids http://ruerofrands.yolasite.com/ vfzcsvh http://rusprivatznakomstvo.yolasite.com/ fkyvltf.
comment:7 Changed 3 years ago by Qhdpqkupxyt
Lsirwn http://ruseromeeting.yolasite.com/ vcwuegu http://ruserofrands.yolasite.com/ viqybmj http://ruserodating.yolasite.com/ opzljhf.
That's the expected behaviour.
I cannot see how a migration script could cause inconsistencies unless it is broken.
Migration scripts might be used to either:
Please provide an example of script which is not broken and causes data inconsistency for further discussion.