https://www.redmine.org/https://www.redmine.org/favicon.ico?16793021292012-01-25T08:34:05ZRedmineRedmine - Defect #10053: undefined method `<=>' for nil:NilClass when accessing the settings of a projecthttps://www.redmine.org/issues/10053?journal_id=355432012-01-25T08:34:05ZJordi Clariana
<ul></ul><p>Forgot to mention my Redmine version: 1.3.0, I can't see how to update "Affected version" field...</p> Redmine - Defect #10053: undefined method `<=>' for nil:NilClass when accessing the settings of a projecthttps://www.redmine.org/issues/10053?journal_id=356122012-01-30T13:13:56ZDerick Potgieter
<ul></ul><p>Having the same issue only on certain projects. I have over 100 projects on redmine clustered over 3 mongrel servers with an apache load balancer in front. Most projects worked but some return this error after upgrading to 1.3.0</p> Redmine - Defect #10053: undefined method `<=>' for nil:NilClass when accessing the settings of a projecthttps://www.redmine.org/issues/10053?journal_id=356132012-01-30T13:29:47ZRobson Peixoto
<ul></ul><p>I solved it removing all user of the project direct from DB.</p> Redmine - Defect #10053: undefined method `<=>' for nil:NilClass when accessing the settings of a projecthttps://www.redmine.org/issues/10053?journal_id=356142012-01-30T13:46:47ZEtienne Massip
<ul></ul><p>Please give details according to <a class="wiki-page" href="https://www.redmine.org/projects/redmine/wiki/SubmittingBugs">SubmittingBugs</a>.</p>
<p>And try to reproduce with no plugin installed.</p> Redmine - Defect #10053: undefined method `<=>' for nil:NilClass when accessing the settings of a projecthttps://www.redmine.org/issues/10053?journal_id=356472012-01-31T08:56:39ZJordi Clariana
<ul></ul><p>Hi,</p>
Etienne, here you have more info:
<ul>
<li>Database Version: Mysql 5.1.49</li>
<li>Ruby Version: 1.8.7</li>
<li>Rails Version: 2.3.5</li>
<li>Redmine Version: 1.1.2 (I said it was 1.3.0, but I was looking at Help tab, and it was a redirection to redmine.org, I didn't notice it :S)</li>
</ul>
<p>I assume that the error stack trace is what I already posted.</p>
<p>About plugins I can't test it now (there's a lot of people working on this Redmine installation right now), but I'm preparing a test installation and I will try to reproduce the same error.</p> Redmine - Defect #10053: undefined method `<=>' for nil:NilClass when accessing the settings of a projecthttps://www.redmine.org/issues/10053?journal_id=356562012-01-31T09:18:45ZEtienne Massip
<ul><li><strong>Affected version (unused)</strong> set to <i>1.1.2</i></li><li><strong>Affected version</strong> set to <i>1.1.2</i></li></ul> Redmine - Defect #10053: undefined method `<=>' for nil:NilClass when accessing the settings of a projecthttps://www.redmine.org/issues/10053?journal_id=359982012-02-12T14:25:05ZJordi Clariana
<ul></ul><p>Finally I tested it without plugins, and I get the same error.<br />Increasing log to debug did not help either. I just see the last SQL query, but I don't think is important, because it's run by 'project.member_principals.find' function, and what is really failing here is the data handling (I guess).</p>
<p>Any ideas?</p>
<p>Thanks.</p> Redmine - Defect #10053: undefined method `<=>' for nil:NilClass when accessing the settings of a projecthttps://www.redmine.org/issues/10053?journal_id=359992012-02-12T14:57:12ZJean-Philippe Langjp_lang@yahoo.fr
<ul><li><strong>Category</strong> set to <i>Project settings</i></li><li><strong>Status</strong> changed from <i>New</i> to <i>Confirmed</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>You may have an inconsistent member (eg. member without roles) in your database and the sort method raises an error.<br />This should be fixed by <a class="changeset" title="Fixed potential error when sorting members without role (#10053)." href="https://www.redmine.org/projects/redmine/repository/svn/revisions/8863">r8863</a>.</p> Redmine - Defect #10053: undefined method `<=>' for nil:NilClass when accessing the settings of a projecthttps://www.redmine.org/issues/10053?journal_id=360052012-02-12T18:22:37ZJordi Clariana
<ul></ul><p>After applying the patch the error vanished and no further misfunction detected.<br />This is resolved to me.</p>
<p>Thanks.</p> Redmine - Defect #10053: undefined method `<=>' for nil:NilClass when accessing the settings of a projecthttps://www.redmine.org/issues/10053?journal_id=360072012-02-12T19:43:28ZJean-Philippe Langjp_lang@yahoo.fr
<ul><li><strong>Status</strong> changed from <i>Confirmed</i> to <i>Resolved</i></li><li><strong>Target version</strong> set to <i>1.3.2</i></li></ul><p>Thanks for the feedback.</p> Redmine - Defect #10053: undefined method `<=>' for nil:NilClass when accessing the settings of a projecthttps://www.redmine.org/issues/10053?journal_id=360082012-02-12T19:43:50ZJean-Philippe Langjp_lang@yahoo.fr
<ul><li><strong>Subject</strong> changed from <i>ActionView::TemplateError when accessing the settings of a project</i> to <i>undefined method `<=>' for nil:NilClass when accessing the settings of a project</i></li></ul> Redmine - Defect #10053: undefined method `<=>' for nil:NilClass when accessing the settings of a projecthttps://www.redmine.org/issues/10053?journal_id=364942012-03-05T12:46:00ZJean-Philippe Langjp_lang@yahoo.fr
<ul><li><strong>Status</strong> changed from <i>Resolved</i> to <i>Closed</i></li></ul><p>Merged.</p> Redmine - Defect #10053: undefined method `<=>' for nil:NilClass when accessing the settings of a projecthttps://www.redmine.org/issues/10053?journal_id=980242020-06-01T12:46:16ZGo MAEDA
<ul><li><strong>Related to</strong> <i><a class="issue tracker-1 status-5 priority-4 priority-default closed" href="/issues/32704">Defect #32704</a>: ActionView::Template::Error (undefined method `position' for nil:NilClass):</i> added</li></ul>