[QGIS-Developer] issues in QGIS Server 2,18

Giovanni Manghi giovanni.manghi at gmail.com
Fri Mar 9 05:03:13 PST 2018


Hi all,

>> It will be great to have the possibility to allow nullptr in the map
>> combobox.
>> Nyall, do you have an idea how to enhance QgsComposerItemComboBox
>> introdiuced by
>> https://github.com/qgis/QGIS/commit/1b4bd47076103e931e642c9c2b6a363f14b20a45
>> ?
>> Issue already exists: https://issues.qgis.org/issues/16899
>
> I wouldn't do it this way -- it was the hidden nature of the original
> support for setting no linked map which led to it being broken (also,
> no unit tests -- the combination of a non-obvious reuse of an existing
> widget + no unit tests is basically asking for something to break).
>
> I'd suggest instead adding an explicit checkbox here for "always show
> all layers for server requests" (but better wording!), under a new
> "server settings" group.

seems reasonable to me, and if I can ask... would it be backportable
to 2.18? This change has broken a few web published projects and the
workaround is ugly (manually change the .qgs files or add in the
layout a legend as a png/jpg image).

thanks!

-- g --


More information about the QGIS-Developer mailing list