When Rules Forms module is updated from its 7.x-1.x version, the following error occurs during update:

 Base table or view not found: 1146 Table 'sandbox.rules_forms' doesn't exist: SELECT rf.*
FROM 
{rules_forms} rf; Array
(
)

This is caused by rules_forms_get_form_info always querying on the database.

Comments

caminadaf created an issue. See original summary.

  • caminadaf committed f03d53c on 7.x-2.x
    Issue #2707437 by caminadaf: Error when upgrading from version 7.x-1.x
    
caminadaf’s picture

Status: Active » Fixed

Before using the rules_forms on get_form_info, I first checked if the table exists.

Also, instead of simply removing all the previously set forms, I migrate them to the rules_form table without any properties and rebuild = TRUE.

Status: Fixed » Closed (fixed)

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