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

Changes in productGroups for CUSTOM productGroupType are ignored #360

Open
mvpett opened this issue Aug 3, 2023 · 0 comments
Open

Changes in productGroups for CUSTOM productGroupType are ignored #360

mvpett opened this issue Aug 3, 2023 · 0 comments
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@mvpett
Copy link

mvpett commented Aug 3, 2023

We encountered a situation where after adding a new item in customDataGroupItems we did not notice any changes in the environment.
This was not the first run on a clean environment. It was subsequent launch.
The expected behaviour was to find a new customDataGroupItem by bootstrap-task and update the database entry.

Situation looked like this.

  1. legal-entities.json file contains similar entry. Product group and customDataGroupItem defined below are present in the database.
"productGroups":[
                      {
                         "name":"PRODUCT GROUP NAME",
                         "description":"DESCRIPTION",
                         "productGroupType":"CUSTOM",
                         "customDataGroupItems":[
                            {
                               "internalId":"some-id"
                            }
                         ]
                      }
]
  1. Changes were made to legal-entities.json file - new customDataGroupItem was added.
"productGroups":[
                      {
                         "name":"PRODUCT GROUP NAME",
                         "description":"DESCRIPTION",
                         "productGroupType":"CUSTOM",
                         "customDataGroupItems":[
                            {
                               "internalId":"some-id"
                            },
                            {
                               "internalId":"some-other-id"
                            }
                         ]
                      }
]
  1. Environment synced with new configuration - we can see contents of new legal-entities.json file in configMap.
  2. After bootstrap-task job is done customDataGroupItem with internalId="some-other-id" is absent in the database.

We expect that it should be present.

@uesleilima uesleilima added bug Something isn't working help wanted Extra attention is needed labels Apr 10, 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 help wanted Extra attention is needed
Development

No branches or pull requests

2 participants