Skip to content

fetching the list of formats is disabled for a no-vendor WMS service #10480#10594

Merged
offtherailz merged 5 commits intogeosolutions-it:masterfrom
rowheat02:fix/enableformatlistsfornovendor
Oct 4, 2024
Merged

fetching the list of formats is disabled for a no-vendor WMS service #10480#10594
offtherailz merged 5 commits intogeosolutions-it:masterfrom
rowheat02:fix/enableformatlistsfornovendor

Conversation

@rowheat02
Copy link
Copy Markdown
Contributor

Description

fixes #10480
In case of Server type No Vendor the refresh and format buttons are enabled in Advanced Settings. Disabled only for CSW.

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:

#10480

What is the current behavior?

#10480

What is the new behavior?

For services other than CSW, refresh button and buttons on the format section are enabled while the Server Type is No Vendor.

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

@rowheat02 rowheat02 changed the title Fix/enableformatlistsfornovendor fetching the list of formats is disabled for a no-vendor WMS service #10480 Oct 4, 2024
@rowheat02 rowheat02 self-assigned this Oct 4, 2024
@rowheat02 rowheat02 requested a review from offtherailz October 4, 2024 07:31
Copy link
Copy Markdown
Member

@offtherailz offtherailz left a comment

Choose a reason for hiding this comment

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

I added a unit test (please always, in this case was relatively easy for button)
and improved readability and maintainability by putting in common a variable
. Please @rowheat02 look at it.
I approve the PR.

@offtherailz offtherailz enabled auto-merge (squash) October 4, 2024 09:17
@offtherailz
Copy link
Copy Markdown
Member

@ElenaGallo, could you please test this on DEV ? Thank you

@offtherailz offtherailz added the BackportNeeded Commits provided for an issue need to be backported to the milestone's stable branch label Oct 4, 2024
@offtherailz offtherailz added this to the 2024.02.01 milestone Oct 4, 2024
@offtherailz offtherailz merged commit 9e23fc0 into geosolutions-it:master Oct 4, 2024
@ElenaGallo
Copy link
Copy Markdown
Contributor

Test passed, @rowheat02 please backport to 2024.02.xx. Thanks

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.

fetching the list of formats is disabled for a no-vendor WMS service

4 participants