Comment 2 for bug 867493

Revision history for this message
Carl Leitner (litlfred) wrote :

In a clean install of 4.0.18 we get this error message:
[Tue Oct 04 09:40:26 2011] [error] [client ::1]
 Refered by : http://localhost/iHRIS/sites/pmoralg/lga/index.php/person_id
 I2CE: I2CE->raiseError (/home/litlfred/rocket_cats/dev/I2CE/modules/Forms/modules/FormStorage/lib/I2CE_FormStorage_DB.php:281)
       I2CE_FormStorage_DB->getRecords (/home/litlfred/rocket_cats/dev/I2CE/modules/Forms/modules/FormStorage/lib/I2CE_FormStorage_Mechanism.php:337)
       I2CE_FormStorage_Mechanism->getFormsById (/home/litlfred/rocket_cats/dev/I2CE/modules/Forms/modules/FormStorage/lib/I2CE_FormStorage_Mechanism.php:612)
       I2CE_FormStorage_Mechanism->search (/home/litlfred/rocket_cats/dev/I2CE/modules/Forms/modules/FormStorage/lib/I2CE_FormStorage_DB.php:456)
       I2CE_FormStorage_DB->search (/home/litlfred/rocket_cats/dev/I2CE/modules/Forms/modules/FormStorage/lib/I2CE_FormStorage.php:922)
       I2CE_FormStorage->search (/home/litlfred/rocket_cats/dev/I2CE/modules/Forms/modules/FormStorage/lib/I2CE_FormStorage.php:304)
       I2CE_FormStorage->validate_formfield (/home/litlfred/rocket_cats/dev/I2CE/lib/I2CE_ModuleFactory.php:743)
       I2CE_ModuleFactory->_callHooks (/home/litlfred/rocket_cats/dev/I2CE/lib/I2CE_ModuleFactory.php:728)
       I2CE_ModuleFactory->callHooks (/home/litlfred/rocket_cats/dev/I2CE/modules/Forms/modules/Fields/lib/I2CE_FieldContainer.php:724)
       I2CE_FieldContainer->validate (/home/litlfred/rocket_cats/dev/I2CE/modules/Forms/lib/I2CE_PageForm.php:313)
       I2CE_PageForm->validate (/home/litlfred/rocket_cats/dev/I2CE/modules/Forms/lib/I2CE_PageForm.php:546)
       I2CE_PageForm->isConfirm (/home/litlfred/rocket_cats/dev/I2CE/modules/Forms/lib/I2CE_PageForm.php:373)
       I2CE_PageForm->action (/home/litlfred/rocket_cats/dev/I2CE/modules/Pages/lib/I2CE_Page.php:464)
       I2CE_Page->display (/home/litlfred/rocket_cats/dev/I2CE/modules/Pages/lib/I2CE_Wrangler.php:89)
       I2CE_Wrangler->wrangle (/home/litlfred/rocket_cats/sites/pmoralg/tzhris/pmoralg/4.0/sites/lga/pages/index.php:60)
 Could not get the required fields query for person_id

This is due to rev 2622 where form ids are not being created automatically:
  http://bazaar.launchpad.net/~intrahealth+informatics/i2ce/4.0-dev/revision/2622
The form/field validator needs to handle this better. Presumably this would affect all validations in a similar manner