View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0007889 | OXID eShop (all versions) | 4.01. Database handling | public | 2026-01-30 16:58 | 2026-01-30 16:58 |
| Reporter | mario_lorenz | Assigned To | |||
| Priority | normal | Severity | major | Reproducibility | always |
| Status | new | Resolution | open | ||
| Product Version | 7.4.0 | ||||
| Summary | 0007889: The OXID migration script does not run through to the modules on a fresh OXID system. | ||||
| Description | The OXID migration script is hard-coded and processes three areas: shop migrations, project migrations, and module migrations. The migration files are located here: Shop: source/migration/data/ Project: source/migration/project_data/ Module: moduleRoot/migration/data/ Since the project directory (source/migration/project_data/) is empty, the `migrations` command performs the shop migrations. The following error occurs with the project migrations: [ERROR] The version "latest" couldn't be reached, there are no registered migrations. The script then terminates and ignores the module migrations. This can be remedied by creating dummy migrations using the `migration:generate` command. Afterward, all three areas are processed. | ||||
| Steps To Reproduce | Fresh install OXID On the console: `vendor/bin/oe-eshop-doctrine_migration migrate` -> ERROR `vendor/bin/oe-eshop-doctrine_migration migrations:generate` `vendor/bin/oe-eshop-doctrine_migration migrate` -> NO MORE ERROR | ||||
| Additional Information | Solution: The wrapper script: vendor/bin/oe-eshop-doctrine_migration checks whether version*.php files are present in the folders; only then are the migrations performed. It's possible that the problem has existed since OXID 7.0, because the project_data directory has been empty at least since then. Or the Symfony libraries haven't thrown an exception yet if there were no migration files. | ||||
| Tags | No tags attached. | ||||
| Theme | Not defined | ||||
| Browser | Not defined | ||||
| PHP Version | 8.3 | ||||
| Database Version | Not defined | ||||