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

QGIS Server: Exclude composers in OWS tab does not work #17250

Closed
qgib opened this issue Aug 19, 2013 · 9 comments
Closed

QGIS Server: Exclude composers in OWS tab does not work #17250

qgib opened this issue Aug 19, 2013 · 9 comments
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! High Priority Server Related to QGIS server
Milestone

Comments

@qgib
Copy link
Contributor

qgib commented Aug 19, 2013

Author Name: Andreas Neumann (@andreasneumann)
Original Redmine Issue: 8484
Affected QGIS version: master
Redmine category:qgis_server
Assignee: Marco Hugentobler


In the current QGIS server, if one uses a list of "Exclude composers" in the OWS tab, QGIS server lists only the excluded composers and not the composers the map author actually wants. So it acts as a white list and not as a black list.

Thank you for having a look at the problem!

@qgib
Copy link
Contributor Author

qgib commented Aug 20, 2013

Author Name: Marco Hugentobler (@mhugent)


  • assigned_to_id was configured as Marco Hugentobler

@qgib
Copy link
Contributor Author

qgib commented Sep 3, 2013

Author Name: René-Luc ReLuc (@rldhont)


Will this bug be closed before QGIS 2 branching ?

@qgib
Copy link
Contributor Author

qgib commented Sep 3, 2013

Author Name: René-Luc ReLuc (@rldhont)


Hi Marco,

I have threw a glance at the code and the list of excluded composers is stored in the element WMSComposerList.

To fix this bug, we have several solutions :

  1. Change the UI string and comments
  2. Change the element name

Which has your preference ?

@qgib
Copy link
Contributor Author

qgib commented Sep 3, 2013

Author Name: Marco Hugentobler (@mhugent)


Hi René-Luc

My preference is to change the element name and the behaviour (currently whitelist -> blacklist). I think it is more usefull to have a list of not-published compositions rather than explicitely publishing every composition.

@qgib
Copy link
Contributor Author

qgib commented Sep 3, 2013

Author Name: René-Luc ReLuc (@rldhont)


OK, can I propose a patch or directly update master ?

@qgib
Copy link
Contributor Author

qgib commented Sep 3, 2013

Author Name: Andreas Neumann (@andreasneumann)


Hi,

Yes - the blacklist behaviour was already in place before this bug appeared. Also, I think the blacklist is what administrators want. Easier to maintain. Most of the composers would be public except some selected internal ones.

Thanks for providing the patch.

Andreas

@qgib
Copy link
Contributor Author

qgib commented Sep 3, 2013

Author Name: Marco Hugentobler (@mhugent)


OK, can I propose a patch or directly update master ?

Could you make a pull request on github?

@qgib
Copy link
Contributor Author

qgib commented Sep 3, 2013

Author Name: René-Luc ReLuc (@rldhont)


Pull request made :
#867


  • done_ratio was changed from 0 to 100
  • pull_request_patch_supplied was changed from 0 to 1

@qgib
Copy link
Contributor Author

qgib commented Sep 4, 2013

Author Name: Marco Hugentobler (@mhugent)


Works nicely, pushed to master branch. Thanks, René-Luc!


  • status_id was changed from Open to Closed

@qgib qgib added Bug Either a bug report, or a bug fix. Let's hope for the latter! High Priority Server Related to QGIS server labels May 24, 2019
@qgib qgib added this to the Version 2.0.0 milestone May 24, 2019
@qgib qgib closed this as completed May 24, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! High Priority Server Related to QGIS server
Projects
None yet
Development

No branches or pull requests

1 participant