Closed (fixed)
Project:
ImageField Zip/HTML5 Bulk Upload
Version:
6.x-1.x-dev
Component:
Documentation
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
1 Oct 2011 at 06:39 UTC
Updated:
9 Nov 2011 at 21:00 UTC
Jump to comment: Most recent file
Comments
Comment #1
narongwit12 commentedThank you so much. The problem is perfectly solved.
Comment #2
mikeytown2 commentedI'll be working on bringing back CCK2 support; having that as a requirement isn't ideal.
Comment #3
mikeytown2 commentedGonna need some testing here, this patch has been committed but there might be other functions missing or errors when using cck2.
Comment #4
mikeytown2 commentedmarking as postponed until I hear back a yea or nea.
Comment #5
mikeytown2 commentedComment #6
gsbc commentedThere are also a couple calls to content_get_nested_elements on lines 185 and 387 of imagefield_zip.ahah.inc which also require CCK 3.x+
I'll try giving this a shot and post a patch later.
Comment #7
mikeytown2 commentedThe call on 387 can be ignored because that code path can only happen in CCK3.
content_get_nested_elements is a self contained function so we could call an alternative version of the code; but something I noticed is imagefield_zip_array_find_element_by_key() looks very close to content_get_nested_elements(). I've tested this and it appears to work; I've replaced content_get_nested_elements with imagefield_zip_array_find_element_by_key on line 185.
Patch below has been committed. Let me know if you find any other issues with CCK2.
Comment #8
gsbc commentedI can confirm it works with the patch at #7 (with CCK 2.9)
Comment #9
mikeytown2 commentedMarking this as fixed