Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
My webforms are randomly disappearing from the list in the admin panel (/admin/structure/webform) after some time. Seems to be related with cache or some cron job. If I manually open the form edit URL (eg /admin/structure/webform/manage/my_form) and save it from there, the form is back on the list. Did anyone had this strange issue before?
Comments
Comment #2
jrockowitz CreditAttribution: jrockowitz as a volunteer and at The Big Blue House commentedThe Webform entity is using 'lookup_keys' for status and template to improve the admin lists load time, but I suspect that this is causing the issue.
I am wondering if we can duplicate the steps which cause the webforms to disappear? It is it after running database update?
BTW, are you seeing this issue frequently? If yes, I can write a patch that disables the 'lookup_keys' and you can see if the problems goes away.
Comment #3
jrockowitz CreditAttribution: jrockowitz as a volunteer and at The Big Blue House commented@tomzab I forgot to "Welcome you to the Drupal community"
Comment #4
yang_yi_cn CreditAttribution: yang_yi_cn commentedCould it be related to issue #2855062 ? I have a solution at https://www.drupal.org/node/2855062#comment-11972571
Comment #5
tomzab CreditAttribution: tomzab commentedThanks @jrockowitz. These are indeed my first steps with Drupal.
@yang_yi_cn: This seems to be a solution for my problem. Thanks a lot.
Comment #6
jrockowitz CreditAttribution: jrockowitz as a volunteer and at The Big Blue House commentedIf other people are having this problem, even if
drush webform-repair
fixes it, please still report it here.Comment #7
jrockowitz CreditAttribution: jrockowitz as a volunteer and at The Big Blue House commentedI am going to close this ticket since the immediate issue has been resolved.