Download & Extend

JS-'add more' incompatible with AHAH file uploads

Project:Drupal core
Version:7.x-dev
Component:field system
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed (duplicate)

Issue Summary

Dopry reported #370004: content_add_more_js breaks with file uploads. in the CCK queue.
I committed the patch to CCK D6, here's a D7 equivalent - I left out the $_GLOBALS['devel_shutdown'] =  FALSE;, which would probably be for devel to take care of.

No real opinion myself whether that's the best way to fix that for core. Dopry submitted that on the development list : http://www.nabble.com/Re%3A-ahah%2C-drupal_json%2C-file_uploads....-td21...

AttachmentSizeStatusTest resultOperations
field_fix_ahah_uploads.patch1 KBIdleFailed: Failed to install HEAD.View details | Re-test

Comments

#1

(possibly also affects poll.module's 'add more choices' ?)

#2

Status:needs review» needs work

The last submitted patch failed testing.

#3

Status:needs work» closed (duplicate)

This is now moot with the #ajax framework and #367567: Use AJAX framework for "Add more" / load include file containing form / introduce $form_state['build_info'].