Closed (fixed)
Project:
Comment Delete
Version:
2.0.7
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Reporter:
Created:
11 Jul 2023 at 12:44 UTC
Updated:
2 Aug 2023 at 19:09 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
bobooon commentedWhat are your permission settings? What are your comment delete settings? Please provide specific steps to replicate.
Comment #3
klemendev commentedI use the "hard delete" option. Permission to hard delete is given to authenticated user roles for the desired content type, as well as "Delete own comments" permission.
On content type configuration, only hard delete is allowed, operation visibility is "Visible when multiple operations are available", default labels, and 60 seconds for the "Delete time limit" which is enabled
Steps to replicate are to update the module to the latest version and the button ("Delete" button on the comments) that was there before is gone after the update, checking logs no errors are logged. However, the button is visible to admin that can delete comments in general.
Comment #4
bobooon commentedWould you mind providing a screenshot of both the comment delete and permissions table configurations? Or a configuration export.
Comment #5
klemendev commentedAttached is the content type config.
Authenticated user has the following permissions (I can't screenshot this page due to confidentiality):
* "Content: Allow (content type) Comments hard delete"
* "Delete own comments"
Comment #6
bobooon commentedThanks. The role that's having issues only has permissions to hard delete, correct? Also you have the delete time limit option enabled and set to 60 seconds. Are you testing as that role on a comment that has been created less than 60 seconds ago?
Comment #7
klemendev commentedYes, it is done in 60 seconds timeframe. The testing also goes well if the module version is reverted (same config and same test procedure).
Comment #8
bobooon commentedConfirmed. Regression introduced in #3336542: Call to undefined method BaseFieldDefinition::getThirdPartySettings().
Comment #10
bobooon commentedComment #11
klemendev commentedNeat, thank you for taking a look into this and fixing it :)