Skip to content

Input mapping dropdown for tree node does not include task-defined parameters #396

@mvinent

Description

@mvinent

Describe the bug
When configuring a tree node that is linked to a query task (Tarea de consulta), the input mapping section (Mapeo de entrada) should allow the user to map the task's own parameters — such as request (GetFeature) and srsname (EPSG:25831) — as source values in the request dropdown. However, these task-defined parameters do not appear in the dropdown. Only generic application variables are listed (e.g. X, Y, Fecha desde, Fecha hasta), making it impossible to correctly configure the node mapping.
This functionality worked correctly in previous versions of SITMUN.

To Reproduce
Steps to reproduce the behavior:

  1. Open the SITMUN 3 admin application.
  2. Navigate to Árboles and select an application (e.g. IDEMenorca - App turística).
  3. Go to the Estructura del árbol tab and select or create a tree node linked to a query task of type WFS (e.g. WFS Playas Menorca - Tarea de consulta).
  4. Navigate to Configuración de campos → Mapeo de entrada.
  5. Open the request dropdown.
  6. Observe that the dropdown only shows generic app variables (X, Y, Fecha desde, Fecha hasta, etc.).
  7. Note that the parameters defined in the linked query task — specifically request (value: GetFeature) and srsname (value: EPSG:25831), both of type Query parameter and marked as required — are not listed as available options.

Expected behavior
The request dropdown in the input mapping section should include the parameters defined in the linked query task (as configured under Tarea de consulta → Parámetros), so that the user can correctly map task-specific values such as GetFeature for request and EPSG:25831 for srsname. This behaviour was present in previous versions of SITMUN.

Screenshots
Image

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingin reviewThe change is pending to be validated by SITMUN TC

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions