Hi,
Great module. Truly. Worked like a charm when joining nodes and users however not so much when used with flags and users. I get the following error:
Notice: Undefined index: flag_user_content_rel in editableviews_plugin_style_row_edit_table->insert_form_elements() (line 240 of sites/all/modules/editableviews/editableviews_plugin_style_row_edit_table.inc).
Notice: Undefined index: in editableviews_plugin_style_row_edit_table->insert_form_elements() (line 242 of sites/all/modules/editableviews/editableviews_plugin_style_row_edit_table.inc).
Notice: Undefined index: flag_user_content_rel in editableviews_plugin_style_row_edit_table->insert_form_elements() (line 250 of sites/all/modules/editableviews/editableviews_plugin_style_row_edit_table.inc).
From the research I did online it may have something to do with the node ID but not being a programmer I don't want to venture any diagnosis.
Attached is the view just to provide a full documentation of the event.
Thank you in advance for a solution.
Comment | File | Size | Author |
---|---|---|---|
Subscriber List View.txt | 5.88 KB | Chokti |
Comments
Comment #1
joachim CreditAttribution: joachim commentedThis is actually to do with having an editable field on the Flagging entities that your relationship brings in.
The problem is that Flaggings are not declared as a base table to Views, and the code in Editable Views expects to find this -- and in fact needs it in order to understand what entity type it is working with.
However, it's not as simple as declaring Flagging entities as a base, as when I try that various other things in Views blow up. I'm afraid this is a rabbit hole I don't have time to go into any further right now. I've filed an issue on Flag; if you have the time & resources to work on this that would be great. #2277813: declare Flagging entity as a base in Views.
Comment #2
Chokti CreditAttribution: Chokti commentedThank you for your very rapid response Joachim.
Clear. I need a new strategy. :(
Cheers!
Comment #3
joachim CreditAttribution: joachim commentedWell it's probably not a huge job to figure it out over at Flag, just more time than I have to squeeze in between real life and work.
Comment #4
Chokti CreditAttribution: Chokti commentedNo worries. I already appreciate the time you have put into my query. Thanks.
Also, I changed strategy and used rules link, which allowed me to exploit editable views functionality.
Comment #5
joachim CreditAttribution: joachim commentedClosing, as this is to due with Flag's support for Views.