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

#10766: Remove error notified by GeoFence when moving a rule for geofence stand-alone version only #10767

Merged
merged 1 commit into from
Jan 21, 2025

Conversation

mahmoudadel54
Copy link
Contributor

Description

This PR fixed the shown error for user in rule manager page that happens while trying to edit priority. Handling this was by moving the RULE_SAVED action to be after move rule in case full update and throw error only if addRule is failed

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?
#10766

What is the new behavior?
The edit priority can be edited successfully without showing any error notification messages.

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

This issue is just for the geofence stand-alone version only

…a rule for geofence stand-alone version only

Description:
- fixing the shown error by moving the RULE_SAVED action to be after move rule in case full update and throw error only if addRule is failed
Copy link
Contributor

@MV88 MV88 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good to me.

@tdipisa I noticed there is a different issue that was present before.
basically there is a request that is failing as described here

what do we want to do there?

@tdipisa
Copy link
Member

tdipisa commented Jan 21, 2025

looks good to me.

@tdipisa I noticed there is a different issue that was present before. basically there is a request that is failing as described here

what do we want to do there?

nothing for now as part of this PR @MV88.

@tdipisa tdipisa merged commit e2c5528 into geosolutions-it:master Jan 21, 2025
6 checks passed
@tdipisa tdipisa added the BackportNeeded Commits provided for an issue need to be backported to the milestone's stable branch label Jan 21, 2025
@tdipisa
Copy link
Member

tdipisa commented Jan 21, 2025

@ElenaGallo please test in DEV and let us know if we can backport.

@MV88
Copy link
Contributor

MV88 commented Jan 21, 2025

@tdipisa it cannot be tested in our dev, this specific issue happens with a dedicated instance of geofence

@tdipisa
Copy link
Member

tdipisa commented Jan 22, 2025

@tdipisa it cannot be tested in our dev, this specific issue happens with a dedicated instance of geofence

@MV88 I'm sorry, why? We have the rule manager in DEV. Anyway, if it is not possible to reproduce it now in QA at the moment (where the GF role manager is also present) we can manage to test in a dedicated test environment we have for this @ElenaGallo.

mahmoudadel54 added a commit to mahmoudadel54/MapStore2 that referenced this pull request Jan 22, 2025
…a rule for geofence stand-alone version only (geosolutions-it#10767)

Description:
- fixing the shown error by moving the RULE_SAVED action to be after move rule in case full update and throw error only if addRule is failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
BackportNeeded Commits provided for an issue need to be backported to the milestone's stable branch bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Remove error notified by GeoFence when moving a rule for geofence stand-alone version only
3 participants