Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Default value not set for attributes of type input, select, tree_select, richtext, textarea, checkbox #1653
We added object (type text) to the Ticket. Default value set.
Steps to reproduce the behavior:
Yes I'm sure this is a bug and no feature request or a general question.
I ran into an error related to this fix for this bug when testing develop on my test instance:
Not sure if this is a bug, or just an artifact of running a WIP that is develop, but sharing here just in case..
Hey @abeluck - after a longer discussion we had to revert the changes because of the side effects it would introduce (especially on larger systems).
The issue is that a change or introduction of a default value of an attribute will lead to an alter table which will take quite a lot of time on larger systems. Therefore an application based default value (via an ActiveRecord callback) is preferred over a database based.
Anyhow, you should be able to update your test system on