Get URL parameter not working if in form like edit[field_animal][widget][0][target_id]=87

Created on 6 June 2024, 8 months ago

Problem/Motivation

If you use a context filter to get an url parameter, and the parameter is e.g. in the form

edit[field_animal][widget][0][target_id]=87

Like is used by the module entity prepopulate from url, the filter doesn't work
This would be very useful for entity_reference fields using a view.

πŸ› Bug report
Status

Active

Version

10.4 ✨

Component
ViewsΒ  β†’

Last updated about 4 hours ago

Created by

πŸ‡΅πŸ‡ΉPortugal Miguel Andrade

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

Comments & Activities

  • Issue created by @Miguel Andrade
  • Status changed to Postponed: needs info 8 months ago
  • In what way does it not work? Is there an error?

    If this is not the expected behavior this should perhaps be changed to a feature request.

  • πŸ‡΅πŸ‡ΉPortugal Miguel Andrade

    How to reproduce:

    Add an url parameter for any test view with a page URL, like edit[field_animal][widget][0][target_id]=87

    go to the page url and pass the parameter, like /testview?edit[field_animal][widget][0][target_id]=87

    Try to do something with the parameter, it won't work, behaves as the parameter isn't there.

  • Please steps to reproduce to the issue summary. These should start from a Drupal install so others can reproduce the bug. Ideally refer to default content structures for the greatest ease in reproducing the bug.

  • πŸ‡΅πŸ‡ΉPortugal Miguel Andrade

    @cilefen Steps mentioned are more than enough. Feel free to ignore it if you want.

  • Status changed to Closed: outdated 1 day ago
  • πŸ‡³πŸ‡ΏNew Zealand quietone

    Step to reproduce were asked for here and they haven't been supplied. Speaking for myself, there isn't enough information here to reproduce this. Since that information is needed and it hasn't been supplied, I am closing this issue.

    If you are experiencing this problem, re-open the issue. Then add the standard issue template β†’ and complete the 'Problem/Motivation', 'Steps to reproduce', and 'Proposed resolution' sections. Leave the other sections empty for use by other contributors.

Production build 0.71.5 2024