I've hit this one a few time, and pull my hair out each time. If it matters, I'm using postgres.

To recreate using webform:
- Create a few fields. Doesn't matter what type, as far as I can tell (certainly happens with file and textfield).
- Create a new fieldset
- Drag fields into the fieldset (Note: I'm not hitting "save" between these steps.)
- Rename the fieldset.

BAM - at least one, and usually more than one of the fields will disappear.

Saving after every possible step sometimes solves this problem, though I've also noticed that upon save, I sometimes lose fields. Haven't determined a consistent pattern yet.

Comments

quicksketch’s picture

Priority: Normal » Major

Thanks for this report @seattlehimay. I'll try this out and see if I can reproduce it.

quicksketch’s picture

I haven't been able to reproduce this problem, though I found a similar issue when nesting elements inside new fieldsets, the parentage is lost. I think that may be the latter part of your request where you mentioned, "I've also noticed that upon save, I sometimes lose fields. Haven't determined a consistent pattern yet." However that's not the main issue here. I separated that bug out into #1795168: Child elements loose parent when placed inside new fieldsets, where that problem has been fixed.

Could you provide more information about your installation and how this occurs? The field is lost *before* you hit Save right? Which version of jQuery and Webform module are you running?

seattlehimay’s picture

Yes, the fields are lost *before* you hit save. Running Webform 7.x-3.18, Chaos tools 7.x-1.2. Hmm, looks like I had jquery v1.4.4.

But I have now installed jquery update (so now on 1.5.2), and the problem is still there.

Do you know of any quick and easy desktop/video capture software? I'd be happy to record you a clip, but don't know of a tool.

quicksketch’s picture

Jing is quite good for this sort of thing: http://www.techsmith.com/jing.html

Thanks for the followup. I'll test this out further and see if I can reproduce it.

seattlehimay’s picture

Ok, I hope this works for you:
http://www.screencast.com/t/TLB4fhwH7JXt

quicksketch’s picture

Thanks again @seattlehimay. I'm looking into it more.

UPDATE: I can reproduce the issue. Thanks I wasn't using multiple fields in my testing.

quicksketch’s picture

This problem indeed was the same as #1772576: Select list options are overridden when moved before saved. After fixing that issue, this has been corrected also. I'll make a 1.3 release to correct this problem. The sudden destruction of elements is quite serious.

seattlehimay’s picture

Status: Active » Fixed

Thanks much. Finally got a chance to test, and everything seems to be behaving nicely now!

quicksketch’s picture

Thanks for testing @seattlehimay! Great to hear it's fixed!

Status: Fixed » Closed (fixed)

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