Skip to content

Server: landing page resource are not packaged correctly (tested in nightly debian packages) #55462

@elpaso

Description

@elpaso

What is the bug or the crash?

Landing page resources are expected to be under

<prefix>/ogc/static/landingpage/

Where prefix is defined by server setting QGIS_SERVER_LANDING_PAGE_PROJECTS_DIRECTORIES which defaults to server setting QGIS_SERVER_API_RESOURCES_DIRECTORY which defaults to QgsApplication::pkgDataPath() ).absoluteFilePath( QStringLiteral( "resources/server/api" )

The last part of the path /ogc/static/landingpage/ is hardcoded.

After installing package qgis-server-landingpage 1:3.35.0+git20231126+ffb31addd7f+36jammy there is no /ogc/static/landingpage/ folder under /usr/share/qgis/resources/server/api/

Note that: to build the webapp along with QGIS server just turn the cmake flag WITH_SERVER_LANDINGPAGE_WEBAPP

Steps to reproduce the issue

install nightly server package

Versions

master

Supported QGIS version

  • I'm running a supported QGIS version according to the roadmap.

New profile

Additional context

No response

Metadata

Metadata

Assignees

Labels

BugEither a bug report, or a bug fix. Let's hope for the latter!PackagingRegressionSomething which used to work, but doesn't anymoreServerRelated to QGIS server

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions