Enabling multistep for a content type with a CCK field that uses Autocomplete Widgets module causes an error:

"An HTTP error 403 occurred.
http://localhost/drupal-6.17/autocomplete_widgets/contenttype/field"

-All browsers
-Drupal 6.17
-Autocomplete Widgets 1.3
-xampp (and shared host as well)
-Windows 7

I'll post a patch if I can figure this out in a reasonable amount of time. I'd welcome any suggestions where to start digging.

Or perhaps this should be posted in the Autocomplete Widgets queue?

Comments

manuel.adan’s picture

Issue tags: +autocomplete
StatusFileSize
new747 bytes

Hi,

I got similar situation, but in my case I have not Autocomplete Widgets module installed. Autocomplete fields in any other step but the first return a 403, except for users with 'toggle multistep' permission enabled. I discovered that _multistep_get_current_step function does not determine the real current step in this case.

I patched it to be aware of autocomplete. Patch is attached, please, try it out, and check if it solves your problem as well.

mckeen_greg’s picture

Title: HTTP 403 error when combined with Autocomplete Widgets module » HTTP 403 error when combined with Autocomplete Widgets/FileField module
StatusFileSize
new721 bytes

Thanks for the help with the above patch. I had a similar problem, but with FileField. Attached is the patch.

lotyrin’s picture

Status: Active » Needs work

I seem to be getting this in dev.

Can we get the above two patches rolled together against dev?

scottatdrake’s picture

I can confirm that the patch in comment #1 fixes the 403 error when using a Node Reference field, but NOT when using the Autocomplete Widgets module. (That wasn't clear to me initially. )

vlad.k’s picture

Can't delete the comment, but information was wrong, sorry...

vkareh’s picture

Status: Needs work » Fixed

The patch in #2 was already part of dev.

I committed patch in #1 (for Nodereferences) and added support for the Autocomplete Widgets module. They are part of the dev snapshot now. Thanks all!

Status: Fixed » Closed (fixed)
Issue tags: -autocomplete

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