Form components cannot be added if Form Builder is not installed

nottwo - July 1, 2009 - 15:34
Project:Webform
Version:6.x-3.x-dev
Component:Code
Category:bug report
Priority:critical
Assigned:Unassigned
Status:closed
Description

After upgrading to 3.x-dev from 2.x I found that I could no longer add/delete components of my pre-existing webforms and I could not add components to new webforms.

In webform_components_page(), drupal_get_form() should always be used to display the form if form_builder is not installed, not just when $mode is 'overview', because it is only 'overview' when form_builder is installed.

AttachmentSize
webform_componentents_page.patch562 bytes

#1

quicksketch - July 1, 2009 - 16:49
Title:Form components cannot be added if Form Builder is not installed [PATCH]» Form components cannot be added if Form Builder is not installed
Status:active» needs review

#2

djalloway - July 2, 2009 - 13:36

Applied and tested the patch, it checks out and resolves the missing "Add Component" issue.

#3

djalloway - July 3, 2009 - 13:47
Status:needs review» reviewed & tested by the community

rerolled patch against CVS, to be committed.
bumped the else { down to a new line.

AttachmentSize
webform-507290-3.patch 605 bytes

#4

quicksketch - July 4, 2009 - 04:49
Status:reviewed & tested by the community» fixed

Thanks, committed. :-)

#5

System Message - July 18, 2009 - 04:50
Status:fixed» closed

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

 
 

Drupal is a registered trademark of Dries Buytaert.