-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
[LegendUrl] Make legend url part of server properties #60863
base: master
Are you sure you want to change the base?
Conversation
🪟 Windows Qt6 buildsDownload Windows Qt6 builds of this PR for testing. 🪟 Windows buildsDownload Windows builds of this PR for testing. |
unrelated test failure |
src/core/qgsmaplayer.cpp
Outdated
|
||
void QgsMapLayer::setLegendUrl( const QString &legendUrl ) | ||
{ | ||
QGIS_PROTECT_QOBJECT_THREAD_ACCESS_NON_FATAL |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we upgrade this to the FATAL error? Or does that break existing tests?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done. Let's see if it breaks anything
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Besides the grass issue, there is a Hana test failing but I don't think it's related at all to this
Legend Url and legend Url format should be part of server properties. There are edited whitin QGIS Server tab parameters and are only used in WMS GetCapabilities.
I'm planning to refactor then those settings editing to remove duplicate code.
Funded by Ifremer