Content
View differences
Updated by Klaus Zanders almost 2 years ago
### Steps to reproduce
1. Have a version of OpenProject where migration `20230731153909_add_file_link_journals_to_existing_containers.rb` has not been executed (Alternatively, roll back the migration individually using `rails db:migrate:down VERSION=20230731153909`) **and** have file storage containers set up
2. Run `db:migrate`
3. See an error that `Jounal::CausedBySystemUpdate` is not defined
### What is the buggy behavior?
* Migration is not executed
### What is the expected behavior?
* Migration runs as expected
### Other Info
Bug happens when running OpenProject < 12.5.8 and directly updating to a version >= 14.0
Reported by [https://github.com/IchbinkeinReh](https://github.com/IchbinkeinReh) in https://github.com/opf/openproject/commit/349d43500aaa7186fc25bbf65a1df599f50bae27#commitcomment-142533205
1. Have a version of OpenProject where migration `20230731153909_add_file_link_journals_to_existing_containers.rb` has not been executed (Alternatively, roll back the migration individually using `rails db:migrate:down VERSION=20230731153909`) **and** have file storage containers set up
2. Run `db:migrate`
3. See an error that `Jounal::CausedBySystemUpdate` is not defined
### What is the buggy behavior?
* Migration is not executed
### What is the expected behavior?
* Migration runs as expected
### Other Info
Bug happens when running OpenProject < 12.5.8 and directly updating to a version >= 14.0
Reported by [https://github.com/IchbinkeinReh](https://github.com/IchbinkeinReh) in https://github.com/opf/openproject/commit/349d43500aaa7186fc25bbf65a1df599f50bae27#commitcomment-142533205