RRZE-Webteam / FAU-Studium

Studiengangsdatenbank der FAU als Plugin
GNU General Public License v2.0
0 stars 0 forks source link

Add initial Campo keys value to degree programs #133

Closed zhyian closed 5 months ago

zhyian commented 5 months ago

Please check if the PR fulfills these requirements

What kind of change does this PR introduce? (Bug fix, feature, docs update, ...) Bug fix

What is the current behavior? (You can also link to an open issue here) We are currently having issues with cached degree program data. The post meta values fau_cache_degree_program_raw and fau_cache_degree_program_translated don't include campo_keys value. I think, the proper solution is to create a new migration that initializes this data. Consuming websites must invalidate their degree program caches to sync with the updated campo_keys values, otherwise, errors will occur.

What is the new behavior (if this is a feature change)? Added new migration to initialize campo_keys value for degree programs.

Does this PR introduce a breaking change? (What changes might users need to make in their application due to this PR?) No

Other information: