Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Configuration deploy erroneously restores outdated setting versions. #3381

Closed
svenoe opened this issue May 7, 2024 · 0 comments
Closed

Configuration deploy erroneously restores outdated setting versions. #3381

svenoe opened this issue May 7, 2024 · 0 comments
Assignees
Labels
bug Something isn't working as intended
Milestone

Comments

@svenoe
Copy link
Contributor

svenoe commented May 7, 2024

In some rare cases, the sysconfig is erroneously restoring legacy data. This can happen during package installation, but not during Maint::Config::Rebuild, which use slightly different deployment options. After traversing several methods, the problem to my understanding is, that in one case the modified settings which are to be deployed, are gathered via ModifiedSettingListGet (works) or ModifiedSettingVersionListGetLast (can result in errors). The problem here is, that ModifiedSettingVersionListGetLast can contain outdated default settings if the last modification was a reset to default, but the default was changed at some point in time after this reset.

As the SysConfig code is relatively convoluted we will first introduce this change in OTOBO11 and then cherry-pick to OTOBO10 after additional testing.

@svenoe svenoe added the bug Something isn't working as intended label May 7, 2024
@svenoe svenoe added this to the OTOBO 11.0.1 milestone May 7, 2024
@svenoe svenoe self-assigned this May 7, 2024
svenoe pushed a commit that referenced this issue May 7, 2024
…of default if they were a "ResetToDefault".
@svenoe svenoe modified the milestones: OTOBO 11.0.1, OTOBO 10.0.22 May 23, 2024
svenoe pushed a commit that referenced this issue Sep 30, 2024
…of default if they were a "ResetToDefault".
svenoe pushed a commit that referenced this issue Sep 30, 2024
@svenoe svenoe closed this as completed Sep 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working as intended
Projects
None yet
Development

No branches or pull requests

1 participant