Closed (works as designed)
Project:
Diff
Version:
7.x-3.2
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
28 Jul 2014 at 08:05 UTC
Updated:
30 Jul 2014 at 08:20 UTC
Jump to comment: Most recent
Comments
Comment #1
alan d. commentedAre you sure that the Diff module actually causes this? It doesn't actually interact with the revision system at all like this (but I could be wrong).
Comment #2
Cogax commentedIt has to! I tried it out without any module(diff):
If a node is deleted there should be a query wich checks the file_usage for the column type=node and id=node_id_to_delete and should delete all records. Or i'am wrong?
Comment #3
alan d. commentedRevisions are part of core, not the Diff module. In the above, there are 4 core combos to test.
Same steps, without Diff.
Same steps, with Diff.
Both should be exactly the same
Same steps, without Diff; but with Create new revision checked during save. Delete one revision.
Same steps, with Diff; but with Create new revision checked during save. Delete one revision.
Both should be exactly the same; if not, then Diff is to blame
If the same, enable all file and permission related modules 1 by 1, repeating the test till you find the combo that fails.
Comment #4
Cogax commentedI was thinking revisions are supported from the diff module and not from core! Sorry for that!! Its definitely not a diff bug. I searched again and ended up here: https://www.drupal.org/node/1239558 So i think for the moment its the best solution to implement hook_node_delete as describe in #10 for drupal 7.x.
Thanks for your help!
Comment #5
alan d. commentedNo problems. I thought that this was the case ;)