jegelstaff / formulize

Unified data management. One system to handle all data entry, collection, and reporting, across all your unique workflows. Simplify processes. Make people happy.
https://www.formulize.org
GNU General Public License v2.0
27 stars 14 forks source link

Save custom code through tab only, not everytime app is inserted to DB #501

Closed jegelstaff closed 4 months ago

jegelstaff commented 4 months ago

This fixes a nasty issue where if an error in code is saved, then that bad code is written over and over to the application's custom code file, every time the application object goes through the insert method! This prevents saving a good copy of code overtop of bad. Custom code is now only saved via the tab when the admin page saves, much cleaner. But still an opportunity for bad code to be saved. Need to validate the code better. See https://github.com/jegelstaff/formulize/issues/499