Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
As we used hook_node_operations() to provide the VBO site tasks/operations, the operations also show up on the standard Node admin page (admin/content/node). This causes confusion as the site 'Delete' task shows up identically to the node 'Delete' operation.
Comments
Comment #1
Deciphered CreditAttribution: Deciphered commentedSimple solution:
- Site node operations are prefixed with "Site: "
- View implementing site node operations overrides the labels.
Repo: http://drupalcode.org/sandbox/deciphered/2001932.git/shortlog/refs/heads...
Patch: http://drupalcode.org/sandbox/deciphered/2001932.git/patch/00c067f2fdb4a...
Comment #2
ergonlogicFixed in 914aadd.
I also removed the 'delete backups' operation, as it was failing for lack of arguments.
Comment #3
Deciphered CreditAttribution: Deciphered commentedGood good, I was going to open another issue about that at some stage, as that one expects BIDs as arguments not NIDs, so either it needs an interface, or some additional logic to load all BIDs related to the provided NIDs.
Comment #4
Deciphered CreditAttribution: Deciphered commentedThis commit seems to be missing... Not pushed?
Comment #5
ergonlogicAh, sorry! pushed.
Re. 'delete-backups', I may re-introduce some of that code, as it conveniently results in #1975086: tasks sometimes are marked as running when they have in fact crashed.