Closed (fixed)
Project:
Jammer
Version:
6.x-1.2
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
18 Aug 2010 at 16:47 UTC
Updated:
1 Dec 2010 at 19:00 UTC
Jump to comment: Most recent file
since Pathauto is installed on a LOT of systems. And right now, you get the Pathauto "hide automatic alias" checkbox showing up (by itself, instead of inside the 'path' fieldset), for content types that have "Remove the path options on content types:" selected.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | jammer-pathauto-fixed.patch | 970 bytes | roderik |
| jammer-pathauto.patch | 972 bytes | roderik |
Comments
Comment #1
roderikFixing deadly stupid mistake... :-x
Comment #2
greggles2 is a good number. I feel like Jammer's purpose makes it likely that a much higher number (100?) would be even better.
Comment #3
dave reidActually the whole module needs to be rewritten. Using
unset($form['stuff']);is BAD and will cause things to go wrong. If you want to hide things, you need to use$form['stuff']['#access'] = FALSE;. Every time someone uses the former a kitten dies. Seriously.Comment #4
ergophobe commentedDeleted [sorry, thought this was related to another issue, but hadn't read that issue carefully enough]
Comment #5
Bastlynn commentedFixed with release 1.3: http://drupal.org/node/974554
@roderik Thank you for the patch, but Dave made a really good point. The switch to using ['#access'] seems to have taken care of the pathauto checkbox display as well. Thanks!
Comment #6
roderikAbsolutely, Dave was right. Glad to see this in.