https://www.redmine.org/https://www.redmine.org/favicon.ico?16793021292010-02-26T19:28:49ZRedmineRedmine - Defect #4942: "Status can't be blank" on Issues page (After Upgrade)https://www.redmine.org/issues/4942?journal_id=147192010-02-26T19:28:49ZJean-Philippe Langjp_lang@yahoo.fr
<ul></ul><p>I'm not able to reproduce with a fresh 0.9.2.</p> Redmine - Defect #4942: "Status can't be blank" on Issues page (After Upgrade)https://www.redmine.org/issues/4942?journal_id=147212010-02-26T19:34:22ZChris Geoghegan
<ul></ul><p>Yeah, I think it might be an issue specifically with upgrading from 0.8.7 to 0.9.2. After doing a little more testing it appears that if I create a custom query then select that. The error dissappears. I can browse away and browse back and there is no error.</p>
<p>However, as soon as I click "Clear" underneath the filters, then browse away to another page, and then back again, the error comes back. It's as though it's not remembering that the default should be "Status is Open".</p> Redmine - Defect #4942: "Status can't be blank" on Issues page (After Upgrade)https://www.redmine.org/issues/4942?journal_id=147242010-02-26T20:28:59ZNorbert Strappler
<ul><li><strong>% Done</strong> changed from <i>0</i> to <i>70</i></li></ul> Redmine - Defect #4942: "Status can't be blank" on Issues page (After Upgrade)https://www.redmine.org/issues/4942?journal_id=147512010-02-28T10:51:27ZJean-Philippe Langjp_lang@yahoo.fr
<ul><li><strong>% Done</strong> changed from <i>70</i> to <i>0</i></li></ul><p>I'm sorry but I can't reproduce even when upgrading a 0.8.7 to 0.9.2.<br />Did you make any change to the code?<br />Make sure to test with a fresh 0.9.2 code without any plugins.</p> Redmine - Defect #4942: "Status can't be blank" on Issues page (After Upgrade)https://www.redmine.org/issues/4942?journal_id=147942010-03-01T17:34:42ZChris Geoghegan
<ul></ul><p>It has been tested with fresh 0.9.2 without any plugins. But the database is not new. If I test it with a fresh database it works as it should. It's specifically an issue with the database we're using that we've upgraded from 0.8.7 to 0.9.2.</p>
<p>~Chris</p> Redmine - Defect #4942: "Status can't be blank" on Issues page (After Upgrade)https://www.redmine.org/issues/4942?journal_id=148302010-03-02T14:58:12ZJean-Philippe Langjp_lang@yahoo.fr
<ul></ul><p>What do you get if you test with the fresh 0.9.2 without plugins and your upgraded database?</p> Redmine - Defect #4942: "Status can't be blank" on Issues page (After Upgrade)https://www.redmine.org/issues/4942?journal_id=154852010-03-27T04:36:17ZJim Mulholland
<ul></ul><p>We are getting the same error. The error appears to be coming from the else clause on line 530 of the "retrieve_query" method in the issues_controller:</p>
<pre>
@query ||= Query.new(:name => "_", :project => @project, :filters => session[:query][:filters], :group_by => session[:query][:group_by], :column_names => session[:query][:column_names])
</pre>
<p>where our "session[:query]" looks like this:</p>
<pre>
{:column_names=>nil, :project_id=>39, :filters=>{"status_id"=>{"operator"=>"o", "values"=>[""]}}, :group_by=>nil}
</pre>
<p>We also upgraded from a 0.8.x version to 0.9.2 when we started seeing this issue.</p> Redmine - Defect #4942: "Status can't be blank" on Issues page (After Upgrade)https://www.redmine.org/issues/4942?journal_id=164152010-05-04T18:52:48ZAlexander Eriomenko
<ul></ul><p>in my case deleting redmine_harvest plugin fixes that error</p> Redmine - Defect #4942: "Status can't be blank" on Issues page (After Upgrade)https://www.redmine.org/issues/4942?journal_id=164272010-05-04T20:49:40ZChris Geoghegan
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>Resolved</i></li><li><strong>% Done</strong> changed from <i>0</i> to <i>100</i></li></ul><p>I'm marking this as resolved because I believe it is an issue with the redmine_harvest plugin. A clean upgrade without the module present resolves the issue.</p> Redmine - Defect #4942: "Status can't be blank" on Issues page (After Upgrade)https://www.redmine.org/issues/4942?journal_id=164292010-05-04T21:59:45ZJim Mulholland
<ul></ul><p>Good to know. I'll checkout my plugin to see what the deal is.</p>
<p>Thanks!</p> Redmine - Defect #4942: "Status can't be blank" on Issues page (After Upgrade)https://www.redmine.org/issues/4942?journal_id=164302010-05-04T22:12:55ZChris Geoghegan
<ul></ul><p>Thanks Jim! Please do up here again when it's fixed as I am sure there are others having this issue who would also like to use it.</p> Redmine - Defect #4942: "Status can't be blank" on Issues page (After Upgrade)https://www.redmine.org/issues/4942?journal_id=191312010-08-08T22:08:18ZJean-Baptiste Barth
<ul><li><strong>Status</strong> changed from <i>Resolved</i> to <i>Closed</i></li><li><strong>Resolution</strong> set to <i>Invalid</i></li></ul><p>Closing since it seems to be a plugin issue</p> Redmine - Defect #4942: "Status can't be blank" on Issues page (After Upgrade)https://www.redmine.org/issues/4942?journal_id=473192013-03-22T13:55:56Zpoornima dhanasekaran
<ul></ul><p>Hi everyone,</p>
<pre><code>I tried "@query ||= Query.new(:name => "_", :filters =>{"status_id"=>{"operator"=>"*"}, "tracker_id"=>{"operator"=>"="}} , :group_by => session[:query][:group_by], :column_names => session[:query][:column_names])" in queries_helper.rb for changing my session[:query][:filters]. I tried with this but getting "status can't be blank & tracker can't be blank" validation error. I didn't use the redmine_harvest plugin and gem too. Can anyone help me out?.</code></pre>
<p>Thanks,<br />Poornima.</p>