Closed (duplicate)
Project:
Drupal core
Version:
6.x-dev
Component:
forms system
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
25 Nov 2007 at 23:50 UTC
Updated:
26 Nov 2007 at 23:21 UTC
Jump to comment: Most recent file
Comments
Comment #1
catchQuick review. Drag and drop, validation all worked very smoothly. Since the taxonomy patch had some hunk failures, the reset to alphabetical was broken (notices etc.), but I don't think that's the fault of this patch.
Comment #2
catchOK as expected with the updated taxonomy drag and drop patch, this works great.
However, forum.module does allow you to put containers within forums - both the help text specifies this, and non drag and drop form allows it. Screenshot attached. Unless I'm missing something the validation is unnecessary here.
Comment #3
quicksketchOh... man. I spent a lot of time making it so you could throw validation errors on the taxonomy drag and drop pages. Ah well. It's a good thing to be able to do it anyway even if we don't use it in core, but catch is quite right. Validation is *not* necessary since containers can be inside of forums just fine. Thanks for pointing this out.
Here's a patch that takes out the additional validation and removes the restriction.
Comment #4
catchYep, that fixes it. In that case I'm setting this to RTBC but please note it's dependent on the taxonomy patch getting in first.
Comment #5
gábor hojtsy$ patch -p0 < forum_drag_and_drop_0.patch
patching file modules/forum/forum.module
Reversed (or previously applied) patch detected! Assume -R? [n] n
Apply anyway? [n] y
Hunk #1 FAILED at 92.
1 out of 1 hunk FAILED -- saving rejects to file modules/forum/forum.module.rej
patching file modules/forum/forum.admin.inc
Reversed (or previously applied) patch detected! Assume -R? [n] n
Apply anyway? [n] y
Hunk #1 FAILED at 214.
1 out of 1 hunk FAILED -- saving rejects to file modules/forum/forum.admin.inc.rej
Comment #6
gábor hojtsyHah, hah. You seem to packaged this already with the taxonomy patch which got committed already.
Comment #7
quicksketchHorribly sorry Gábor! That was an honest mistake. For posterity's sake, #3 above was the same code accidentally rolled into #24 in the taxonomy drag and drop patch.