https://www.redmine.org/https://www.redmine.org/favicon.ico?16793021292017-07-07T10:12:30ZRedmineRedmine - Defect #26376: Wrong issue counts and spent time on project overviewhttps://www.redmine.org/issues/26376?journal_id=798302017-07-07T10:12:30ZSerhiy Yefremenko
<ul></ul><p>UPD: 3.3.4 is probably fine as it uses rails 4.2.7.1</p> Redmine - Defect #26376: Wrong issue counts and spent time on project overviewhttps://www.redmine.org/issues/26376?journal_id=798562017-07-08T01:48:12ZGo MAEDA
<ul><li><strong>Has duplicate</strong> <i><a class="issue tracker-1 status-5 priority-4 priority-default closed" href="/issues/26084">Defect #26084</a>: In my Overview column didn't show bugs count</i> added</li></ul> Redmine - Defect #26376: Wrong issue counts and spent time on project overviewhttps://www.redmine.org/issues/26376?journal_id=798572017-07-08T02:03:52ZGo MAEDA
<ul></ul><p>Screenshots from <a class="issue tracker-1 status-5 priority-4 priority-default closed" title="Defect: In my Overview column didn't show bugs count (Closed)" href="https://www.redmine.org/issues/26084">#26084</a>:</p>
<p><img src="/attachments/download/18436/Selection_017.png" alt="" /></p>
<p><img src="/attachments/download/18437/Selection_018.png" alt="" /></p> Redmine - Defect #26376: Wrong issue counts and spent time on project overviewhttps://www.redmine.org/issues/26376?journal_id=798592017-07-08T02:16:16ZGo MAEDA
<ul><li><strong>Target version</strong> set to <i>3.4.1</i></li></ul> Redmine - Defect #26376: Wrong issue counts and spent time on project overviewhttps://www.redmine.org/issues/26376?journal_id=798622017-07-08T07:25:20ZJean-Philippe Langjp_lang@yahoo.fr
<ul><li><strong>Subject</strong> changed from <i>Project/Tracker visibility control fails, presumably because of ActiveRecord bug</i> to <i>Wrong issue counts and spent time on project overview</i></li><li><strong>Status</strong> changed from <i>New</i> to <i>Resolved</i></li><li><strong>Assignee</strong> set to <i>Jean-Philippe Lang</i></li><li><strong>Resolution</strong> set to <i>Fixed</i></li></ul><p>I was able to fix the problem on the project overview by loading visible subprojects (which poisons project_ids cache) at the end. I'll see if we can workaround this Rails bug with a more general solution.</p> Redmine - Defect #26376: Wrong issue counts and spent time on project overviewhttps://www.redmine.org/issues/26376?journal_id=798662017-07-08T09:02:23ZSerhiy Yefremenko
<ul></ul><p>Isn't disabling cache safer? Or rolling back to rails 4.2.7, didn't have time to check if that version works but one of that github issues says it does.</p> Redmine - Defect #26376: Wrong issue counts and spent time on project overviewhttps://www.redmine.org/issues/26376?journal_id=798672017-07-08T12:18:58ZJean-Philippe Langjp_lang@yahoo.fr
<ul></ul><p>Serhiy Yefremenko wrote:</p>
<blockquote>
<p>Isn't disabling cache safer? Or rolling back to rails 4.2.7</p>
</blockquote>
<p>We can't stick to 4.2.7 for ever and the issue does not seem to be addressed in Rails 5.<br />I've committed a better fix in <a class="changeset" title="Fixed User#project_ids_by_role when first called within chained scopes (#26376)." href="https://www.redmine.org/projects/redmine/repository/svn/revisions/16767">r16767</a> that ensures that <code>User#project_ids_by_role</code> always returns correct results.</p> Redmine - Defect #26376: Wrong issue counts and spent time on project overviewhttps://www.redmine.org/issues/26376?journal_id=798682017-07-08T12:57:10ZJean-Philippe Langjp_lang@yahoo.fr
<ul><li><strong>Status</strong> changed from <i>Resolved</i> to <i>Closed</i></li></ul><p>I think we have to release a 3.4.1 ASAP.</p> Redmine - Defect #26376: Wrong issue counts and spent time on project overviewhttps://www.redmine.org/issues/26376?journal_id=799152017-07-10T05:56:56ZGo MAEDA
<ul><li><strong>Has duplicate</strong> <i><a class="issue tracker-1 status-5 priority-4 priority-default closed" href="/issues/26389">Defect #26389</a>: summary issue list disappeared from project overview page</i> added</li></ul> Redmine - Defect #26376: Wrong issue counts and spent time on project overviewhttps://www.redmine.org/issues/26376?journal_id=802452017-07-24T17:42:07ZUdo Hain
<ul></ul><p>I just want to mention that I have the same problem with the following environment (on Ubuntu 16.04.2 LTS):</p>
<pre>
Environment:
Redmine version 3.2.1.stable
Ruby version 2.3.1-p112 (2016-04-26) [x86_64-linux-gnu]
Rails version 4.2.9
Environment production
Database adapter Mysql2
</pre>
<p>I have solved the problem with the empty list in the issue tracking table by a patch described in <a class="issue tracker-1 status-1 priority-4 priority-default" title="Defect: Issue visibility problems on 3.3.1 (New)" href="https://www.redmine.org/issues/25828">#25828</a>, but the problem with the "Spent time" of 0.0 hours remains. Admin accounts see the correct time, the other users do not. It would be nice if there was a patch for 3.2.1 too!</p> Redmine - Defect #26376: Wrong issue counts and spent time on project overviewhttps://www.redmine.org/issues/26376?journal_id=804872017-08-05T03:33:16ZToshi MARUYAMA
<ul><li><strong>Related to</strong> <i><a class="issue tracker-1 status-1 priority-4 priority-default" href="/issues/25828">Defect #25828</a>: Issue visibility problems on 3.3.1</i> added</li></ul>