- Status changed to Closed: outdated
about 1 year ago 11:19pm 4 April 2024 - πΊπΈUnited States bluegeek9
This was applied at some point.
* admin_permission = "administer messages",
I actually want to delete one of my message templates but i can't as there are message entities which are using it.
I am not sure the built in Messages admin page supports any actions, but basing this on memory as when i go there now i get:
Error: Unsupported operand types in Drupal\message\Entity\Message->processTokens() (line 321 of modules/contrib/message/src/Entity/Message.php).
Drupal\message\Entity\Message->processTokens(Array, ) (Line: 255)
Drupal\message\Entity\Message->getText() (Line: 89)
Drupal\message\MessageListBuilder->buildRow(Object) (Line: 219)
Drupal\Core\Entity\EntityListBuilder->render() (Line: 23)
Drupal\Core\Entity\Controller\EntityListController->listing('message')
call_user_func_array(Array, Array) (Line: 123)
so i built a View to list messages and added a VBO field to it with delete entity action. I can now see all my messages but when i select the ones for the template and select all for deletion, the vbo action seems to run through all of them but doesn't do anything and i get:
Action processing results: Access denied (2).
Closed: outdated
1.2
Code
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
This was applied at some point.
* admin_permission = "administer messages",