AJAX error when editing term content

Created on 9 April 2019, over 5 years ago
Updated 4 February 2023, almost 2 years ago

Hi,
I get an AJAX error whenever I try to edit a term in the taxonomy manager interface.
Anything that uses ajax (media, entity reference, paragraphs etc).

πŸ› Bug report
Status

Postponed: needs info

Version

2.0

Component

Code

Created by

πŸ‡¦πŸ‡ΊAustralia kyuubi

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

Merge Requests

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • πŸ‡ΊπŸ‡ΈUnited States alfattal Minnesota

    @VladimirAus Sorry for the late response. Here is the requested information:

    Version of my environment:
    Drupal 9.5.2
    PHP 8.0.27
    Taxonomy Manager version 2.0.7 and 2.0.8

    Steps to reproduce:

    1. Go to Structure > Taxonomy and edit any vocabulary.
    2. In the Manage fields tab, add general field like (Email) or (Link)
    3. In the new field setting, select Unlimited, save field settings then save settings. This will add the Add another item button
    4. Navigate to the list tab and add some terms to your vocabulary
    5. Go to Structure > Taxonomy Manager and click on that vocabulary. From the terms list block on the left, click on any term. This will open the edit panel to the right.
    6. Scroll down to the field you added and click on the Add another item. A spinning (Please wait) will show momentarily and then disappear without adding another field.

    Please see the attached screenshot.

  • Status changed to Active almost 2 years ago
  • πŸ‡ΊπŸ‡ΈUnited States alfattal Minnesota
  • πŸ‡ΊπŸ‡ΈUnited States alfattal Minnesota
  • πŸ‡ΊπŸ‡ΈUnited States alfattal Minnesota
  • πŸ‡ΊπŸ‡ΈUnited States alfattal Minnesota

    @VladimirAus Did you have the chance to look into the information I provided?

  • πŸ‡§πŸ‡―Benin delacosta456

    hi all
    i also confirm this issue after selecting "Entity browser" as Widget on field's form display and now going back to the edit/add term page

  • Status changed to Needs work 4 months ago
  • πŸ‡¦πŸ‡ΊAustralia VladimirAus Brisbane, Australia

    Please create MR.

  • πŸ‡¬πŸ‡ΉGuatemala luisj0_c

    I also have the same scenario as @delacosta456 and have confirmed that it is happening.

  • Status changed to Needs review 2 months ago
  • πŸ‡ΊπŸ‡¦Ukraine dburiak

    It looks like it's related to the Drupal core issue https://www.drupal.org/project/drupal/issues/2504115 β†’ .

    The workaround is to render the form without Ajax and send a taxonomy term ID through the URL query parameter.
    The patch is attached.

  • Status changed to Needs work 2 months ago
  • πŸ‡¦πŸ‡ΊAustralia VladimirAus Brisbane, Australia

    Thank you for your contribution.
    Can you create MR?

  • First commit to issue fork.
  • πŸ‡ΊπŸ‡¦Ukraine kolesnikoff

    @dburiak, I pushed your patch to the branch. Please fix the issues we found while testing the latest changes.

  • Pipeline finished with Failed
    2 months ago
    Total: 404s
    #280465
  • Pipeline finished with Failed
    30 days ago
    Total: 572s
    #318156
  • Pipeline finished with Failed
    30 days ago
    Total: 184s
    #318175
  • Pipeline finished with Failed
    30 days ago
    Total: 163s
    #318204
  • Pipeline finished with Failed
    30 days ago
    Total: 189s
    #318267
  • Pipeline finished with Failed
    30 days ago
    Total: 500s
    #318307
  • Pipeline finished with Failed
    30 days ago
    Total: 157s
    #318316
  • Pipeline finished with Failed
    29 days ago
    Total: 162s
    #319121
  • Pipeline finished with Failed
    29 days ago
    Total: 190s
    #319149
  • Pipeline finished with Failed
    29 days ago
    Total: 153s
    #319171
  • Pipeline finished with Canceled
    29 days ago
    Total: 124s
    #319197
  • Pipeline finished with Canceled
    29 days ago
    Total: 186s
    #319202
  • Pipeline finished with Failed
    29 days ago
    Total: 162s
    #319207
  • Pipeline finished with Canceled
    29 days ago
    Total: 118s
    #319223
  • Pipeline finished with Failed
    29 days ago
    Total: 177s
    #319225
  • Pipeline finished with Failed
    29 days ago
    Total: 162s
    #319233
  • πŸ‡ΊπŸ‡¦Ukraine dburiak

    The PR is updated.
    The updated patch can be found in the attachment.

  • πŸ‡ΊπŸ‡¦Ukraine dburiak
  • Status changed to Needs review 7 days ago
  • πŸ‡ΊπŸ‡ΈUnited States phernand42

    I had to make a small adjustment to this patch since it did not apply cleanly due to another taxonomy manager patch πŸ› Form element taxonomy_manager_tree broken RTBC that I had to apply earlier. Here is an updated patch just in case there are folks out that applied patch from issue 3474919.

Production build 0.71.5 2024