I get the following error when I run the Audio import function. The Audio seems to import ok though.

* warning: array_merge() [function.array-merge]: Argument #1 is not an array in mysite\sites\all\modules\audio\contrib\itunes\audio_itunes.module on line 100.
* user warning: Duplicate entry '0' for key 1 query: INSERT INTO audio_itunes_item (vid, nid, subtitle, author, block, explicit) VALUES (0, 0, '', '', 0, 0) in mysite\includes\common.inc on line 3324.

CommentFileSizeAuthor
#2 audio_itunes_342561.patch1.29 KBdrewish

Comments

drewish’s picture

Component: audio_import » audio_itunes

ah yeah not a critical error but the audio_itunes code should be checking that values are provided.

drewish’s picture

Title: Error in importing » audio_itunes shouldn't write records when no information is available.
Status: Active » Fixed
StatusFileSize
new1.29 KB

committed the attached to HEAD.

Status: Fixed » Closed (fixed)

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