Skip to content

Fix provider options reload#876

Merged
Dany9966 merged 2 commits intocloudbase:masterfrom
mihaelabalutoiu:fix-provider-options-reload
Mar 30, 2026
Merged

Fix provider options reload#876
Dany9966 merged 2 commits intocloudbase:masterfrom
mihaelabalutoiu:fix-provider-options-reload

Conversation

@mihaelabalutoiu
Copy link
Copy Markdown
Member

  • Fix LabelDictionary overwriting stale in-memory cached field labels
  • Add forceRefresh to schema and options cache to fix Reload Options button

`pushToCache` was skipping updates for already-seen field names, causing
the `UI` to display outdated titles even after a fresh schema fetch.
Update existing entries instead of skipping them.

Signed-off-by: Mihaela Balutoiu <mbalutoiu@cloudbasesolutions.com>
@mihaelabalutoiu mihaelabalutoiu force-pushed the fix-provider-options-reload branch 3 times, most recently from 6fca4e5 to 1c9e2f8 Compare March 25, 2026 21:04
@mihaelabalutoiu mihaelabalutoiu force-pushed the fix-provider-options-reload branch from 1c9e2f8 to cda3d3d Compare March 27, 2026 13:28
`Reload Options` button

`Schema` and `options values` were fetched fresh on reload but the
`localStorage` cache was never updated, so subsequent loads still
returned stale data.

Signed-off-by: Mihaela Balutoiu <mbalutoiu@cloudbasesolutions.com>
@mihaelabalutoiu mihaelabalutoiu force-pushed the fix-provider-options-reload branch from cda3d3d to 9fa179b Compare March 27, 2026 13:34
@Dany9966 Dany9966 merged commit aa36ed1 into cloudbase:master Mar 30, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants