Hello, I just upgraded to 7.14 from 7.12 and encountered an issue that seems to have been anecdotally reported. I have a big webform with a "webform multifile" file selector upload tool thing. The form was all arranged with the uploader at the bottom of the screen. When I did this upgrade, it jumped up to the top left corner, and was immovable. I've attached a screenshot of what it looks like, just embedded into the background with no wrapper.

All the other fields were fine, any that look displaced were from me moving them around trying to figure things out.

I compared the code of the 2 versions of arrange_fields.module and seem to have found the problem, hopefully. Around line 941, there's a check to see what sort of element you're working on, and if it's not one of a couple things, skip it. Here's the 7.12 code:

if ($element_type == "hidden"
    || $element_type == "token"
    || $element_type == "value") {
      // Just skip to the next one.
      continue;
    }

And here's the 7.14 code:

    if (!$element_type
    || $element_type == ""
    || $element_type == "hidden"
    || $element_type == "token"
    || $element_type == "value") {
      // Just skip to the next one.
      continue;
    }

I'm not sure where the element_type value comes from, but it seems to not recognize the webform multifile type of component. Swapping these snippets out fixes the problem, as far as I can tell, but hopefully that won't precipitate another one.

Just FYI, thanks for an incredibly useful module.

CommentFileSizeAuthor
arrange-fields-screen.jpg197.05 KBtaquil
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

alimbert’s picture

I am seeing the same behavior! Great tool. but I can't fix the File Field position.

etron770’s picture

the same here
I am not able to move any webform components
Webform 7.x-4.0-beta3
Webform Validation 7.x-1.5
Arrange Fields 7.x-1.14

richardp’s picture

Version: 7.x-1.14 » 7.x-1.15
Status: Active » Fixed

Sorry for the slow reply, but this should be fixed in the latest version 1.15.

Richard

etron770’s picture

Hi Richard,
unfortunately not.

Do you need any other information about other installed modules?

Knut

richardp’s picture

@etron770, it sounds like you have a different problem than the original poster. Please open a new issue, describing exactly what is going on.

Richard

Status: Fixed » Closed (fixed)

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