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

#8695 Move Identify plugin into main bundle #8708

Merged

Conversation

alex-fko
Copy link
Contributor

Description

Identify is one of the plugins which configuration can be defined by object passed in localConfig in initialState.defaultState.mapInfo. Reducers of module plugins are registered once plugin should be rendered on the page for the first time. At the same time, Redux denies to use state values added prior to the reducer registration, which makes this approach of configuration definition not possible when plugin is a module.
This PR adds Identify back to the main bundle to fix the regression

Please check if the PR fulfills these requirements

What kind of change does this PR introduce? (check one with "x", remove the others)

  • Bugfix
  • Feature
  • Code style update (formatting, local variables)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • CI related changes
  • Other... Please describe:

Issue

What is the current behavior?
#8695

What is the new behavior?
Plugin is static, therefore configuration applied this way works as expected.

Breaking change

Does this PR introduce a breaking change? (check one with "x", remove the other)

  • Yes, and I documented them in migration notes
  • No

Other useful information

@allyoucanmap allyoucanmap merged commit 24f4ec7 into geosolutions-it:master Oct 18, 2022
@allyoucanmap
Copy link
Contributor

@ElenaGallo please test on dev and let us know when we can backport on 2022.02.xx

@ElenaGallo
Copy link
Contributor

Test passed on DEV, @alex-fko please backport to 2022.02.xx

@ElenaGallo ElenaGallo added the BackportNeeded Commits provided for an issue need to be backported to the milestone's stable branch label Oct 18, 2022
alex-fko added a commit to alex-fko/MapStore2 that referenced this pull request Oct 18, 2022
@tdipisa tdipisa removed the BackportNeeded Commits provided for an issue need to be backported to the milestone's stable branch label Oct 18, 2022
alex-fko added a commit to alex-fko/MapStore2 that referenced this pull request Oct 18, 2022
tdipisa pushed a commit that referenced this pull request Oct 18, 2022
… Fix issues for OpenID Login due to modularization; Add measure reducer into appReducers list (#8711)

* #8695 Move Identify plugin into main bundle (#8708)

(cherry picked from commit 24f4ec7)

* Added measure reducer into appReducers list

* #8487: Fix issues for OpenID Login due to modularization (#8490)

(cherry picked from commit 698aeeb)

Co-authored-by: Lorenzo Natali <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants