I have created a custom View (using Views UI) that provides a table of members for users. With VBO, i want to "Modify entity values (views_bulk_operations_modify_action)". But when i submit this action, i see two notice :
"Notice: Undefined index: #user in user_field_privacy_field_attach_form() (line 100 of */www/sites/all/modules/user_field_privacy/user_field_privacy.module)."
"Notice: Trying to get property of non-object in user_field_privacy_field_attach_form() (line 100 of */www/sites/all/modules/user_field_privacy/user_field_privacy.module)."
For each user_field are allowed to be private, we can see this two notices.
This is not because i try to modify a privacy field.
Comments
Comment #1
boobaaCould you please upload your exported view definition in a zip file?
Comment #2
kitkat13 commentedNow the patch.
Comment #3
kitkat13 commentedmy view.txt
It's a simple views with a vbo_field.
I have 5 fields allowed as private.
I want to modify one user_field, for x users, private or not, with my admin account.
(sorry for late)
Comment #4
boobaaOK, let's commit a bit cleaner solution: if there's no user info available, don't waste time on anything else.
OTOH, it would be great if u_f_p had such a level of Views integration that allowed both displaying the field value's privateness (the state of the field value's private chechbox) and changing that by the means of VBO. Current implementation doesn't allow this (when changing field values by the means of VBO, the fields' privateness doesn't change).
Comment #5
kitkat13 commentedNothing more.
Good job.