Created on 10 December 2024, 3 months ago

Problem/Motivation

  • In the sandbox environment, the module displays available views (e.g., for /taxonomy/term/%, it allows selecting "View Taxonomy term: Has taxonomy term"). However:
    • When selecting a taxonomy term from the dropdown list and navigating to it, a blank page appears.
    • The problematic URL looks like /taxonomy/term/2?tid=2, but it does not render any content.
    • Meanwhile, the URL /taxonomy/term/2 works correctly and displays the term's content.
  • Attempts to modify the settings for /taxonomy/term/% (e.g., "Provide default value" or "Display all results for the specified field") do not resolve the issue.

Steps to reproduce

  1. Install the module in the sandbox environment and enable a view for /taxonomy/term/%.
  2. Configure the view with taxonomy term filtering.
  3. Select a taxonomy term from the dropdown list.
  4. Navigate to the generated URL, e.g., /taxonomy/term/2?tid=2.
  5. Observe that the page is blank in the sandbox environment, even though /taxonomy/term/2 displays the content correctly.
  6. Deploy the same configuration to the production environment.
  7. Visit the page /admin/config/user-interface/filter_harmonizer and confirm that the module does not display available views for configuration.

Proposed resolution

  • Investigate and ensure compatibility of the module with the Drupal core version in the production environment.
  • Fix the issue with the generated URL containing an additional ?tid=2 parameter so that /taxonomy/term/2?tid=2 renders the same content as /taxonomy/term/2.
  • Update the module to ensure it displays available views for configuration in the production environment.
  • Provide documentation on supported configurations and potential limitations related to additional URL parameters.

Remaining tasks

  • Investigate why the module behaves differently in the sandbox and production environments.
  • Fix URL generation and handling of the tid parameter.
  • Test the updated module in both sandbox and production environments.
  • Update the module documentation (if needed).

User interface changes

  • No user interface changes are expected. The focus is on rendering content and URL behavior.

API changes

  • No API changes are expected.

Data model changes

  • No changes to the data model are expected.

production environment:

  • The module works correctly in the sandbox environment, but the same version of the module and Drupal core does not work in the production environment.
  • On the production environment, visiting the page /admin/config/user-interface/filter_harmonizer does not display available views for harmonization.
  • 🐛 Bug report
    Status

    Active

    Version

    1.0

    Component

    Code

    Created by

    Live updates comments and jobs are added and updated live.
    Sign in to follow issues

    Comments & Activities

    Production build 0.71.5 2024