I get the following error when trying to edit (modal form) fields on nodes with periods in the title:
A2431.02 can not be edited: Array
Any ideas?

Comments

mattbk’s picture

Title: Cannot edit nodes with period (.) in title » <node> "can not be edited: Array" error message

I think this is not limited to nodes with periods in the title, so I am changing the title of this issue.

Errors in Drupal log:

Notice: Undefined variable: required in slickgrid_editor_form() (line 538 of /var/www/nodakpaleo/sites/all/modules/slickgrid/slickgrid.module).
Notice: Undefined variable: error in slickgrid_editor_form_validate() (line 599 of /var/www/nodakpaleo/sites/all/modules/slickgrid/slickgrid.module).

As far as I can tell, this means that neither $required nor $error have any value at this point.

mattbk’s picture

It gets even weirder. I can edit a field value that starts with a letter and then a non-zero integer (e.g., L6516) but not one that starts with a letter and then a zero (e.g., A00275).

Yuri’s picture

Yes i confirm all the above in my install too.

lee20’s picture

I am also having this issue with nodes that have a period in the title.

tinflute’s picture

I get this error for all fields, regardless of content.

As a temporary workaround, I added return true; to the first line of slickgrid_editor_form_validate() (slickgrid.module:line 586). This simply disables the validation, so use with caution. But it has fixed the issue for me for the moment.

arkjoseph’s picture

Has this issue been resolved? Im getting the same.

Todd Young’s picture

Issue summary: View changes

I have this issue with any change to the Title - IF using the inline field option. Using modal dialogue on Title works, and other fields I've tested seem to work with either edit mechanism so far.