Heine

  • home
  • drupal
  • drupal core commits
  • about
Home › Drupal Core Commits

Commit 339624 by webchick

#725148 by greggles: Fixed Fatal error when saving forum administration form.

--- <a href="http://drupalcode.org/viewvc/drupal/drupal/modules/forum/forum.admin.inc" title="http://drupalcode.org/viewvc/drupal/drupal/modules/forum/forum.admin.inc" rel="nofollow">http://drupalcode.org/viewvc/drupal/drupal/modules/forum/forum.admin.inc</a>     2010/01/09 12:51:01     1.29
+++ <a href="http://drupalcode.org/viewvc/drupal/drupal/modules/forum/forum.admin.inc" title="http://drupalcode.org/viewvc/drupal/drupal/modules/forum/forum.admin.inc" rel="nofollow">http://drupalcode.org/viewvc/drupal/drupal/modules/forum/forum.admin.inc</a>     2010/03/10 17:59:00     1.30
@@ -259,7 +259,6 @@
   // The form needs to have submit and validate handlers set explicitly.
   $form['#theme'] = 'taxonomy_overview_terms';
   $form['#submit'] = array('taxonomy_overview_terms_submit'); // Use the existing taxonomy overview submit handler.
-  $form['#validate'] = array('taxonomy_overview_terms_validate');
   $form['#empty_text'] = t('No containers or forums available. <a href="@container">Add container</a> or <a href="@forum">Add forum</a>.', array('@container' => url('admin/structure/forum/add/container'), '@forum' => url('admin/structure/forum/add/forum')));
   return $form;
 }

--- <a href="http://drupalcode.org/viewvc/drupal/drupal/modules/forum/forum.test" title="http://drupalcode.org/viewvc/drupal/drupal/modules/forum/forum.test" rel="nofollow">http://drupalcode.org/viewvc/drupal/drupal/modules/forum/forum.test</a>    2010/03/05 13:36:35     1.47
+++ <a href="http://drupalcode.org/viewvc/drupal/drupal/modules/forum/forum.test" title="http://drupalcode.org/viewvc/drupal/drupal/modules/forum/forum.test" rel="nofollow">http://drupalcode.org/viewvc/drupal/drupal/modules/forum/forum.test</a>    2010/03/10 17:59:00     1.48
@@ -129,6 +129,9 @@
     $this->forum = $this->createForum('forum', $this->container['tid']);
     // Create second forum in container.
     $this->delete_forum = $this->createForum('forum', $this->container['tid']);
+    // Save forum overview.
+    $this->drupalPost('admin/structure/forum/', array(), t('Save'));
+    $this->assertRaw(t('Your configuration has been saved.'));
     // Delete this second form.
     $this->deleteForum($this->delete_forum['tid']);
     // Create forum at the top (root) level.

No votes yet
  • Drupal Core
  • Download patch

Recent posts

  • Planet Drupal past and current
  • Help! - Cannot access a global variable.
  • Why is my module's update hook not listed on update.php's selection form?
  • How do I add a class to a link generated with l()
  • ZeroDayScan - Full path disclosure bug in Drupal 6.16 (0day)
more

Security reviews

  • Afraid custom code makes your site vulnerable?
  • You don't really trust that module you just downloaded from Drupal.org?

Sleep better after a security review.

Tags

Captcha CSRF Drupal embed Input Format modx OpenID Performance Planet Drupal rants Security Varnish
more tags
  • home
  • drupal
  • drupal core commits
  • about

Copyright © 2010 by Heine Deelstra. All rights reserved.