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
decipheredSimple 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
decipheredGood 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
decipheredThis 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.