Closed (fixed)
Project:
Portable path
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
21 Aug 2014 at 14:37 UTC
Updated:
4 Sep 2014 at 14:50 UTC
Jump to comment: Most recent
In the function _portable_path_field_attach_save(), the code does not test for a non-empty field. If the field is empty, then attempts to reference $entity->{$field_name}[$language][0]['format'] produce a notice about an undefined offset of zero.
The same situation was fixed in the function _portable_path_field_attach_load() in June 2013. See #1897970: Undefined index: in _portable_path_field_attach_load() (line 52 of and this commit
See the patch.
Review, test.
None.
None.
Comments
Comment #2
solotandem commentedFixed in this commit.