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.
| Comment | File | Size | Author |
|---|---|---|---|
| Image 705.png | 25.58 KB | tramsaal | |
| Image 704 edited.png | 84.31 KB | tramsaal |
Comments
Comment #2
jrockowitz commentedYou are probably running into a multilingual issue.
@see #3040496: [Translations] Translated Webform elements become generic element if Email handlers are saved from translated language as user interface language.
@see #2913548: Source element values are replaced with translated values
Comment #3
jrockowitz commentedCan you please see if either one of the above issues is related to your problem?
Comment #4
tramsaal commentedYes, 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.
Comment #5
jrockowitz commented@tramsaal I would export and manually fix the webforms and related translations.