Where is issue.updated_on field getting set?

Added by Ketki Vahalia over 8 years ago

I am new to Ruby and to website development in general, so this is exciting and challenging at the same time. I have been chasing #15226. I have just spent about 3 hours and still cannot figure out how updated_on field gets set when adding a new issue. I commented out the function force_updated_on_change thinking that is where it is happening, but it has not helped. I have looked at how the tables are created, tried to figure out if there is some dependencies in the DB itself that makes updated_on same as created_on, but to no avail.

I need a bit of direction here. What am I missing? Is there some alias of the field? Is it somewhere in the javascripts? Sorry, if these questions sound irrelevant or not applicable, I just don't know enough to ask the right questions, I guess. If I understand how the code is now, hopefully I can fix it.

Thanks in advance for any pointers!