Skip to content

Development-only cartography tabs keep WMS wording on a WFS service #492

Closed

Description

@fjlopez

Describe the bug

Legend, styles, filters, and feature-information tabs on the cartography form use WMS layer wording. Production leaves the tabs off. Development turns them on.

PROD_FEATURE_FLAGS in feature-flag.config.ts has these enabled: false. DEV_FEATURE_FLAGS has them enabled: true.

  • LAYERS_CARTOGRAPHY_STYLES_TAB_FEATURE: entity.cartography.styles.useAllStyles is "Usar todos los estilos WMS del servicio (no solo los de la tabla)".
  • LAYERS_FILTERS_TAB_FEATURE: entity.cartography.filters.applyFilterToGetMap is "Aplicar filtros a las peticiones de mapas".
  • LAYERS_FEATURE_INFORMATION_TAB_FEATURE: entity.cartography.featureInformation.layerAll is "Utilizar todas las capas".
  • LAYERS_LEGEND_TAB_FEATURE: entity.cartography.legend.sitnaControlCapabilities mentions "gráficos de leyenda WMS".

The strings are in layers-form.component.html. They are shown for a WFS cartography as well as a WMS cartography.

To Reproduce

  1. Run the admin app with the development feature flags.
  2. Open a cartography whose service type is WFS.
  3. Open the styles, filters, feature-information, and legend tabs.

Expected behavior

On a WFS cartography those tabs say feature type, not WMS layer. WMS cartography keeps the current wording. Production builds keep the tabs hidden.

Screenshots

None

Desktop

Confirmed in feature-flag.config.ts, layers-form.component.html, and src/assets/i18n/es.json. Not tied to one OS or browser.

Smartphone

None

Additional context

Related context, not a fix for those issues: sitmun/sitmun-viewer-app#205 and #271.

Activity

  1. added
    bugSomething isn't working
    confirmedReproduced / accepted defect; exempt from stale bot
    on Oct 18, 2026
  2. added theissue type on Oct 18, 2026
  3. fjlopez commented on Oct 22, 2026

    @fjlopez
    ContributorAuthor

    Validation: DONE (evidence:confirmed). Evidence: cartographyCopyKey uses the .wfs strings for styles, filters, feature information, and legend when the linked service is WFS. Spec uses feature-type wording when the linked service is WFS. On dev as merge bb644e17 (#507).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingconfirmedReproduced / accepted defect; exempt from stale bot

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions