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

tomzab created an issue. See original summary.

jrockowitz’s picture

The 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.

jrockowitz’s picture

@tomzab I forgot to "Welcome you to the Drupal community"

yang_yi_cn’s picture

Could it be related to issue #2855062 ? I have a solution at https://www.drupal.org/node/2855062#comment-11972571

tomzab’s picture

Thanks @jrockowitz. These are indeed my first steps with Drupal.

@yang_yi_cn: This seems to be a solution for my problem. Thanks a lot.

jrockowitz’s picture

If other people are having this problem, even if drush webform-repair fixes it, please still report it here.

jrockowitz’s picture

Status: Active » Fixed

I am going to close this ticket since the immediate issue has been resolved.

Status: Fixed » Closed (fixed)

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