Fabrik/fabrik — pull request #1143 by Sophist-UK (2014-01-01 15:10:23+00:00)
Title: Elements are added to code block when access is disallowed.

Elements where access disallows inclusion in a page are not added to HTML but still appear in the Fabrik code block addElements, addElementFX, watchValidation.

See http://fabrikar.com/forums/index.php?threads/ajax-validation-never-ending-in-forms.36907 for error report and diagnosis.

Two fixes are needed:

1. Graceful error handing in form::addElements if this happens to avoid nasty side effects.

2. Fixes in php to avoid this happening in the first place.

This PR is not yet complete.