Closed (fixed)
Project:
Permissions by Term
Version:
3.1.20
Component:
User interface
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
22 Jan 2020 at 19:03 UTC
Updated:
27 Dec 2023 at 15:14 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
ecvandenberg commentedHere are steps to reproduce:
composer create-project drupal/recommended-project drupal --no-interaction
composer require 'drupal/permissions_by_term:^2.14'
Then you will see the Permission by term details three times. It should not be there!
Comment #3
robotjox commentedConfirmed and still an issue with 8.x-2.25
Comment #4
kris77 commentedMe too...
Comment #5
silverham commentedAttached patch updates
isNodeEditForm()function to check if base form id isnode_forminstead of just the current path.Comment #6
gargsuchi commentedI can confirm the above patch works for me. Thanks @silverham.
Comment #7
gargsuchi commentedThe fails in the patch are not related to the changes in the patch.
Comment #8
silverham commentedThanks @gargsuchi :-)
Comment #9
bigbaldy commentedInstalled patch and it resolves the issue in the Media widget modal. It also resolves an issue where an edit page has a header with a search field. Permissions by Term info was also attaching itself to the search form.
Comment #10
jastraat commentedAlso applies to 3.1.17 and resolves the issue. Can this be included with the next release?
Comment #11
jastraat commentedUpdating the version
Comment #12
ecvandenberg commentedWeird...
I was wondering why I did not gave any feedback on the provided patch.
When I now check the specific website, it's not an issue anymore. No patch applied.
I checked, but do not hide it by CSS.
Drupal version 9.3.12 and PBT version 3.1.17.
Should I check with a fresh site? Just to get things clear.
Comment #13
bigbaldy commentedIssue isNodeEditForm() function is not good enough that was added in release 3.1.20 breaks the current patch for this issue. The issue still exists in release 3.1.20. So, marking this as needs work.
Comment #16
thomas bosviel commentedAttached patch moves alterations of Permissions by term info in node form-specific hook.
Comment #17
pbouchereau commentedPatch #16 doesn't apply to version 3.1.22.
Just a re-roll.
Comment #19
marcoliverComment #21
marcoliverMerged! Will tag a new release shortly.