ChiliProject is not maintained anymore. Please be advised that there will be no more updates.

We do not recommend that you setup new ChiliProject instances and we urge all existing users to migrate their data to a maintained system, e.g. Redmine. We will provide a migration script later. In the meantime, you can use the instructions by Christian Daehn.

Filter by last updated fails with "Updated can't be blank", isn't (Bug #1259)


Added by Ryan Lee at 2013-03-29 09:22 pm. Updated at 2013-03-29 09:22 pm.


Status:Open Start date:2013-03-29
Priority:Normal Due date:
Assignee:- % Done:

0%

Category:Issue tracking
Target version:-
Remote issue URL: Affected version:3.8.0

Description

If I try to filter issues by "Updated" and any of the duration operators (more than, less than days) and fill in a value, attempting to apply the filter results in an error "Updated can't be blank" - it obviously isn't blank in the UI.

Using Firebug to delete the other form inputs sharing the same name so only the one I fill out gets submitted bypasses the error. If I don't do that, three inputs get submitted, and app/models/query.rb's validate method checks if the values.first.blank? - which is true, so it gets marked invalidly blank.

I'm not really keen to enter into the ChiliProject contribution process, so I'm hoping someone else can adopt this. I made a quick change to fix this one problem that may break a bunch of other things / may not fit coding practices around here / etc.:

https://github.com/zepheiryan/chiliproject/commit/2acd08a3a56ff9c75638f5dfc52cd9be8a11b987


History

Also available in: Atom PDF