Something really bizarre just happened.

There are two multi page webforms, each consisting of likert elements. They worked, everything was fine.
Both had custom submission handlers which created nodes from submissions. Those handlers worked as well.

Since I had originally mistakenly placed my custom module to the contrib modules folder, I decided to put it to custom folder instead. I uninstalled the module, changed its location and reinstalled it. After checking the webforms I found that all the pages were gone and my likert elements were replaced with generic elements.

I had one original webform still open in my browser so I took the screengrab and I put it here. One is before, the other is after.

How and why did this happen? Do I have to create those webforms all over again? If I knew this could happen I would have removed the submission handlers from those webforms before uninstalling the module but there's no way I could have anticipated that.

CommentFileSizeAuthor
Image 705.png25.58 KBtramsaal
Image 704 edited.png84.31 KBtramsaal

Comments

tramsaal created an issue. See original summary.

jrockowitz’s picture

Status: Active » Postponed (maintainer needs more info)

Can you please see if either one of the above issues is related to your problem?

tramsaal’s picture

Yes, that seems to be the problem indeed. I changed the default language after creating those webforms and I worked in administration ui using english, not the default language. I tried to change the default language of those forms earlier but could not figure out how to do that.

This thing happened now at the worst moment, literally few hours before giving client access to the project.
I started to rebuild the forms from source and insert necessary code for likert element but then found out that some questions were missing as well. So I probably have to rebuild the forms from the scratch.

jrockowitz’s picture

Status: Postponed (maintainer needs more info) » Closed (outdated)

@tramsaal I would export and manually fix the webforms and related translations.