Closed (works as designed)
Project:
Entity Reference Cascade Delete
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
7 Feb 2013 at 18:07 UTC
Updated:
7 Feb 2013 at 19:41 UTC
I notice a error when i save the new permission under People-> Permissions.
Notice: Undefined index: node in ercd_permission() (line 57 of /home/sw3b/www/ng/sites/all/modules/ercd/ercd.module).
Comments
Comment #1
sprocketman commented@sw3b: I'm not able to replicate this notice. Could you let me know what entity types you were setting up (node referencing node, for example)? Also, did the permission you were trying to set actually get set?
Comment #2
sw3b commentedIt is Entity Reference with a combinaison of Node Gallery. I'm using the reference created with this module on installation. And to be honnest i'm suspecting Node Gallery to not use the API correctly or with some custom coding. I have a lot of problem of weird problem with module related to reference so i would not be suprise hit is the cause. maybe install node gallery and see if it happend on your side too ?
Comment #3
sw3b commentedOn my side i will test on another site i have to see if it work ok.
Comment #4
sprocketman commentedI just tried both the dev and beta versions of Node Gallery, but still couldn't get the notice. Let me know if you find it on the other site as well. Thanks.
Comment #5
sw3b commenteddoes it work on your side when you delete a gallery ? does it delete the gallery item ?
Comment #6
sw3b commentedok i test on fresh setup and the error is gone. I will look on the other site to see what does that.
also i test the cascade deletion and it does not work with node gallery. I think they do thing not by the book. I am having a tone of problem with the module NG and multi user site.
Comment #7
sprocketman commentedThat is really interesting. Node Gallery requires Entity Reference, but after creating a gallery and adding images to it, there are no records in the entity reference data table field_data_node_gallery_ref_1. Instead Node Gallery seems to preempt Entity Reference from doing its job and then takes the reference information and stores in tables specifically created by Node Gallery. They seem to be making it hard on themselves (and other as well!). Bummer.
Comment #8
sw3b commentedyeah i know ! i guess i go back to my old fashion and working custom version of views gallery with a refresh using file entity !! ;) thanks for your help ! your fast !!!