When adding a new field with a schema.org property assigned to it to a new content-type the following Notice and Warnings are displayed:

Notice: Undefined index: field_url in schemaorg_field_ui_field_edit_form_submit() (line 124 of ../sites/all/modules/schemaorg/schemaorg.module).

Warning: array_filter() expects parameter 1 to be array, null given in schemaorg_terms_merge() (line 159 of ../sites/all/modules/schemaorg/schemaorg.module).
 
Warning: array_unshift() expects parameter 1 to be array, null given in schemaorg_terms_merge() (line 164 of ../sites/all/modules/schemaorg/schemaorg.module).
CommentFileSizeAuthor
#1 1188338_1_so_new_field.patch652 bytesscor

Comments

scor’s picture

Status: Active » Needs review
StatusFileSize
new652 bytes
clayball’s picture

Status: Needs review » Active

The patch applied for me and tested successfully.. twice.

clayball’s picture

Status: Active » Reviewed & tested by the community

RTBC :-)

scor’s picture

Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.