Redmine: Issueshttps://www.redmine.org/https://www.redmine.org/favicon.ico?16793021292010-05-25T07:49:32ZRedmine
Redmine Redmine - Defect #5587 (New): Custom fields 'required' not taking Tracker into accounthttps://www.redmine.org/issues/55872010-05-25T07:49:32ZOskar Nordquist
<p>Try adding a required custom field only valid for one tracker. Now when updating older issues for this tracker this will trigger an error message that this custom field is required. Fine, but this same error message is presented for all trackers, and as the custom field is invisible there is no way to update the issues.</p>
<p>I am using an old redmine version (pre 0.9, trunk 3171). I could not find a related issue so I do not know if this has been fixed already. Sorry in that case.</p> Redmine - Defect #5586 (New): Closing when marked as duplicate (also: closing model in general)https://www.redmine.org/issues/55862010-05-24T21:46:31ZYang Zhang
<p>In most other tracking software, marking a bug as a duplicate closes that bug. More precisely, you can close an issue and cite a reason, and the reason may be that it's a duplicate of something else.</p>
<p>That, to me, makes a lot more sense than what Redmine offers. In Redmine, leaving duplicates open causes all these duplicates to remain in the default issues view, cluttering up the view. Thus we have to additionally remember to close each issue when marking as duplicate.</p>
<p>Also, more generally speaking, would these "reasons for closing" models make more sense? E.g., I should be able to Close a bug with the reason of Reject or Fixed.</p> Redmine - Defect #5560 (New): Changing System Time Zone Causes Issue Updates to Change Orderhttps://www.redmine.org/issues/55602010-05-19T19:32:52ZChris Haverman
<p>We installed Redmine on a VPS that had its time zone set at one value. We changed it to match our local time. Subsequently, I noticed that new issue updates were out of order on the page.</p>
<p>Is this a defect?</p>
<table>
<tr>
<td>Database</td>
<td>MySQL 5.0.75</td>
</tr>
<tr>
<td>Ruby</td>
<td>1.8.7</td>
</tr>
<tr>
<td>Rails</td>
<td>2.3.5</td>
</tr>
<tr>
<td>Redmine</td>
<td>0.8.7</td>
</tr>
</table> Redmine - Defect #5546 (New): Password match check in use when changing to ldaphttps://www.redmine.org/issues/55462010-05-18T10:23:52ZJavier Turégano Molina
<p>When an administrator changes the authentication schema for an user to ldap, the system still checks if the password boxes match, as if you were trying to change them.</p>
<p>This ends with an error if you don't enter the second password field and this is not necessary because it will be checked against the ldap tree.</p> Redmine - Defect #5545 (New): Active Directory user account with a password {space} failed LDAP a...https://www.redmine.org/issues/55452010-05-18T09:23:21ZHansen Ler
<p>Tested with Redmine v0.9.4.</p>
<p>Under Settings > Authentication<br />Minimum password length: 1</p>
<p>AD User: test<br />AD Password: {space}</p>
<p>LDAP Authentication failed.</p>
<p>I've tested with manual User account by creating a new user with a password {space} which works fine. Doesn't seem to have this issue if we are using {space} as password. LDAP authentication with {space} and one character causes an issue.</p>
<p>However, if we change the following:</p>
<p>Under Settings > Authentication<br />Minimum password length: 2</p>
<p>AD User: test<br />AD Password: {space}1<br />LDAP Authentication success!</p>
<p>Password has to be accompanied with a character if space has is to be used. Curious, I tried a special character as password for the AD using '@'. It passes.</p>
<p>I usually use space as password for test users, so it's easy for them to login.</p>
<p>Conclusion: Issue with parsing {space} password with AD?</p> Redmine - Defect #5513 (New): The length of Name filed in add new category does not match max lengthhttps://www.redmine.org/issues/55132010-05-12T12:58:50ZAaron Parks
<p>When typing in a value into the Name field of "Add New Category" it is possible to get a "Name is to long (Maximum is 30 characters)" Error even though the entire entered value can be seen in the text box.</p>
<p>It would be better if the number of columns in the the text box was equal in length to the number of valid characters.</p> Redmine - Defect #5475 (Confirmed): Non conformances with W3C xhtml transitional standardshttps://www.redmine.org/issues/54752010-05-08T16:52:20ZAlain Alain091
<p>I have made some verifications with W3C validator.</p>
<p>I found some erros like :<br />- input tag doesn't close with /><br />- checkboxes' groups could have the same id due the fact that id is build automaticaly from the name. As the name is an array, the id is the same.</p>
<p>Mainly are erros in ROR</p>
<p>Is there a rule to apply for managing overridings of ROR method's<br />waiting official fixes.</p> Redmine - Defect #5400 (New): Incoming Mails bounce with "permission denied. Command output: warn...https://www.redmine.org/issues/54002010-04-29T10:34:12ZErwin Schliske
<p>Hello,</p>
<p>in my installation incoming mails work for developers and admingroup memebers.</p>
<p>But if a reporter or a non-member answers to an email from redmine to create a ticketcomment the mail bounces.</p>
<p>In the postfixlog I find following entry:</p>
<p>Apr 29 10:56:47 ticket postfix/local<sup><a href="#fn25055">25055</a></sup>: 66CF9A4603: to=<<a class="email" href="mailto:redmine@ticket.xxx.de">redmine@ticket.xxx.de</a>>, relay=local, delay=0.78, delays=0.05/0.02/0/0.71, dsn=5.7.0, status=bounced (permission denied. Command output: warning: peer certificate won't be verified in this SSL session Request was denied by your Redmine server. Possible reasons: email is sent from an invalid email address or is missing some information. )</p>
<p>Reporter and non-member have the permissions to create comments. Via webinterface they can do this without problems.</p>
<p>Redmine: 0.9.3.stable (MySQL)<br />DB: MySQL 5.0.51a<br />Ruby: 1.8.5 (2006-08-25) [i386-linux]<br />Rails: 2.3.5</p>
<p>Processing MailHandlerController#index (for 1.2.3.4 at 2010-04-29 11:37:26) [POST]<br /> Parameters: {"no_permission_check"=>"", "unknown_user"=>"", "allow_override"=>"priority,status,tracker,project", "key" <br />=>"kX7eDl79HJoCtfYULyqW", "email"=>"From <a class="email" href="mailto:testuser@xxx.com">testuser@xxx.com</a> Thu Apr 29 11:37:25 2010\nReturn-Path: <<a class="email" href="mailto:testuser@xxx.com">testuser@xxx.com</a>>\n<br />X-Original-To: <a class="email" href="mailto:redmine@ticket.xxx.de">redmine@ticket.xxx.de</a>\nDelivered-To: <a class="email" href="mailto:redmine@ticket.xxx.de">redmine@ticket.xxx.de</a>\nReceived: from turms.<br />xxx.com (turms.xxx.com [5.6.7.8])\n\tby ticket.xxx.de (Postfix) with ESMTP id D4169A4605\n\tfor <re<br /><a class="email" href="mailto:dmine@ticket.xxx.de">dmine@ticket.xxx.de</a>>; Thu, 29 Apr 2010 11:37:25 +0200 (CEST)\nReceived: from localhost (amavis.xxx.com [1.<br />2.3.4])\n\tby localhost (Postfix) with ESMTP id 17E3B39351BD\n\tfor <<a class="email" href="mailto:redmine@support.xxx.com">redmine@support.xxx.com</a>>; Thu, 29 Apr 2010 <br />11:37:27 +0200 (CEST)\nReceived: from turms.xxx.com ([172.22.0.34])\n\tby localhost (amavis.xxx.com [172.22.0.32]) (am<br />avisd-new, port 10024)\n\twith ESMTP id jF7kr7VxHZvJ for <<a class="email" href="mailto:redmine@support.xxx.com">redmine@support.xxx.com</a>>;\n\tThu, 29 Apr 2010 11:37:25 +0<br />200 (CEST)\nReceived: from exchange02.xxx.local (exchange02.xxx.local [1.2.3.4])\n\tby turms.xxx.com (Postfix) wit<br />h ESMTP\n\tfor <<a class="email" href="mailto:redmine@support.xxx.com">redmine@support.xxx.com</a>>; Thu, 29 Apr 2010 11:37:26 +0200 (CEST)\nReceived: from EXCHANGE02.xxx.loc<br />al ([127.0.0.1]) by exchange02 ([127.0.0.1])\n with mapi; Thu, 29 Apr 2010 11:37:25 +0200\nFrom: Testuser <testuser@xxx<br />.com>\nTo: \"<a class="email" href="mailto:redmine@support.xxx.com">redmine@support.xxx.com</a>\" <<a class="email" href="mailto:redmine@support.xxx.com">redmine@support.xxx.com</a>>\nDate: Thu, 29 Apr 2010 11:37:10 +0200\nSubje<br />ct: AW: [Infos und Anfragen - Videocache <a class="issue tracker-2 status-5 priority-4 priority-default closed" title="Feature: Delete files (Closed)" href="https://www.redmine.org/issues/304">#304</a>] (Neu) testticket\nThread-Topic: [Infos und Anfragen - Videocache <a class="issue tracker-2 status-5 priority-4 priority-default closed" title="Feature: Delete files (Closed)" href="https://www.redmine.org/issues/304">#304</a>] (Neu) testticket\nThread-Index: Acrnf21+LLUqa/+5T/qkA/c8urX7kgAAB0qz\nMessage-ID: <E86856A81536EA47924D7C809C11E5E53D8204F<br />9@exchange02>\nReferences: <<a class="email" href="mailto:redmine.issue-304.20100429113620@support.xxx.com">redmine.issue-304.20100429113620@support.xxx.com</a>>\nIn-Reply-To: <redmine.issue-304.2010<br /><a class="email" href="mailto:0429113620@support.xxx.com">0429113620@support.xxx.com</a>>\nAccept-Language: de-DE\nContent-Language: de-DE\nX-MS-Has-Attach:\nX-MS-TNEF-Correlato<br />r:\nacceptlanguage: de-DE\nContent-Type: text/plain; charset=\"iso-8859-1\"\nContent-Transfer-Encoding: quoted-printable<br />\nMIME-Version: 1.0\n\nComment 1\n________________________________________\nVon: <a class="email" href="mailto:redmine@support.xxx.com">redmine@support.xxx.com</a> [redmine@s<br />upport.xxx.com]\nGesendet: Donnerstag, 29. April 2010 11:36\nBetreff: [Infos und Anfragen - Videocache <a class="issue tracker-2 status-5 priority-4 priority-default closed" title="Feature: Delete files (Closed)" href="https://www.redmine.org/issues/304">#304</a>] (Neu) testticket\n\nTicket <a class="issue tracker-2 status-5 priority-4 priority-default closed" title="Feature: Delete files (Closed)" href="https://www.redmine.org/issues/304">#304</a> wurde erstellt by Testuser Test.\n\n----------------------------------------\nVideocache <a class="issue tracker-2 status-5 priority-4 priority-default closed" title="Feature: Delete files (Closed)" href="https://www.redmine.org/issues/304">#304</a>: testticket\nhttps://ticket.xxx.de/issues/304\n\nAutor: Testuser Test\nStatus: Neu\nPriorit=E4t: Normal\nZug<br />/my/account\n"}<br />Completed in 28ms (View: 0, DB: 2) | 422 Unprocessable Entity [<a class="external" href="https://ticket.xxx.de/mail_handler">https://ticket.xxx.de/mail_handler</a>]</p> Redmine - Defect #5398 (New): Can not reschedule the start date of following issues at oncehttps://www.redmine.org/issues/53982010-04-29T06:44:19Ztengel liu
<p>after changed the due_date of a issue, it can not update the start_date of the following issues at once.<br />it seemed that those start_date will be updated after next changed of the due_date of current issue.</p>
<p>I have tried move the reschedule_following_issues to after_save, seemed can work.</p> Redmine - Defect #5384 (New): Subtickets not showing properly in issue listhttps://www.redmine.org/issues/53842010-04-26T15:57:54ZHelge Jung
<p>I'm using Redmine trunk (<a class="changeset" title="Refactor: Extract duplicated code to a new method." href="https://www.redmine.org/projects/redmine/repository/svn/revisions/3689">r3689</a>) and tried out the Subtickets feature. I noticed that the intending of subtickets in the issue list only works if the parent issue has a higher issue id than the child issue (e.g. issue 42 being a subticket of issue 23 doesn't work, but 23 being a subticket of 42 does).</p>
<p>Another user also has this issue - see his comment for screenshots showing the problem: #443#note-203 (note-203)</p> Redmine - Defect #5362 (New): Export Issue-List to Pdf with Custom Field does not wraphttps://www.redmine.org/issues/53622010-04-21T09:22:53ZChristian Sowada
<p>I've added a custom field with large text to create a change log list for our customers.<br />After that i've created a customised query with this column and want to export this as Pdf.<br />But the text doesn't wrap inside the cell.</p> Redmine - Defect #5357 (New): Git: SCM revisions ordered by date/time (should be reverse commit o...https://www.redmine.org/issues/53572010-04-20T13:53:44ZPieter Smith
<p>The repository browser displays the commit history sorted by date/time. When developers are working in different time-zones (or have a badly adjusted PC clocks), the commit sequence gets all jumbled up in the repository view.</p>
Reproduction:
<ol>
<li>Commit something to a GIT repo.</li>
<li>Set PC clock to <today> - <1 day>.</li>
<li>Commit something else.</li>
</ol> Redmine - Defect #5334 (New): MailHandler not processing incoming emails - Unprocessable Entityhttps://www.redmine.org/issues/53342010-04-16T11:20:05ZChris Platts
<p>Hi,</p>
<p>We recently updated to the latest trunk. Since then, incoming emails via the mailhandler.rb script are failing.</p>
<p>I tested with a small plain-text email to try to isolate the problem. The full log entry is below:</p>
<pre>
Processing MailHandlerController#index (for 172.16.68.33 at 2010-04-16 12:06:03) [POST]
Parameters: {"no_permission_check"=>"1", "unknown_user"=>"create", "allow_override"=>"", "issue"=>{"project"=>"sales", "tracker"=>"Sales Lead"}, "key"=>"OzbAo9T4lB6ehMiJy2Vm", "email"=>"From chris.platts@xxx.xxx Fri Apr 16 12:06:02 2010\nReturn-Path: <chris.platts@xxx.xxx>\nX-Original-To: xxxxx@localhost\nDelivered-To: rosetta-gw@localhost\nReceived: from chur-orp-lnx01.xxx.xx.xx (localhost [127.0.0.1])\n\tby xxxxx.localdomain (Postfix) with ESMTP id F198835C6AC\n\tfor <xxxxx@localhost>; Fri, 16 Apr 2010 12:06:01 +0100 (BST)\nX-Original-To: xxxxx@xxx.xxxxxxxxxx.xx.xx\nDelivered-To: xxxxx@xxx.xxxxxxxxxx.xx.xx\nReceived: from 192.168.10.101 [192.168.10.101]\n\tby xxxx.xxx.xx.xx with IMAP (fetchmail-6.3.8)\n\tfor <xxxxx@localhost> (single-drop); Fri, 16 Apr 2010 12:06:01 +0100 (BST)\nReceived: from asmtpout013.mac.com (asmtpout013.mac.com [17.148.16.88])\n\tby xxxxx.dsl.zen.co.uk (Postfix) with ESMTP id 2D2D038C076\n\tfor <xxxxx@xxx.xxxxxxxxx.xx.xx>; Fri, 16 Apr 2010 12:06:03 +0100 (BST)\nMIME-version: 1.0\nContent-transfer-encoding: 7BIT\nContent-type: text/plain; charset=us-ascii; format=flowed\nReceived: from [192.168.1.101] (xxxxx.xxx.xxx.xx.xx [xx.xxx.xxx.xxx])\n by asmtp013.mac.com\n (Sun Java(tm) System Messaging Server 6.3-8.01 (built Dec 16 2008; 32bit))\n with ESMTPSA id <0L0Y001RXUT01J30@asmtp013.mac.com> for\n xxxxx@xxx.xxxxxxxxxxx.xx.xx; Fri, 16 Apr 2010 04:05:29 -0700 (PDT)\nX-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0\n ipscore=0 phishscore=0 bulkscore=0 adultscore=0 classifier=spam adjust=0\n reason=mlx engine=5.0.0-0908210000 definitions=main-1004160061\nMessage-id: <26E4717E-92CE-404C-B53D-732B281029FF@mac.com>\nFrom: Chris Platts <chris.platts@xxx.xxx>\nTo: \"xxxxx@xxx.xxxxxxxxxx.xx.xx\" <xxxxx@xxx.xxxxxxxxx.xx.xx>\nX-Mailer: iPhone Mail (7E18)\nSubject: Test ticket via email\nDate: Fri, 16 Apr 2010 12:05:48 +0100\n\nPlease ignore.\n\nSent from my iPhone\n\n"}
Completed in 1534ms (View: 5, DB: 4) | 422 Unprocessable Entity [http://xxx.xx.xx.xx/mail_handler]
</pre>
<p>(I've left the \n line-break indicators in - apologies for the horizontal scrolling!)</p>
<p>That email looks very 'standard' -- I can't see anything there that would cause the message to be unprocessable.</p>
<p>My <code>script/about</code>:</p>
<pre>
About your application's environment
Ruby version 1.8.6 (i486-linux)
RubyGems version 1.3.6
Rack version 1.0
Rails version 2.3.5
Active Record version 2.3.5
Active Resource version 2.3.5
Action Mailer version 2.3.5
Active Support version 2.3.5
Application root /var/redmine-latest
Environment development
Database adapter mysql
Database schema version 20100313171051
About your Redmine plugins
Timesheet Plugin 0.5.0
Stuff To Do Plugin 0.3.0
Redmine Charts 0.1.0
Redmine Exception Handler plugin 0.2.0
Redmine My Widgets plugin 0.1.0
Rate Plugin 0.1.0
ezFAQ plugin 0.3.5
Redmine Repo Pygments plugin 0.0.2
Redmine ezLibrarian plugin 0.1.1
Redmine Stealth plugin 0.1.0
Redmine System Notification plugin 0.2.0
Redmine Graphs plugin 0.1.0
Embedded 0.0.1
Tab Plugin 0.3.1
Budget 0.2.0
Redmine Wiki Extensions plugin 0.1.3
</pre>
<p>Thanks!<br />Chris</p> Redmine - Defect #5327 (Reopened): Auth source LDAP parameters being filled incorrectlyhttps://www.redmine.org/issues/53272010-04-15T13:06:04ZRadek Antoniuk
<p>if you go to the page of LDAP auth source configuration, the username/password fields are automatically pre-filled with current credentials.<br />which is wrong, because they are optional.</p>
<p>if you firstly define LDAP auth source (without user/pass).<br />then go again to edit the settings and click save (without clearing the username/password fields)<br />and then it fucks up the configuration because it saves my credentials for LDAP connection.</p> Redmine - Defect #5273 (New): Unable to configure PluginSimpleCI plugin - custom fields list is e...https://www.redmine.org/issues/52732010-04-08T14:58:19ZAlexander Zhovnuvaty
<p>Was not able to select specific project custom field value in 'Project custom field storing CI feed URL' combo box. Here is a scenario on how to reproduce this issue:</p>
<p>1. Install patch using next URL: <a class="external" href="http://www.redmine.org/wiki/redmine/PluginSimpleCI">http://www.redmine.org/wiki/redmine/PluginSimpleCI</a> ;<br />2. Go to Administration -> Custom Fields and add new item (Name: "CI feed URL", Format: Text, Length: 0-1000, Assigned to the only tracker);<br />3. Go to Administration -> Plugins -> Configure.<br />Current behavior: "Project custom field storing CI feed URL" list is empty;<br />Expected behavior: The list contains the custom field.</p>
<p>Below you may find the environment properties where this issue is appeared:</p>
<p>C:\redmine-0.9.3>C:\ruby\bin\ruby.exe script/about<br />About your application's environment<br />Ruby version 1.8.6 (i386-mswin32)<br />RubyGems version 1.3.1<br />Rack version 1.0<br />Rails version 2.3.5<br />Active Record version 2.3.5<br />Active Resource version 2.3.5<br />Action Mailer version 2.3.5<br />Active Support version 2.3.5<br />Application root C:/redmine-0.9.3<br />Environment development<br />Database adapter postgresql<br />Database schema version 20100221100219</p>
<p>About your Redmine plugins<br />Stuff To Do Plugin 0.2.0<br />Screenshot Paste 1.0.2<br />Simple CI 1.0</p> Redmine - Defect #5236 (New): Can't browse SVN of private project w/o giving a login and pass in ...https://www.redmine.org/issues/52362010-04-02T07:08:23ZAnthony Paul
<p>Hi,</p>
<p>After many testings, it seems one can't browse the repository of a private project if no login/password have been set in the Settings/Repository tab of that project. (and so, even if the user currently logged on Redmine is Manager of that project).</p>
<p>The login/password of that tab is stored in plain text in the repositories table.<br />I think it could be interesting if Redmine.pm gives access on all repositories to the Redmine host then check if the logged user is part of the project requested (maybe we just need to check if the current user is part of members, and then maybe no need to store the password)</p>
<p>Actually, I don't know if it is a bug or if I should request a new feature.</p>
<p>I posted more details in the forum: <a class="message" href="https://www.redmine.org/boards/2/topics/12645">[Patch?] Browse private repositories without supplying lo...</a></p> Redmine - Defect #5230 (New): Invalid form authenticity token.https://www.redmine.org/issues/52302010-04-01T09:44:18ZPetr Pospisil
<p>Try to click on "Login" button more than once. Message "Invalid form authenticity token" will be appeared.</p> Redmine - Defect #5211 (Confirmed): Gantt to PDF not working with subtaskinghttps://www.redmine.org/issues/52112010-03-29T21:56:43ZEnderson Maia
<p>When export a gantt chart to PDF, there's no black bar for the parent-issue, and subtasks are not idented.</p>
<p>Since the limitation of characters for the issue title in PDF is shorter than in HTML, maybe instead of identing you could use symbols for sub-levels.</p>
<pre>
# Parente Task
+ 1st level subtask
- 2nd level subtask
. 3rd level subtask
</pre> Redmine - Defect #5124 (New): Errors in formatting of texts 2.https://www.redmine.org/issues/51242010-03-19T15:02:33ZMike Stupalov
<ul>
<li>inline links (urls and mailto) with leading "!" does not display correctly<br />(be displayed as text without a leading "!"):
<table>
<tr>
<td><code>!ya.mail@example.org</code></td>
<td><a class="email" href="mailto:!ya.mail@example.org">!ya.mail@example.org</a></td>
</tr>
<tr>
<td><code>!http://ya.url.com/</code></td>
<td> !http://ya.url.com/</td>
</tr>
</table></li>
</ul>
<ul>
<li>strange appearance of the code block, where it should not be. Paste the text into a new wiki page and see the result:<br /><pre>
h2. header
2.2. item
a. subitem
</pre></li>
</ul>
<ul>
<li>tables are not created, if at the end there is no blank line:</li>
</ul>
<p>|1|1|1|
|1|1|1|<br />zc<br /><pre>
|1|1|1|
|1|1|1|
zc
</pre></p>
<ul>
<li>and repeating the error mentioned in another ticket <a class="issue tracker-1 status-5 priority-5 priority-high2 closed" title="Defect: Errors in formatting of texts. (Closed)" href="https://www.redmine.org/issues/5045">#5045</a>:
<table>
<tr>
<td><code>*(100 - Ksp)/100*</code> </td>
<td><strong class="wiki-class-100 wiki-class-- wiki-class-Ksp">/100</strong> </td>
</tr>
<tr>
<td><code>* (100 - Ksp) /100*</code></td>
<td>* 100 - Ksp /100*</td>
</tr>
</table></li>
</ul> Redmine - Defect #5118 (New): "Follow"ing issues not updated on preceding issue changehttps://www.redmine.org/issues/51182010-03-18T14:33:31ZRahul Srivastava
<p>Hi,</p>
<p>I did the following using Redmine:-<br />1) Created a set of issues A and B<br />2) Set the time of A from 18th to 20th.<br />2) Set the condition that B always follows A which means B now has the time 21st to 22nd.</p>
<p>The dates were accordingly updated. Now I did the following:-<br />1) Created a new issue C from 18th to 20th.<br />2) Set the condition that A follows C which means A is updated to 21st to 22nd.</p>
<p>Ideally in this case, both A and B should be "shifted" to newer dates. But currently only A is getting updated from 21st to 22nd which leads to a clash between A and B(21st to 22nd). Should I use something else to force B to be updated too?</p> Redmine - Defect #5114 (Reopened): New issue statuses not showing up in old workflowshttps://www.redmine.org/issues/51142010-03-18T04:56:43ZJames Turnbull
<p>In trunk (<a class="changeset" title="Fixes undefined method 'notes' error from r3594" href="https://www.redmine.org/projects/redmine/repository/svn/revisions/3596">r3596</a>) if I add a new issue status it does not appear in the Administrator -> Workflow work flow check-box forest for each trunk. If I create a new tracker then the new issue status is present but old tracker do not get the new status.</p> Redmine - Defect #5071 (New): Redmine.pm, setting RedmineCacheCredsMax option causes Apache 2.2.1...https://www.redmine.org/issues/50712010-03-14T00:15:34ZBryce Nordgren
<p>Running XAMPP for windows 1.7.3, which includes: Apache 2.2.14 and Perl 5.10.1. OS is Windows XP.</p>
<p>When <code>Redmine.pm</code> is used to control access for Subversion repositories and the <code>RedmineCacheCredsMax</code> option is uncommented (I have it set to 50), Apache crashes on restart. The following is found in <code>error.log</code>:</p>
<pre>
Free to wrong pool 22dabf8 not 1685fe8, <DATA> line 365.
Free to wrong pool 22dabf8 not 1685fe8, <DATA> line 365.
Free to wrong pool 22daa60 not 1685fe8, <DATA> line 365.
</pre>
<p>The same behavior is present with the modified version of <code>RedmineAdvanced.pm</code> found on <a class="issue tracker-3 status-1 priority-4 priority-default" title="Patch: enhanced mod_perl module for apache (New)" href="https://www.redmine.org/issues/3712">#3712</a>. Apache <Location> directive attached.</p> Redmine - Defect #5070 (New): Redmine.pm does not allow Administrators to access svn repositorieshttps://www.redmine.org/issues/50702010-03-13T22:49:31ZBryce Nordgren
<p>The following SQL code does not detect that a user is an Administrator and denies access:<br /><pre>
my $query = "SELECT
hashed_password, auth_source_id, permissions
FROM members, projects, users, roles, member_roles
WHERE
projects.id=members.project_id
AND member_roles.member_id=members.id
AND users.id=members.user_id
AND roles.id=member_roles.role_id
AND users.status=1
AND login=?
AND identifier=? ";
</pre></p>
<p>Adding myself as a member of the project within redmine permitted access.</p>
<p>Note there is a related issue: <a class="issue tracker-3 status-1 priority-4 priority-default" title="Patch: enhanced mod_perl module for apache (New)" href="https://www.redmine.org/issues/3712">#3712</a>, where someone has uploaded an "improved version" of Redmine.pm, having significantly enhanced features. I will try this version next, to see if it allows Redmine administrators to have access to the Redmine-managed subversion repositories. Perhaps it would be worth accepting the improved version into the main distribution as an easy fix for this issue (if it works)?</p> Redmine - Defect #5053 (New): Project deletion thinks 2 projects are relatedhttps://www.redmine.org/issues/50532010-03-11T17:20:12ZBruno Prado
<p>This test was done: there were 3 projects (say, teste, teste1, teste2), independent, none was child or father of any other. Project teste had some children and father. All this structure was removed, letting just teste2 and teste3. Now, when I try to remove teste1, Redmine thinks teste2 is subproject of teste1. See images attached.</p> Redmine - Defect #5020 (New): Advanced Subversion Integration Howto is confusinghttps://www.redmine.org/issues/50202010-03-09T19:41:09ZKirk Stork
<p>The howto <a class="wiki-page" href="https://www.redmine.org/projects/redmine/wiki/HowTo_Automate_repository_creation">HowTo Automate repository creation</a> is confusing with respect to required software, and inconistent with respect to the reposman.rb arguments.</p>
<p>I would just edit the wiki, but I haven't been able to get this working, so obviously I'm not qualified to do that.</p>
<p>Examples:</p>
<ol>
<li>Is a perl module required or not? If so, what is it and where does one get it? The howto mentions a perl module and suggests it is needed, but then says the new reposman.rb supersedes it. I don't have one installed, but I can't tell if this is the source of my troubles or not.</li>
<li>The argument 'key' is listed as a required argument, but does not appear in the example command lines. Is it required or not?</li>
<li>The argument 'redmine-host' is listed as a mandatory argument, but the examples do not use it (they use 'redmine'). Which of these is correct?</li>
</ol>
<p>Additionally, it would be helpful to address the case where the redmine installation is in a sub-url, like</p>
<p><a class="external" href="http://my.server.com/redmine">http://my.server.com/redmine</a></p>
<p>Does the howto apply to that case? What is the proper way to specify the 'redmine-host' argument in this case?</p>
<p>When following the instructions to the best of my ability (using the optional argument --owner _www on OSX server), i get the error</p>
<p><code>sudo ruby reposman.rb --redmine-host my.server.com/redmine --svn-dir /Library/Repositories/svn/ --key keymaterial --owner _www<br /></code></p>
<p><code>unable to create /Library/Repositories/svn/project name : can't find group for root</code></p>
<p>Is it me, or is it the howto?</p>
<p>Finally, the section on security suggests there's a need to make a httpd.conf entry to secure the WS. But there's no mention of the key in this discussion. Isn't the key the means to secure the web service? With a key in use, is the <Location> entry needed? If so, should it look like the one presented?</p>
<p>Thanks - clearly if I could this working it makes a powerful combination and an important feature for Redmine.</p>
<p>Database: Ver 14.12 Distrib 5.0.82, for apple-darwin10.0 (i386) using EditLine wrapper<br />Ruby: ruby 1.8.7 (2008-08-11 patchlevel 72) [universal-darwin10.0]<br />Rails 2.3.5<br />svn, version 1.6.5 (r38866)</p> Redmine - Defect #5016 (New): link_to_if_authorized does not display an authorized linke if passi...https://www.redmine.org/issues/50162010-03-09T13:50:25ZJeff Cantrill
<p>The <strong>link_to_if_authorized</strong> helper method does not return the anchor tag for an authorized user if it is passed a named url (e.g)</p>
<p><code> link_to_if_authorized('my label', my_named(path(@project),:class=>'icon)</code></p>
<p>The call passes <code>options[:action]</code> to <strong>authorize_for</strong> which is nil</p> Redmine - Defect #4994 (New): Issue global custom fields should be available in filters only for ...https://www.redmine.org/issues/49942010-03-05T14:50:45ZVitaly Klimov
<p>Although it is possible to select trackers in which custom fields with <strong>for all projects</strong> flag set present, those fields available as the filters in the query dialog. Also they are included in the <strong>Query.available_columns</strong> enumeration.</p>
<p>For example, you have custom field named <strong>Type</strong> which is required for all projects but only for tracker <strong>Bugs</strong>. Then you have project <strong>Details</strong> which <ins>does not have</ins> tracker <strong>Bugs</strong>, but custom field type available as filter in this project anyway.</p>
<p>In my code i used following workaround:</p>
<pre><code class="ruby syntaxhl">
<span class="k">def</span> <span class="nf">column_exists_for_project?</span><span class="p">(</span><span class="n">column</span><span class="p">,</span> <span class="n">project</span><span class="p">)</span>
<span class="k">return</span> <span class="kp">true</span> <span class="k">unless</span> <span class="p">(</span><span class="n">column</span><span class="p">.</span><span class="nf">is_a?</span><span class="p">(</span><span class="no">QueryCustomFieldColumn</span><span class="p">)</span> <span class="o">&&</span> <span class="n">project</span> <span class="o">!=</span> <span class="kp">nil</span><span class="p">)</span>
<span class="n">project</span><span class="p">.</span><span class="nf">trackers</span><span class="p">.</span><span class="nf">each</span> <span class="k">do</span> <span class="o">|</span><span class="n">t</span><span class="o">|</span>
<span class="n">t</span><span class="p">.</span><span class="nf">custom_fields</span><span class="p">.</span><span class="nf">each</span> <span class="k">do</span> <span class="o">|</span><span class="n">c</span><span class="o">|</span>
<span class="k">return</span> <span class="kp">true</span> <span class="k">unless</span> <span class="n">c</span><span class="p">.</span><span class="nf">id</span> <span class="o">!=</span> <span class="n">column</span><span class="p">.</span><span class="nf">custom_field</span><span class="p">.</span><span class="nf">id</span>
<span class="k">end</span>
<span class="k">end</span>
<span class="k">return</span> <span class="kp">false</span>
<span class="k">end</span>
</code></pre>
<p>I am using <a class="changeset" title="Adds new Rails strings." href="https://www.redmine.org/projects/redmine/repository/svn/revisions/3285">r3285</a> of Redmine</p> Redmine - Defect #4956 (New): Proejct Settings submenu disappearing when viewing another controllerhttps://www.redmine.org/issues/49562010-03-01T16:45:59ZAaron Fischer
To reproduce:
<ul>
<li>Click on the Configuration tab of a project</li>
<li>Click on Versions</li>
<li>Click on "New version"</li>
</ul>
<p>The configuration menu-items disappear on this page</p>
<p>Same Problem on "New Ticket category" and "New forum"</p> Redmine - Defect #4953 (Confirmed): "In the past N days" filter displays N+1 dayshttps://www.redmine.org/issues/49532010-03-01T09:26:54ZGiuliano Simoncelli
<p>Go in /time_entries/report (all projects)<br />Select "Last 7 days" <br />Select "days" in details, add something, the report shows and sums 8 days.</p> Redmine - Defect #4825 (New): Several related bugs relating to registration, sign in and account ...https://www.redmine.org/issues/48252010-02-13T02:25:51Zoliver stieber
<p>Hi, these bugs / feature requests which I consider to be more none crash bug like are fairly well related and all relate to the same activity which I was trying to perform so I've filed them as one bug report but you will probably want to split them up in to several and relate them together as desired.</p>
<p>went to register (<a class="external" href="http://www.redmine.org/account/register)and">http://www.redmine.org/account/register)and</a> got the following message when I posted the form<br />'Invalid form authenticity token.'</p>
<p>Thought this may be because I was already registered so went to sign in (<a class="external" href="http://www.redmine.org/login)got">http://www.redmine.org/login)got</a> the following message</p>
<p>'Invalid form authenticity token.'</p>
<p>Thought the problem may be because I was using Konqueror so tried firefox.</p>
<p>clicked on submit once, didn't appear to do anything just reloaded register page</p>
<p>clicked on submit again</p>
<p>This time got the message 'Login has already been taken'</p>
<p>So went to sign in, put in exactly the same Username and password I did in the register page and signed in ok.</p>
<p>updated my email address (I used my work email address when I first registered and no longer work there)</p>
<p>clicked on sae and firefox (Mozilla Firefox 3.5.7, Copyright (c) 1998 - 2009 mozilla.org) closed (no error message /crash message either in X or on the terminal `I started firefox fro mthe terminal`)</p>
<p>If the credentials entered in the register page the register page should<br />a: log you in and tell you that you already had an account.<br />b: update any information that is now different,<br />prohaps it should firstly ask you if you name has changed reciently if the firstname and lastname no longer match.<br />and ask you if you may have changed your email address latley too if the email address doesn't match, if the first name and last name matched the existing registration it may be an idea to display the old email address and ask the user which one they want to use.</p>
<p>There's an option to remember / remain logged in, there should really be an associated list of options (drop down box etc...) so that the user can select to just rememberthe user name, lock to this ip, make persistant till midnight, for a day, for a week, forever, until the sign out, untill they close the browser etc.. There should also be a way of stopping it being remembered without the user having to delete cookies (this is especially required since firefox 'stupidly' now blocks sites when you remove cookies from them without prompting which makes it a pain in the arse to get cookies working again and user who don't know about things like that may never figure out what going on and why the redmine site no longer works.</p>
<p>Also, the user account preferences should have an option to return to the last page viewed etc... when they next login or if they are automatically logged in. This is really handy and very desireable if the reason they left the redmin site is because the browser crashed or the power went etc....</p> Redmine - Defect #4766 (New): Bad PDF files and SQL queries generated under certain localeshttps://www.redmine.org/issues/47662010-02-08T13:31:11ZJosef Grahn
<p>When running the latest stable version (0.9.2 from branches/0.9-stable) of Redmine with a Swedish locale (and likely others), PDF export as well as some SQL queries appear to stop working after the system has been in use for a while (typically a few hours).</p>
<p>Immediately after the server has been restarted, everything works fine. However, after certain, yet to be determined functions have been used in the web interface (but seemingly at least after having added a "New issue"), exported PDF files and some SQL queries start to become corrupt. This appears to have to do with floating point numbers being encoded as "123,45" rather than "123.45".</p>
<p>My best guess is that some code path inadvertently changes the locale used by sprintf(), which results in comma being used as decimal separator character instead of point. Consequently, SQL statements containing floating point values, as well as PDF files generated by the system, suddenly get invalid syntax (or valid but with a different meaning).</p>
<p>Exact version of Redmine:</p>
<p>URL: svn://rubyforge.org/var/svn/redmine/branches/0.9-stable<br />Archive UUID: e93f8b46-1217-0410-a6f0-8f06a7374b81<br />Revision: 3394</p>
<p>Output from script/about:</p>
<p>About your application's environment<br />Ruby version 1.8.6 (x86_64-linux)<br />RubyGems version 1.3.5<br />Rack version 1.0<br />Rails version 2.3.5<br />Active Record version 2.3.5<br />Active Resource version 2.3.5<br />Action Mailer version 2.3.5<br />Active Support version 2.3.5<br />Application root /opt/redmine/redmine-0.9<br />Environment production<br />Database adapter mysql<br />Database schema version 20091227112908</p>
<p>System locale:</p>
<p>LANG=sv_SE.UTF-8<br />LC_CTYPE="sv_SE.UTF-8" <br />LC_NUMERIC="sv_SE.UTF-8" <br />LC_TIME="sv_SE.UTF-8" <br />LC_COLLATE="sv_SE.UTF-8" <br />LC_MONETARY="sv_SE.UTF-8" <br />LC_MESSAGES="sv_SE.UTF-8" <br />LC_PAPER="sv_SE.UTF-8" <br />LC_NAME="sv_SE.UTF-8" <br />LC_ADDRESS="sv_SE.UTF-8" <br />LC_TELEPHONE="sv_SE.UTF-8" <br />LC_MEASUREMENT="sv_SE.UTF-8" <br />LC_IDENTIFICATION="sv_SE.UTF-8" <br />LC_ALL=</p> Redmine - Defect #4731 (New): If I click the Update link too soon the update form is shown withou...https://www.redmine.org/issues/47312010-02-03T23:23:56ZEwan Makepeace
<p>We all know the problem - you think the issue has finished loading, hit the update link, and only get the update form shown with no issue details. Then you have to go back to review the latest details of the problem</p>
<p>Surely we could grey out the update link until loading is complete, or at least rename it to something like "Update Only" until after the page has loaded so I have the choice. This seemingly small tweak would have a huge impact.</p>
<p>[Aside - also PLEASE reconsider duplicating those action links at the bottom of the page as well as the top. What is with all this scroll to the end, scroll to the beginning to click update, scroll to the end to fill in the form workflows?]</p> Redmine - Defect #4725 (New): Error displaying Project's Settings when repository configuredhttps://www.redmine.org/issues/47252010-02-03T15:49:49Zthe abstrak
<p>After the migration from 0.8.7 to 0.9.1, Redmine display a 500 Internal Error when I click "Settings" on a project that have a repository (subversion).</p>
Before 0.9.1 (with 0.8.7):
<ul>
<li>The repository was configured with redmine 0.8.7 and work correctly.</li>
<li>Viewing repository work.</li>
<li>Settings can be displayed correctly.</li>
</ul>
After 0.9.1:
<ul>
<li>Viewing repository work!</li>
<li>Settings cannot be displayed at all on a project with a repository configured!</li>
<li>Settings can be displayed correctly on a project without repository.</li>
</ul>
<p>Log file :</p>
<pre>
ActionView::TemplateError (Missing host to link to! Please provide :host parameter or set default_url_options[:host]) on line #10 of app/views/projects/settings/_repository.rhtml:
7:
8: <div class="box tabular">
9: <p><label><%= l(:label_scm) %></label><%= scm_select_tag(@repository) %></p>
10: <%= repository_field_tags(f, @repository) if @repository %>
11: </div>
12:
13: <div class="contextual">
(eval):20:in `root_url'
app/helpers/repositories_helper.rb:149:in `subversion_field_tags'
app/helpers/repositories_helper.rb:124:in `send'
app/helpers/repositories_helper.rb:124:in `repository_field_tags'
app/views/projects/settings/_repository.rhtml:10:in `_run_rhtml_app47views47projects47settings47_repository46rhtml_locals_object_repository_tab'
app/views/projects/settings/_repository.rhtml:1:in `_run_rhtml_app47views47projects47settings47_repository46rhtml_locals_object_repository_tab'
app/views/common/_tabs.rhtml:24:in `_run_rhtml_app47views47common47_tabs46rhtml_locals_object_tabs'
app/views/common/_tabs.rhtml:23:in `each'
app/views/common/_tabs.rhtml:23:in `_run_rhtml_app47views47common47_tabs46rhtml_locals_object_tabs'
app/helpers/application_helper.rb:182:in `render_tabs'
app/views/projects/settings.rhtml:3:in `_run_rhtml_app47views47projects47settings46rhtml'
passenger (2.2.5) lib/phusion_passenger/rack/request_handler.rb:95:in `process_request'
passenger (2.2.5) lib/phusion_passenger/abstract_request_handler.rb:207:in `main_loop'
passenger (2.2.5) lib/phusion_passenger/railz/application_spawner.rb:378:in `start_request_handler'
passenger (2.2.5) lib/phusion_passenger/railz/application_spawner.rb:336:in `handle_spawn_application'
passenger (2.2.5) lib/phusion_passenger/utils.rb:183:in `safe_fork'
passenger (2.2.5) lib/phusion_passenger/railz/application_spawner.rb:334:in `handle_spawn_application'
passenger (2.2.5) lib/phusion_passenger/abstract_server.rb:352:in `__send__'
passenger (2.2.5) lib/phusion_passenger/abstract_server.rb:352:in `main_loop'
passenger (2.2.5) lib/phusion_passenger/abstract_server.rb:196:in `start_synchronously'
passenger (2.2.5) lib/phusion_passenger/abstract_server.rb:163:in `start'
passenger (2.2.5) lib/phusion_passenger/railz/application_spawner.rb:213:in `start'
passenger (2.2.5) lib/phusion_passenger/spawn_manager.rb:262:in `spawn_rails_application'
passenger (2.2.5) lib/phusion_passenger/abstract_server_collection.rb:126:in `lookup_or_add'
passenger (2.2.5) lib/phusion_passenger/spawn_manager.rb:256:in `spawn_rails_application'
passenger (2.2.5) lib/phusion_passenger/abstract_server_collection.rb:80:in `synchronize'
passenger (2.2.5) lib/phusion_passenger/abstract_server_collection.rb:79:in `synchronize'
passenger (2.2.5) lib/phusion_passenger/spawn_manager.rb:255:in `spawn_rails_application'
passenger (2.2.5) lib/phusion_passenger/spawn_manager.rb:154:in `spawn_application'
passenger (2.2.5) lib/phusion_passenger/spawn_manager.rb:287:in `handle_spawn_application'
passenger (2.2.5) lib/phusion_passenger/abstract_server.rb:352:in `__send__'
passenger (2.2.5) lib/phusion_passenger/abstract_server.rb:352:in `main_loop'
passenger (2.2.5) lib/phusion_passenger/abstract_server.rb:196:in `start_synchronously'
Rendering /usr/local/www/redmine/public/500.html (500 Internal Server Error)
</pre>
<p>Please try to fix...</p>
<p>How can I help you ?</p> Redmine - Defect #4682 (Confirmed): Completed version with wrong progress bar statushttps://www.redmine.org/issues/46822010-01-28T15:39:55ZChristiaan Kras
<p>I have a version inside a project which only contains 2 bugs/issues. Both of them were fixed and percentage of completement is both at 100%. Yet, as you can see in the screenshot, it shows 100% complete, but according to the progress bar 1 issue isn't closed yet. Which is actually.</p>
<p>I've tried setting the completement status to 90%, save, and set it back to a 100%. But no luck.</p>
<p>I've setup my Redmine instance to check the commit messages in my repository. When it says closes/fixes #<issue nr> it sets the status to resolved and at 100% ready/complete. This so far hasn't lead to any problems before.</p> Redmine - Defect #4657 (New): Wrong timestamp for import of entries of the last ChangeSet.https://www.redmine.org/issues/46572010-01-26T11:52:57ZKarl Heinz Marbaise
<p>If you decided to remove the configured SCM System and delete the entries (Settings - Repository) and press the delete button after that all entries in the database for SCM changes are removed.<br />If you like to redo this you have to go via Settings - Repository and configure the SCM system (in my case SVN) and reread the entries from the SCM system.<br />The problem is that an entry (changeset) which closes an item (via <pre> fixed #xxx</pre>) will be put into the database with the wrong timestamp...based on my experience it is the current timestamp instead of the timestamp of the changeset has been done (in SVN).<br />But this seemed to be only happen for the last changeset which is done via the first time import.</p> Redmine - Defect #4648 (New): Using repository comments to change issue status conflicts with wor...https://www.redmine.org/issues/46482010-01-25T13:24:04ZSebastian Cabot
<p>Consider the following status workflow options:<br />The Bug Tracker has both Resolved and Closed.<br />The Feature Tracker has only Closed.</p>
<p>If I configure the repository setting to use the fixes keyword to change the status to Resolved.<br />If I commit a change that says fixes <a class="issue tracker-1 status-5 priority-4 priority-default closed" title="Defect: Project identifiers must be lowercase (Closed)" href="https://www.redmine.org/issues/30">#30</a> and <a class="issue tracker-1 status-5 priority-4 priority-default closed" title="Defect: Project identifiers must be lowercase (Closed)" href="https://www.redmine.org/issues/30">#30</a> is a feature I will not be able to modify the status for that issue anymore (unless I change the workflow).</p>
<p>In my opinion it should be fixed to either allow different repository options per tracker (BEST)<br />Or to allow a status change hierarchy say first resolved than closed than x etc.<br />Or to allow specific status change from the comment (something like set <a class="issue tracker-1 status-5 priority-4 priority-default closed" title="Defect: Project identifiers must be lowercase (Closed)" href="https://www.redmine.org/issues/30">#30</a> closed) - Maybe this should be implemented anyways<br />Or not to change the status to a status that is not in the workflow.</p> Redmine - Defect #4588 (New): In status form of version view, link to issues results limited.https://www.redmine.org/issues/45882010-01-15T01:11:47ZKihyun Yun
<p>I shared several versions with two projects, one is parent, and the other is child. I defined these versions in child project.<br />And the parent project has some issues, and child too.</p>
<p>In parent project, the shared version is shown (GREAT), and it shows all issues from parent and child (NICE!!).</p>
<p>But I clicked the the issues link at status form of version view. Result of issue search condition is limited to child project.</p>
<p>Especially, two projects have different trackers and categories.</p>
<p>In link to user's issue results limited to child project because this version was defined at child project.</p>
<p>In roadmap view, link to version jumps to child projects version view.<br />But the result of issues retrieved from two projects.</p>
<p>In my humble opinion, the result must be retrieved from top most projects.<br />Or the result must be displayed more detail style.</p>
<p>For example.</p>
<table>
<tr>
<td>By category</td>
<td>Total</td>
<td>Project</td>
<td>Count</td>
<td>Graph </td>
</tr>
<tr>
<td> A </td>
<td> 10 </td>
<td> parent </td>
<td> 0 </td>
<td> </td>
</tr>
<tr>
<td> A </td>
<td> </td>
<td> child </td>
<td> 10 </td>
<td> --------- </td>
</tr>
<tr>
<td> B </td>
<td> 10 </td>
<td> parent </td>
<td> 5 </td>
<td> </td>
</tr>
<tr>
<td> B </td>
<td> </td>
<td> child </td>
<td> 5 </td>
<td> --------- </td>
</tr>
</table> Redmine - Defect #4544 (New): Wiki exported HTML has different CSS formatting to the originalhttps://www.redmine.org/issues/45442010-01-09T23:21:48ZBrad Rushworth
<p>Following on from <a class="issue tracker-1 status-5 priority-5 priority-high2 closed" title="Defect: Hide paragraph terminator ¶ at the end of headings on html export (Closed)" href="https://www.redmine.org/issues/4194">#4194</a>, I've noticed other formatting on the "Export to HTML" feature of wiki pages to be no working.</p>
Examples are:
<ul>
<li>HTML table borders</li>
<li>quoted indenting</li>
<li>source code quoting</li>
<li>inline images</li>
<li>etc</li>
</ul>
<p>See for yourself:</p>
<p><a class="external" href="http://www.redmine.org/wiki/redmine/FAQ">http://www.redmine.org/wiki/redmine/FAQ</a><br /><a class="external" href="http://www.redmine.org/wiki/redmine/FAQ?format=html&version=54">http://www.redmine.org/wiki/redmine/FAQ?format=html&version=54</a></p>
<p><a class="external" href="http://www.redmine.org/wiki/redmine/Features">http://www.redmine.org/wiki/redmine/Features</a><br /><a class="external" href="http://www.redmine.org/wiki/redmine/Features?format=html&version=15">http://www.redmine.org/wiki/redmine/Features?format=html&version=15</a></p>
<p>Is there a way to ensure that the exported HTML has the same CSS formatting as the original?</p> Redmine - Defect #4483 (New): LDAP authentication with Redmine doesn't return an error when crede...https://www.redmine.org/issues/44832009-12-24T19:45:17ZJoe Heck
<p>When incorrect credentials are used in LDAP authentication with Redmine, the search mechanism will always silently fail because the code in 0.8.7 doesn't check for bind success before searching.</p>
<p>I'm using ruby 1.8.5, rails 2.1.2, passenger 2.2.8, redmine 0.8.7, MySQL 5, on RHEL5.</p>
<p>I added the debugging line:<br /><pre>
logger.debug "Connection #{ldap_con} bind result was #{ldap_con.bind}" if logger && logger.debug?
</pre><br />to the code at /app/models/auth_source_ldap.rb to identify that the error occuring was incorrect credentials. However, silent failure seems to be a bug, especially since the "test" link on the auth_sources page appeared to work correctly.</p> Redmine - Defect #4472 (New): Escape <code> taghttps://www.redmine.org/issues/44722009-12-22T14:02:30ZMikhail Yakshin
<p>When using Textile-like wiki syntax, <code>pre</code> tag with <code>code</code> renders incorrectly. The simplest way to reproduce it is below:</p>
<pre>
<code>42</code><br /></pre>
<p>It yields the same output as from:<br /><pre>42</pre></p>
<p>What's more interesting, using <code>@</code> syntax with <code>code</code> inside makes renderer go absolutely crazy:</p>
<p><code><redpre#3></code></code></p>
<p>It outputs mysterious line:</p>
<p><code><redpre#3></code></p> Redmine - Defect #4448 (New): Subversion password cleanly visible in the process list and some logshttps://www.redmine.org/issues/44482009-12-18T16:10:57ZHolger Just
<p>When using a remote Subversion repository which requires a password, that password is readable in the system's process list as well as in the developer log. This is because Redmine uses the system-installed svn binaries which to my knowledge do only accept passwords with a command-line parameter. As the complete command line of every running process is freely visible to every (potentially malicious) other process on the same system, that process can gather the subversion credentials used by Redmine.</p>
<p>Unfortunately, the only complete fix which comes to my mind is to use the SWIG bindings to svn itself instead of the binary.</p>
<p>In short terms, we should at least mask the password in the log files which are normally written to disk world-readable. This is done using the supplied patch.</p>
<p>This patch leads to the following output of the development log during a RepositoriesController#show:</p>
<pre>
Processing RepositoriesController#show (for 127.0.0.1 at 2009-12-18 17:10:34) [GET]
Parameters: {"action"=>"show", "id"=>"testproject", "controller"=>"repositories"}
SQL (0.1ms) SELECT max("settings".updated_on) AS max_updated_on FROM "settings"
AnonymousUser Load (0.3ms) SELECT * FROM "users" WHERE ( ("users"."type" = 'AnonymousUser' ) ) LIMIT 1
Setting Load (0.1ms) SELECT * FROM "settings" WHERE ("settings"."name" = 'login_required') LIMIT 1
Project Load (0.2ms) SELECT * FROM "projects" WHERE ("projects"."identifier" = 'testproject') LIMIT 1
Repository Load (0.2ms) SELECT * FROM "repositories" WHERE ("repositories".project_id = 1) LIMIT 1
EnabledModule Load (0.4ms) SELECT * FROM "enabled_modules" WHERE ("enabled_modules".project_id = 1)
Role Load (0.2ms) SELECT * FROM "roles" WHERE ("roles"."builtin" = 2) LIMIT 1
Setting Load (0.1ms) SELECT * FROM "settings" WHERE ("settings"."name" = 'autofetch_changesets') LIMIT 1
Shelling out: svn info --xml 'https://example.com/svn/' --username xxxx --password xxxx --no-auth-cache --non-interactive
Changeset Load (15.5ms) SELECT * FROM "changesets" WHERE ("changesets".repository_id = 1) ORDER BY
changesets.committed_on DESC, changesets.id DESC LIMIT 1
Shelling out: svn list --xml 'https://example.com/svn/'@HEAD --username xxxx --password xxxx --no-auth-cache
--non-interactive
Found 3 entries in the repository for 'https://example.com/svn/'
Shelling out: svn log --xml -r HEAD:1 --username xxxx --password xxxx --no-auth-cache --non-interactive --limit 10 'https://example.com/svn/'
Changeset Load (1.1ms) SELECT * FROM "changesets" WHERE ("changesets"."revision" IN ('12','11','10','9','8','7','6','5',
'4','3')) AND ("changesets".repository_id = 1) ORDER BY committed_on DESC, changesets.committed_on DESC,
changesets.id DESC
Shelling out: svn --version
Shelling out: svn proplist --verbose --xml 'https://example.com/svn/'@HEAD --username xxxx --password xxxx --no-auth-cache --non-interactive
Rendering template within layouts/base
Rendering repositories/show
Rendered redmine_checkout_hooks/_view_repositories_show_contextual (351.3ms)
Rendered repositories/_navigation (13.2ms)
Rendered repositories/_breadcrumbs (1.7ms)
</pre> Redmine - Defect #4340 (New): migrate_from_trac can't find table "component"https://www.redmine.org/issues/43402009-12-04T15:06:47ZArtem Poluhovich
<p>When I try to fetch database from Trac project I get this:<br /><pre>
[17:05]:localhost:redmine:#:>rake redmine:migrate_from_trac RAILS_ENV="production" --trace
(in /usr/local/src/redmine)
** Invoke redmine:migrate_from_trac (first_time)
** Invoke environment (first_time)
** Execute environment
** Execute redmine:migrate_from_trac
WARNING: a new project will be added to Redmine during this process.
Are you sure you want to continue ? [y/N] y
Trac directory []: /var/trac/site.com
Trac database adapter (sqlite, sqlite3, mysql, postgresql) [sqlite]: sqlite3
Trac database encoding [UTF-8]:
Target project identifier []: site
rake aborted!
Could not find table 'component'
/home/user/.gem/ruby/1.8/gems/activerecord-2.1.2/lib/active_record/connection_adapters/sqlite3_adapter.rb:29:in `table_structure'
/home/user/.gem/ruby/1.8/gems/activesupport-2.1.2/lib/active_support/core_ext/object/misc.rb:28:in `returning'
/home/user/.gem/ruby/1.8/gems/activerecord-2.1.2/lib/active_record/connection_adapters/sqlite3_adapter.rb:28:in `table_structure'
/home/user/.gem/ruby/1.8/gems/activerecord-2.1.2/lib/active_record/connection_adapters/sqlite_adapter.rb:189:in `columns'
/home/user/.gem/ruby/1.8/gems/activerecord-2.1.2/lib/active_record/base.rb:1149:in `columns'
/home/user/.gem/ruby/1.8/gems/activerecord-2.1.2/lib/active_record/calculations.rb:274:in `column_for'
/home/user/.gem/ruby/1.8/gems/activerecord-2.1.2/lib/active_record/calculations.rb:121:in `calculate'
/home/user/.gem/ruby/1.8/gems/activerecord-2.1.2/lib/active_record/calculations.rb:48:in `count'
/usr/local/src/redmine/lib/tasks/migrate_from_trac.rake:370:in `migrate'
/usr/local/src/redmine/lib/tasks/migrate_from_trac.rake:758
/usr/lib64/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:546:in `call'
/usr/lib64/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:546:in `execute'
/usr/lib64/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:541:in `each'
/usr/lib64/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:541:in `execute'
/usr/lib64/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:508:in `invoke_with_call_chain'
/usr/lib64/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:501:in `synchronize'
/usr/lib64/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:501:in `invoke_with_call_chain'
/usr/lib64/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:494:in `invoke'
/usr/lib64/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1931:in `invoke_task'
/usr/lib64/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1909:in `top_level'
/usr/lib64/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1909:in `each'
/usr/lib64/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1909:in `top_level'
/usr/lib64/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1948:in `standard_exception_handling'
/usr/lib64/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1903:in `top_level'
/usr/lib64/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1881:in `run'
/usr/lib64/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1948:in `standard_exception_handling'
/usr/lib64/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1878:in `run'
/usr/lib64/ruby/gems/1.8/gems/rake-0.8.1/bin/rake:31
/usr/bin/rake:19:in `load'
/usr/bin/rake:19
</pre><br />In source database this table is present.<br /><pre>
Rails 2.1.2
Redmine 0.8.7
Ruby 1.8.6 (2008-03-03 patchlevel 114) [x86_64-linux]
</pre></p> Redmine - Defect #4283 (New): LDAP attributes should be read as userhttps://www.redmine.org/issues/42832009-11-24T22:06:13ZFelix Schäfer
<p>Currently, the LDAP Auth source connects as the "redmine" user to look for the DN associated to a username, and gathers all the necessary info needed to create a user in redmine in the same process, and only then authenticates the user against LDAP. The problem here is that the "redmune" user in LDAP needs some access to all the needed attributes for all users in the LDAP.</p>
<p>To avoid this, it is good practice in the LDAP world to use the "application" LDAP user to look up the DN corresponding to a username, and then look up additional attributes when connected as the user itself, not as the "application" user.</p>
<p>I think I could provide a patch if needed.</p> Redmine - Defect #4257 (New): Broken support for Principal pluginshttps://www.redmine.org/issues/42572009-11-20T11:15:31ZAlexey Palazhchenko
<p>I'm not sure when exactly it happens (it's worked sometime ago), but things becomes broken for Principal with empty plugin.</p>
<p>How to reproduce:<br /><pre>
$ cat vendor/plugins/test_plugin/init.rb
<code class="ruby syntaxhl"><span class="nb">require</span> <span class="s1">'redmine'</span>
<span class="nb">require</span> <span class="s1">'dispatcher'</span>
<span class="no">Dispatcher</span><span class="p">.</span><span class="nf">to_prepare</span> <span class="ss">:test_plugin</span> <span class="k">do</span>
<span class="n">require_dependency</span> <span class="s1">'principal'</span>
<span class="k">end</span>
<span class="no">Redmine</span><span class="o">::</span><span class="no">Plugin</span><span class="p">.</span><span class="nf">register</span> <span class="ss">:test_plugin</span> <span class="k">do</span>
<span class="k">end</span>
</code><br />(no other files in vendor/test_plugin)<br /></pre><br /><pre>
$ rake test:units
<...>
1) Failure:
test_roles_updated(GroupTest) [/test/unit/group_test.rb:57]:
<[1, 2]> expected but was
<[1]>.
2) Failure:
test_visible_scope_for_user(IssueTest) [/test/unit/issue_test.rb:94]:
<false> is not true.
478 tests, 2036 assertions, 2 failures, 0 errors
</pre></p> Redmine - Defect #4141 (New): Attachments added in a comment via email are not displayed in the t...https://www.redmine.org/issues/41412009-10-30T06:05:57ZDavid Muir
<p>Attachments are not added to the issue when commenting on an issue via email.<br />Working fine when creating issues though.</p> Redmine - Defect #4073 (Confirmed): Editing/deleting cross-projects custom query mistakenly redir...https://www.redmine.org/issues/40732009-10-21T15:56:43ZS Reid
<p>If I delete a custom query, the project menu dissapears until I navigate to another page and back again (browser refresh does not work).</p> Redmine - Defect #4043 (New): username/password fields get autocompletedhttps://www.redmine.org/issues/40432009-10-17T01:55:48ZStefan Stefansson
<p>At least in Firefox 3.5, username / password <ins>registration</ins> fields get autocompleted in places they shouldn't be autocompleted if users opt to have Firefox remember their username/password for login.</p>
I've noticed this behavior in the following places:
<ul>
<li>When editing a specific LDAP connection, my username/password is inserted into the form even though it's supposed to be blank.</li>
<li>When changing passwords, the current password field gets autocompleted, this should not happen as this is a security feature and should require the user to actually type in the old password.</li>
</ul>
<p>It is unclear to me why this is happening in these two places because the fields have different names in the login form on one hand and the LDAP form on the other hand.</p>
<p>I have, however, confirmed this behavior on two different Firefox browsers (although both are Linux versions). I'll try to confirm that this happens in Firefox on Windows as well later.</p> Redmine - Defect #3993 (New): Wrong connection settings broke migration from trachttps://www.redmine.org/issues/39932009-10-07T18:07:22ZOleg Forofontov
<p>I have tried to import my old trac database(mysql powered) to redmine, but I have failed.</p>
<p>In case of using UTF-8 as table charset and any other charset as 'character_set_server' on source mysql server import will broke all non-english characters.</p>
<p>But it works well(in my case) if option {:encondig => 'UTF8'} was added to option list on establish_connection in lib/tasks/migrate_from_trac.rb</p>
<p>It happends in both case trunc and 0.8.x branches.</p> Redmine - Defect #3984 (New): On-the-fly user creation fails silently if LDAP attribute is not fo...https://www.redmine.org/issues/39842009-10-07T11:02:57ZStefan Stefansson
<p>I've turned on on-the-fly creation of users in the LDAP authentication settings and filled in the appropriate attributes to copy for login, first name, last name and email.</p>
<p>A few of the users in our LDAP directory do not have an email defined while most of them do. When I log in a user for the first time that has an email defined everything works fine. However, if I log in a user who does not have an email address defined in LDAP, the login fails completely but without giving the reason.</p>
<p>Proposed solution:<br />Best would be if the login succeeds but the user is prompted with a message and asked to fill in the missing information about himself. This is what happens when the attributes fields are left completely blank and no mapping done between these fields and the attributes in LDAP. Then, redMine prompts the user upon first login to fill in this information.</p> Redmine - Defect #3977 (New): Redmine.pm Random Issue on Large Checkout/Commithttps://www.redmine.org/issues/39772009-10-06T10:53:38ZYoann Besson
<p>Hi,</p>
<p>I've just got Redmine.pm module working with (small actions) but in case of large checkout/commit i got random DAV issues ...</p>
<pre>
REPORT of '/svn/myProject/!svn/vcc/default': Could not read response body: Connection reset by peer
OPTIONS of '/svn/myProject/!svn/vcc/default': Could not read response body: Connection reset by peer
MERGE of '/svn/myProject/!svn/vcc/default': Could not read response body: Connection reset by peer
</pre>
<p>Here is my Apache Configuration :</p>
<pre>
PerlLoadModule Apache::Redmine
<Location /svn>
DAV svn
SSLRequireSSL
SVNParentPath "D:\Svn"
SVNListParentPath On
SVNPathAuthz off
AuthType Basic
AuthName "Subversion repository"
Require valid-user
PerlAccessHandler Apache::Authn::Redmine::access_handler
PerlAuthenHandler Apache::Authn::Redmine::authen_handler
RedmineDSN "DBI:mysql:database=redmine;host=localhost"
RedmineDbUser "xxxx"
RedmineDbPass "xxxx"
</Location>
</pre>
<p>I'm running Redmine on Windows Server 2008 x64 with ActiveState Perl 5.10, Apache 2.2.13 with OpenSSL 0.9.8k, Subversion 1.6.5.</p>
<p>Redmine and Redmine.pm is running in LDAP authentication mode.</p>
<p><strong>Note that without Redmine.pm module all is working fine.</strong></p>
<p>Thanks.</p> Redmine - Defect #3951 (New): The SubversionAdapter entries function should use io.readlines inst...https://www.redmine.org/issues/39512009-09-30T21:11:39ZBrandon Enochs
<p>The SubversionAdapter entries function should use io.readlines instead of io.read. It has the potential to proceed with a partial document.</p> Redmine - Defect #3943 (New): Subversion: Directory revision list contains faulty revisionshttps://www.redmine.org/issues/39432009-09-29T21:53:08ZMischa The Evil
<p style="text-align:center;">Consider this issue "for form's sake" due to lack of spare time; will complete it later!</p>
<p>Looking at the changes-view of e.g. <a class="source" href="https://www.redmine.org/projects/redmine/repository/svn/entry/sandbox/groups">source:/sandbox/groups</a> (<a class="external" href="http://www.redmine.org/projects/redmine/repository/changes/sandbox/groups">http://www.redmine.org/projects/redmine/repository/changes/sandbox/groups</a>) it seems the content of the <code>path</code>-variable isn't correct or properly used which causes the fact that the canges view /can contain/ un-related revisions.</p>
<p>This directory-related revision list feature is implemented in <a class="changeset" title="SCM: * add latest changesets for the current directory when browsing the repository and a link to..." href="https://www.redmine.org/projects/redmine/repository/svn/revisions/2849">r2849</a> which should be considered as a commit which solves issue <a class="issue tracker-2 status-1 priority-4 priority-default" title="Feature: Subversion: Show revision histories for branches (New)" href="https://www.redmine.org/issues/1311">#1311</a>.</p> Redmine - Defect #3928 (New): should complain when cookies are disabled on browserhttps://www.redmine.org/issues/39282009-09-26T14:07:01ZJérémy Lal
<p>when cookies are disabled on browser, one can't login,<br />and no error message appears.</p> Redmine - Defect #3914 (New): Version information displayed in Gantt chart regardeless of "Assign...https://www.redmine.org/issues/39142009-09-24T06:50:44ZVitaly Klimov
<p>Right now Gantt chart displays version information relative to the user currently logged in even if filter is set to different user (Assigned to field)</p>
<p>So, even if user in "Assigned to" filter does not belong to the project, version information for this project displayed anyway.</p>
<p>It seems that Version.find filter should be updated to exclude such possibility</p>
<p>I am using Redmine <a class="changeset" title="Allow line breaks in wiki table cells (#2346)." href="https://www.redmine.org/projects/redmine/repository/svn/revisions/2824">r2824</a> with Rails 2.2.2 and Ruby 1.8.7</p> Redmine - Defect #3910 (New): Trac to Redmine wiki migration problemshttps://www.redmine.org/issues/39102009-09-23T09:59:41ZKamil .
<p>Some wiki formattings are well converted, bot some are not (which is very frustrating...)<br />Examples:<br />1) Links conversion:<br /> - In Trac the syntax for "subsites" is: FooBar/LazyFox.<br />In redmine now it is converted to FooBarLazyFox but is not "visible" as a subsite</p>
<pre><code>- In Trac the syntax for url with description is: [WikiSite/WikiSubSite here is the description]<br />This should be converted to: [[WikiSite_WikiSubSite|here is the description]]</code></pre>
<p>2) Headings<br /> Foo & Bar & Something
=== Something! ===</p>
<p>was converted in something weird...</p>
<p>Regards</p> Redmine - Defect #3793 (Reopened): Error 302 (Found): "Filter chain halted" on issue creationhttps://www.redmine.org/issues/37932009-08-28T19:39:55Zkardan brueckenschlaeger
<ul>
<li>PLEASE check your error log</li>
</ul>
<pre>
Found
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, admin@localhost.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.
</pre>
<a name="Input-to-reproduce"></a>
<h1 >Input to reproduce<a href="#Input-to-reproduce" class="wiki-anchor">¶</a></h1>
<ul>
<li>when the redmine session cookie got deleted, the created of a previously opened 'new issue'-form fails with 302 (Found)</li>
<li>like in <a class="issue tracker-1 status-5 priority-4 priority-default closed" title="Defect: Blank screen when unauthorized access attempt. (Closed)" href="https://www.redmine.org/issues/51">#51</a>, the submitted data are lost</li>
</ul>
<strong>steps to reproduce:</strong>
<ul>
<li>login</li>
<li>go to /projects/*/issues/new</li>
<li>delete the cookie</li>
<li>submit the issue</li>
</ul>
<ul>
<li>this issue has been reproduced on redmine.org :)</li>
</ul>
<p><em>log/production.log:</em><br /><pre>
Filter chain halted as [:check_if_login_required] rendered_or_redirected.
Completed in 0.02353 (42 reqs/sec) | DB: 0.00025 (1%) | 302 Found [https://kern.brueckenschlaeger.de/projects/support/issues/new]
</pre></p>
<strong>environment:</strong>
<ul>
<li>ruby 1.8.7 (2008-08-11 patchlevel 72) [i486-linux]</li>
<li>Rails Rails 2.1.2</li>
<li>mysql Ver 14.12 Distrib 5.0.51a, for debian-linux-gnu (i486) using readline 5.2</li>
<li>git version 1.5.6.5</li>
</ul>
<pre>
79d6c7aec94004012d105cd4dc66b9dd4586df55
Date: Sun May 10 04:01:40 2009 +0200
init
</pre>
<pre>
# cat /etc/debian_version
5.0.2
</pre>
<p>ii libdb-ruby1.8 0.6.5-2 Interface to Berkeley DB for Ruby 1.8<br />ii libfusefs-ruby 0.6.0-3 library to easily define a filesystem in Rub<br />ii libfusefs-ruby1.8 0.6.0-3 library to easily define a filesystem in Rub<br />ii libgettext-ruby1.8 1.91.0-1.2 Gettext for ruby1.8<br />ii libopenssl-ruby 4.2 OpenSSL interface for Ruby<br />ii libopenssl-ruby1.8 1.8.7.72-3 OpenSSL interface for Ruby 1.8<br />ii libreadline-ruby1.8 1.8.7.72-3 Readline interface for Ruby 1.8<br />ii librmagick-ruby1.8 2.5.2-1 ImageMagick API for Ruby<br />ii libruby1.8 1.8.7.72-3 Libraries necessary to run Ruby 1.8<br />ii libsqlite3-ruby 1.2.2-1 SQLite3 interface for Ruby<br />ii libsqlite3-ruby1.8 1.2.2-1 SQLite3 interface for Ruby 1.8<br />ii libxml-ruby1.8 0.5.2.0-3+lenny1 Ruby interface to libxml<br />ii libxmpp4r-ruby 0.4-1 XMPP/Jabber library for Ruby (dummy package)<br />ii libxmpp4r-ruby1.8 0.4-1 XMPP/Jabber library for Ruby<br />ii libxslt-ruby 0.9.2-4 Ruby interface to libxslt<br />ii libxslt-ruby1.8 0.9.2-4 Ruby interface to libxslt<br />ii rake 0.8.1-3 a ruby build program<br />ii rdoc 4.2 Generate documentation from ruby source file<br />ii ruby 4.2 An interpreter of object-oriented scripting <br />ii ruby-dev 4.2 Header files for compiling extension modules<br />ii ruby1.8 1.8.7.72-3 Interpreter of object-oriented scripting lan<br />ii ruby1.8-dev 1.8.7.72-3 Header files for compiling extension modules<br />ii rubygems 1.2.0-3 package management framework for Ruby librar<br />ii rubygems1.8 1.2.0-3 package management framework for Ruby librar</p>
<a name="DATA-that-caused-302-Found"></a>
<h1 ><i>DATA</i> that caused 302 (Found):<a href="#DATA-that-caused-302-Found" class="wiki-anchor">¶</a></h1>
<p><em>stripped</em> => please check your log</p> Redmine - Defect #3734 (Needs feedback): fetch_changesets save local time instead of GMT in the d...https://www.redmine.org/issues/37342009-08-13T20:55:10ZAleksej Lebedev
<p>At saving commits in a database, time of each of them will be converted in the <strong>local</strong> time and in this form will be retained in the database. When you browse the repository the commits time will be displayed incorrectly, because will be re-converted in the local time...</p>
<p>Patch to correct this:<br /><pre>
Index: lib/redmine/scm/adapters/subversion_adapter.rb
===================================================================
--- lib/redmine/scm/adapters/subversion_adapter.rb (revision 2838)
+++ lib/redmine/scm/adapters/subversion_adapter.rb (working copy)
@@ -58,7 +58,7 @@
info = Info.new({:root_url => doc.elements["info/entry/repository/root"].text,
:lastrev => Revision.new({
:identifier => doc.elements["info/entry/commit"].attributes['revision'],
- :time => Time.parse(doc.elements["info/entry/commit/date"].text).localtime,
+ :time => Time.parse(doc.elements["info/entry/commit/date"].text),
:author => (doc.elements["info/entry/commit/author"] ? doc.elements["info/entry/commit/author"].text : "")
})
})
@@ -96,7 +96,7 @@
:size => ((s = entry.elements['size']) ? s.text.to_i : nil),
:lastrev => Revision.new({
:identifier => commit.attributes['revision'],
- :time => Time.parse(commit_date.text).localtime,
+ :time => Time.parse(commit_date.text),
:author => ((a = commit.elements['author']) ? a.text : nil)
})
})
@@ -159,7 +159,7 @@
revisions << Revision.new({:identifier => logentry.attributes['revision'],
:author => (logentry.elements['author'] ? logentry.elements['author'].text : ""),
- :time => Time.parse(logentry.elements['date'].text).localtime,
+ :time => Time.parse(logentry.elements['date'].text),
:message => logentry.elements['msg'].text,
:paths => paths
})
</pre></p> Redmine - Defect #3727 (New): Redmine.pm doesn't work when merginghttps://www.redmine.org/issues/37272009-08-10T18:23:09ZPablo Lerina
<p>When running a svn merge got this error at Apache error_log:</p>
<pre>
[Mon Aug 10 15:22:02 2009] [notice] Apache/2.2.11 (Unix) mod_ssl/2.2.11 OpenSSL/0.9.8k DAV/2 Phusion_Passenger/2.2.4 SVN/1.6.2 mod_perl/2.0.4 Perl/v5.8.8 configured -- resuming normal operations
Can't make DBI com handle for DBD::Pg::db: unknown package.
</pre>
<p>This problem was already reported here <a class="external" href="http://www.redmine.org/boards/2/topics/2512">http://www.redmine.org/boards/2/topics/2512</a> and here <a class="external" href="http://www.redmine.org/boards/2/topics/7593">http://www.redmine.org/boards/2/topics/7593</a>.</p>
<p>About your application's environment<br />Ruby version 1.8.6 (i686-linux)<br />RubyGems version 1.3.5<br />Rails version 2.1.2<br />Active Record version 2.1.2<br />Action Pack version 2.1.2<br />Active Resource version 2.1.2<br />Action Mailer version 2.1.2<br />Active Support version 2.1.2<br />Application root /var/www/redmine<br />Environment development<br />Database adapter postgresql<br />Database schema version 101</p>
<p>Subversion: 1.6.2</p>
<p>vhost conf:<br /><pre>
<Location /svn>
DAV svn
SVNParentPath "/var/svn/"
SVNPathAuthz off
AuthType Basic
AuthName redmine
Require valid-user
PerlAccessHandler Apache::Authn::Redmine::access_handler
PerlAuthenHandler Apache::Authn::Redmine::authen_handler
RedmineDSN "dbi:Pg:dbname=redmine;host=localhost"
RedmineDbUser "redmine"
RedmineDbPass " "
</Location>
</pre></p> Redmine - Defect #3722 (New): Nested projects can get in disorderhttps://www.redmine.org/issues/37222009-08-08T20:16:17ZAndreas Deininger
<p>How to reproduce (using redmine SVN revision 2835):</p>
<ul>
<li>create project <em>Toplevel A</em></li>
<li>create project <em>Sublevel A</em> as child of project <em>Toplevel A</em></li>
<li>create project <em>Subsublevel A</em> as child of project <em>Sublevel A</em></li>
<li>create project <em>Toplevel B</em></li>
<li>copy project <em>Sublevel A</em>, name it <em>Toplevel C</em>. Leave the field <em>Subproject of</em> empty (that's also the default coming up)</li>
<li>delete project <em>Sublevel A</em></li>
<li>now, delete project <em>Toplevel A</em>. You are prompted:</li>
</ul>
<pre>
Toplevel A
Are you sure you want to delete this project and related data ?
Its subproject(s): Toplevel B, Toplevel C will be also deleted
</pre>
<p>This is definitely wrong, since Toplevel B was never a subproject of Toplevel A.</p>
<p>If I click <em>OK</em> project Toplevel B is <strong>not</strong> deleted, however, project <em>Toplevel C</em> now has a minus sign on its left, indicating that is has subprojects, though it has none.</p>
<p><strong>Note:</strong><br />My first encounter with that bug was when I wanted to delete all but one project from a set of deeply nested projects (~20 projects). I inadvertently deleted the project I wanted to keep. First I thought it was my fault, so I restored my data from a backup and tried again. Same effect, again the project was deleted. Then it became obvious to me that something must be wrong with the new functionality of nesting projects as deep as you want. I played around a bit and finally found the steps above that reproducibely lead to an inconsistent state of the nesting of the projects (as far as I can see).</p> Redmine - Defect #3692 (New): URL-generation is brittle with trailing slasheshttps://www.redmine.org/issues/36922009-07-29T15:26:20ZWolfgang Schnerring
<p>When the setting Adminstration/Settings/General/"Hostname and path" has a trailing slash (e. g. "http://example.com/redmine/", the links in the "issue updated" emails contain duplicate slashes (e. g. "http://example.com/redmine//repositories/revision/myproject/17") which cannot be routed and give 404 instead.</p>
<p>I've scrutinized the code, and the underlying reason is that url_for does not care about a trailing slash in the "host" part of the URL and simply appends the full path even if that duplicates the slash. I'm not sure whether it should do so, or if Redmine should be careful to strip any trailing slashes instead (in app/models/mailer.rb Mailer::default_url_options).</p>
<p>Either way, this behaviour is quite brittle and also rather non-obvious to figure out, so it would be nice if Redmine did the Right Thing(tm) regardless of trailing slashes in the "hostname" setting.</p> Redmine - Defect #3672 (New): Unable to set "value" and "old_value" through :helper_issues_show_d...https://www.redmine.org/issues/36722009-07-25T18:01:30ZGiovanni Junior
<p>In <a class="external" href="http://www.redmine.org/wiki/1/Hooks">http://www.redmine.org/wiki/1/Hooks</a>, the description for :helper_issues_show_detail_after_setting states that it "Passes data to the hook to allow it to set the label and value", but it seems this is only partially true.</p>
<p>Setting context variables in a hook using the "=" operand just doesn't work. For "context[:label]", which is already initialized (as a String) when the hook is called, this may be worked around calling "context[:label].replace". However, as "context[:value]" and "context[:old_value]" may be <strong>uninitialized</strong> when the hook is called, I don't see a way to change their value at all. And setting "context[:detail].value" and "context[:detail].old_value" is obviously not as harmless as setting "context[:value]" and "context[:old_value]".</p>
<p>Using Redmine 0.8.4, Rails 2.1.2 and Ruby 1.8.6.</p> Redmine - Defect #3663 (Needs feedback): Problem with subversion logentry without date nor author.https://www.redmine.org/issues/36632009-07-23T22:45:12ZPablo Ruiz
<p>In certain cases (see <a class="external" href="http://svn.haxx.se/dev/archive-2005-08/0309.shtml">http://svn.haxx.se/dev/archive-2005-08/0309.shtml</a>) a subversion respository might not send an author nor date xml elements as part of a logentry.</p>
<p>In such situations redmine (0.8.4) fails to read any revision below the failing one..</p>
<p>After a bit of debugging.. I made the following modifications to lib/redmine/scm/adapters/subversion_adapter.rb, in order to make this work:</p>
<pre><code><ins>date = logentry.elements['date']</ins><br /> <ins>msg = logentry.elements['msg']</ins><br /> revisions << Revision.new({:identifier => logentry.attributes['revision'],<br /> :author => (logentry.elements['author'] ? logentry.elements['author'].text : ""),<br /> <ins>:time => date ? Time.parse(date.text).localtime : nil,</ins><br /> <ins>:message => msg ? logentry.elements['msg'].text : "",</ins><br /> :paths => paths<br /> })</code></pre> Redmine - Defect #3592 (New): Unreadable quoted-printable utf-8 long subject in some mail clientshttps://www.redmine.org/issues/35922009-07-07T06:24:08ZStanislav German-Evtushenko
<p>Subject becomes undreadable in groupwise 7.0.3 when it's quoted-printable and longer ~80 chars. This patch converts subject to base64 instead of quoted-printable.</p> Redmine - Defect #3578 (New): Subversion fetch_changesets does not handle moved (root-)directorieshttps://www.redmine.org/issues/35782009-07-01T19:04:20ZOskar Nordquist
<p>I had a standard layout (trunk/branches/tags). I created a new directory called A and moved trunk/branches/tags into A. Then I deleted my SCM in the project and created a new one pointing to A.</p>
<p>This caused all my activity to disappear since the only changesets fetched was the creation of directory A and the move of trunk/branches/tags into A. All other changesets are lost.</p> Redmine - Defect #3554 (Reopened): The IMAP method for anonymous issue creation doesn't work from...https://www.redmine.org/issues/35542009-06-28T15:06:05ZMarcel Evenson
<p>The Anonymous user email mapping from Revision 2789 doesn't work. I'm trying to use the IMAP method to create an issue from email.</p>
<p>Here is the command I'm using:<br />rake redmine:email:receive_imap RAILS_ENV="production" host=mail.mydomain.com username=<a class="email" href="mailto:support@mydomain.com">support@mydomain.com</a> password=mypassword project=support unknown_user=accept</p>
<p>Note: After I run the command the test email in the INBOX is marked as "seen" (so I know its connecting and reading the mailbox properly) but no issue is created. I've double checked the permissions and the anonymous user has "add issues" permission. There are no errors in the error log.</p>
<p>Here is my environment:<br />About your application's environment<br />Ruby version 1.8.5 (i386-linux)<br />RubyGems version 1.3.1<br />Rails version 2.2.2<br />Active Record version 2.2.2<br />Action Pack version 2.2.2<br />Active Resource version 2.2.2<br />Action Mailer version 2.2.2<br />Active Support version 2.2.2<br />Application root /var/www/vhosts/mydomain.com/httpdocs/redmine<br />Environment production<br />Database adapter mysql<br />Database schema version 20090614091200</p> Redmine - Defect #3253 (New): LDAP Auth : Alias Dereferencehttps://www.redmine.org/issues/32532009-04-28T08:44:28ZWill aka S.Collado
<p>Hello,</p>
<p>I'm using last stable release of RedMine (0.8.3) with OpenLDAP 2.3.43 and I can't manage to get LDAP users authenticated.</p>
<p>It seems that the ldap search is done with wrong parameter for alias dereference option.</p>
<p>I made a ldapsearch from bash prompt with same filter as Redmine and all worked fine (my ldap.conf has DEREF = always seen in ldapquery log as deref=3), I checked in OpenLDAP log and RedMine queries seems to be run with dereference set to "never" (seen in ldapquery log as deref=0).</p>
<p>Do you know if there's a way to set this option in Redmine Source or settings files ?</p>
<p>I'm not familiar with redmine source code and ruby in general, but i think it must be something related to Net::LDAP statements in app/models/auth_source_ldap.rb.</p>
<p>Here is my server & Redmine install info :<br /><pre>
Redmine version 0.8.3
Ruby version 1.8.7 (x86_64-linux)
RubyGems version 1.3.1
Rails version 2.1.2
Active Record version 2.1.2
Action Pack version 2.1.2
Active Resource version 2.1.2
Action Mailer version 2.1.2
Active Support version 2.1.2
</pre></p>
<p>MySQL 5.0.58<br />OpenLDAP 2.3.43</p>
<p>On Linux CentOS 5.3</p>
<p>Thanks in advance for your help.</p>
<p>Regards.</p>
<p>Will<br />-----</p>
<blockquote>
<p>Sorry for my english, french user here ;)</p>
</blockquote> Redmine - Defect #3027 (New): Wiki start page shouldn’t be capitalized automaticallyhttps://www.redmine.org/issues/30272009-03-23T10:59:54ZMathias Maul
<p>When setting a start page for a project’s wiki, its name is capitalized automatically (e. g., abc01 becomes Abc01), which I find quite unnerving.</p>
<p>Of course, it is easy to rename the page afterwards but seems like a task that shouldn’t be necessary.</p>
<p>Version tested: 0.8.2.stable.2570</p> Redmine - Defect #2830 (New): trac lists aren't imported as suchhttps://www.redmine.org/issues/28302009-02-24T17:17:27ZDaniel Svensson
<pre>
1. a
1. a
1. a
1. a
1. a
</pre>
<p>Should be converted to:</p>
<pre>
# a
## a
## a
# a
# a
</pre> Redmine - Defect #2826 (New): trac import breaks imageshttps://www.redmine.org/issues/28262009-02-24T16:03:41ZDaniel Svensson
<pre>[[Image(myimage.png)]]</pre> and similar should be converted to <pre>!myimage.png!</pre> Redmine - Defect #2824 (New): MySQL Deadlock Error when showing a big repositoryhttps://www.redmine.org/issues/28242009-02-24T13:27:29ZMinjie Zhu
<p>First thanks for your great jobs for this application.</p>
<p>I have some problem when I try to connect SVN with Redmine.</p>
<p>Here is the infomation of my system:</p>
<table>
<tr>
<td>CentOS</td>
<td>5</td>
</tr>
<tr>
<td>MySQL</td>
<td>5.0.45</td>
</tr>
<tr>
<td>ruby</td>
<td>1.8.5</td>
</tr>
<tr>
<td>Rails</td>
<td>2.2.2</td>
</tr>
<tr>
<td>Redmine</td>
<td><a class="changeset" title="Merged r2520 from trunk." href="https://www.redmine.org/projects/redmine/repository/svn/revisions/2521">r2521</a> (I also checked it with 0.8.0)</td>
</tr>
<tr>
<td>SVN</td>
<td>1.4.2</td>
</tr>
</table>
<p>I've added a big SVN repository with 8k of revision and when I go to the repository tab, it show <strong>internal error</strong> after a long loading time.</p>
<p>I checked the log and it said</p>
<pre>
ActiveRecord::StatementInvalid (Mysql::Error: Deadlock found when trying to get lock; try restarting transaction: INSERT INTO `changesets`...
</pre>
<p>The details of the trace is in the attachment.</p>
<p>Then I googled this problem, and it said this problem happen because of the MySQL InnoDB Deadlock detection,</p>
<p>Here is the details <br /><a class="external" href="http://dev.mysql.com/doc/refman/5.0/en/innodb-deadlock-detection.html">http://dev.mysql.com/doc/refman/5.0/en/innodb-deadlock-detection.html</a></p>
<p>And here are some solutions<br /><a class="external" href="http://dev.mysql.com/doc/refman/5.0/en/innodb-deadlocks.html">http://dev.mysql.com/doc/refman/5.0/en/innodb-deadlocks.html</a></p>
<p>I think the InnoDB has a time limit and if a transaction exceed it, the transaction will be aborted and rollbacked.</p>
<p>They said the application should retry the transaction or devide it to some short transactions.</p>
<p>There is a switch to on/off the function, and both the switch and the limit time are defined as system variable of MySQL which can be confirmed like this:</p>
<pre>
mysql> show variables like 'inno%';
</pre>
<p>You can find <strong>innodb_lock_wait_timeout</strong> which is the time limit with a default value 50 (seconds), and <strong>innodb_table_locks</strong> is the switch which the default value is ON.</p>
<p>I changed the value above by set them in /etc/my.cnf.<br />First I set the <strong>innodb_lock_wait_timeout</strong> to a very large number like '99999', but it didn't work. Then I set the <strong>innodb_table_locks</strong> to 'OFF', and it did work! I can view the repository tab though it still took a long time to load initially.</p>
<p>I don't know if there are some problems when I OFF the table lock function because it seem to be important for the DB and Redmine, Could you give me some solutions?</p>
<p>Sorry for my poor English and thanks for your help.</p> Redmine - Defect #2703 (New): Link to Changesets is shown to User without credentialhttps://www.redmine.org/issues/27032009-02-09T11:20:27ZSteffen Dietz
<p>The link to a changeset, which updated a ticket status, in ticket comments is shown to users, even if they dont have the creadentials to view the changeset.</p>
<p>So the user gets a "you're not allowed to access this" error page on accidently clicking on the link.</p> Redmine - Defect #2669 (New): Square brackets in SVN comments (and probably elsewhere)https://www.redmine.org/issues/26692009-02-04T23:16:29ZAlex Popov
<p>I noticed that square brackets in SVN comments are rendered incorrectly in repository view.</p>
<p>What's interesting that the top part (Repository) of /repositories/show/project_name view will display them correctly:</p>
<pre>
... 6 days J Doe [Batch Data Transfer - Outstanding Issues - 1.4...
</pre>
<p>while the bottom part (Latest revisions) will replace everything up to the closing bracket with "/>"</p>
<pre>
... 01/28/2009 10:03 PM J Doe /> modified error logging to include
</pre>
<p>My info:</p>
<pre>
Ruby version 1.8.6 (i386-mswin32)
RubyGems version 1.3.1
Rails version 2.1.2
Active Record version 2.1.2
Action Pack version 2.1.2
Active Resource version 2.1.2
Action Mailer version 2.1.2
Active Support version 2.1.2
Environment development
Database adapter mysql
Database schema version 101
svn, version 1.5.4 (r33841)
MySQL: 5.0.45-community-nt
</pre> Redmine - Defect #2638 (New): LDAP authentication should allow username to contain space(s)https://www.redmine.org/issues/26382009-01-31T23:19:41ZBob Roberts
<p>It is not uncommon for Windows AD servers to allow spaces in the user name (sAMAccountName) but currently redmine does not allow the user name to contain 1 or more spaces which means that when using LDAP to authenticate, it is not possible to use sAMAccountName to lookup users.</p>
<p>If there is not a technical reason for this limitation, would suggest the the regex scan for the user name allow spaces in the middle of user names, but not at the start or end.</p>
<p>See patch <a class="issue tracker-3 status-1 priority-4 priority-default" title="Patch: Username validation - allow spaces... (New)" href="https://www.redmine.org/issues/811">#811</a> supporting this change.</p> Redmine - Defect #2536 (New): A few incorrect behaviours of bold (upon header and new-line)https://www.redmine.org/issues/25362009-01-19T11:47:22ZJens Berlips
<a name="Problem1"></a>
<h2 >Problem1:<a href="#Problem1" class="wiki-anchor">¶</a></h2>
<pre>
h3. test
* test (note wrong position)
* test
</pre>
<h3>test
<ul>
<li>test</li>
</ul></h3>
<ul>
<li>test (note wrong position)</li>
</ul>
<a name="Problem2"></a>
<h2 >Problem2:<a href="#Problem2" class="wiki-anchor">¶</a></h2>
<pre>
h3. test
* test
* test
</pre>
<h3>test
<ul>
<li>test</li>
</ul></h3>
<ul>
<li>test</li>
</ul>
<p>NOTE: The last example shows that one is in bold, the first problem is still there (wrong position).</p> Redmine - Defect #2498 (New): Projects don't sort regarding localehttps://www.redmine.org/issues/24982009-01-13T08:54:10ZMaxim Krušina
<p>I just created new poject "ČATA", but it's listed at the end of the project list.<br />It should be just after C: AÁBCČDĎ...<br />This should be implemented at least in Czech locale, but it will be very helpfull to have configurable language and sort-order independetely.<br />For example: I always preffer to have application in English, but I'm using czech locale, ie. czech names of days, months, time format, sorting, etc.</p> Redmine - Defect #2493 (Confirmed): Subversion: Error message for some of view differenceshttps://www.redmine.org/issues/24932009-01-12T13:12:53Zyoungseok yi
<p>Some of view differences give error message <strong><em>The entry or revision was not found in the repository</em></strong>.</p>
<p>for example, when I try to check diff between <a class="source" href="https://www.redmine.org/projects/redmine/repository/svn/revisions/62/entry/trunk/app/controllers/account_controller.rb">source:/trunk/app/controllers/account_controller.rb@62</a> and <a class="source" href="https://www.redmine.org/projects/redmine/repository/svn/revisions/44/entry/trunk/app/controllers/account_controller.rb">source:/trunk/app/controllers/account_controller.rb@44</a> from <a class="external" href="http://www.redmine.org/repositories/changes/redmine/trunk/app/controllers/account_controller.rb">http://www.redmine.org/repositories/changes/redmine/trunk/app/controllers/account_controller.rb</a>, I'm getting above error.</p>
<p>When I tried bellow from the shell.</p>
<pre>
>svn diff -r 44:62 http://redmine.rubyforge.org/svn/trunk/app/controllers/account_controller.rb@62
</pre>
<p>gives same error in the shell.<br />but</p>
<pre>
>svn diff -r 44:62 http://redmine.rubyforge.org/svn/trunk/app/controllers/account_controller.rb
</pre>
<p>gives the diff.</p>
<p>I'm not sure <strong>[@REV]</strong> required or not (<a class="source" href="https://www.redmine.org/projects/redmine/repository/svn/revisions/2045/entry/trunk/lib/redmine/scm/adapters/subversion_adapter.rb#L181">source:trunk/lib/redmine/scm/adapters/subversion_adapter.rb@2045#L181</a>).</p> Redmine - Defect #2414 (Reopened): 'Add News Button' in 'Add news'https://www.redmine.org/issues/24142008-12-29T17:40:32ZKarl Heinz Marbaise
<p>I have observed a little 'Bug', cause if i going to News and click on 'Add news' I'm forwarded to the 'Add news' area but the 'Add news' Button is displayed anymore.<br />My opinion is not to display the 'Add news' Button there. Take a look at the attached screen shot.</p>
<p>May be this is a feauture? or already fixed on a newer revision ?</p>
<ul>
<li>Revision 2081 on trunk<br />my environment:<br /><pre>minden205:/usr/local/vhosts/redmine # ruby script/about
About your application's environment
Ruby version 1.8.6 (x86_64-linux)
RubyGems version 1.3.0
Rails version 2.1.1
Active Record version 2.1.1
Action Pack version 2.1.1
Active Resource version 2.1.1
Action Mailer version 2.1.1
Active Support version 2.1.1
Application root /usr/local/vhosts/redmine
Environment development
Database adapter mysql
Database schema version 101
</pre></li>
</ul> Redmine - Defect #2341 (New): Lost password email doesn't need email footerhttps://www.redmine.org/issues/23412008-12-15T10:34:29ZBrad Schick
<p>The email footer usually says something about "to change notification settings". But the password reset email is not a notification and the link won't work anyway until the user manages to reset their password.</p> Redmine - Defect #2220 (New): New Custom Fields not propagated to old issueshttps://www.redmine.org/issues/22202008-11-21T10:23:17Zgabriel scolan
<p>It seems that when you define new custom fields for an issue, no value (default value would be expected) is set to the issues previously recorded.<br />Looking at the records in the database, the table custom_values do not contain the new custom field on old issues (customized_id)<br />I'm on the 0.8 trunk.</p> Redmine - Defect #2187 (Needs feedback): Subversion and Certification Validation Errorhttps://www.redmine.org/issues/21872008-11-14T10:55:51ZSimone Carletti
<p>This issue is a follow up from <a class="issue tracker-1 status-5 priority-4 priority-default closed" title="Defect: subversion_adapter.rb SVN_BIN (Closed)" href="https://www.redmine.org/issues/1235">#1235</a> and <a class="issue tracker-1 status-5 priority-4 priority-default closed" title="Defect: Subversion: Handle failed certificate verification (Closed)" href="https://www.redmine.org/issues/787">#787</a>.</p>
<p>Jean-Philippe Lang wrote:</p>
<blockquote>
<p>The validation of the certificate won't be done automatically by the app.<br />I've just added your work around to the <a class="wiki-page" href="https://www.redmine.org/projects/redmine/wiki/FAQ">FAQ</a>.</p>
<p>Thanks.</p>
</blockquote>
<p>I've come across the same issue today and I've just discovered this is not intended to be fixed.<br />I'd like to give my two cents about this issue.</p>
<p>1. The client could easily answer the question by accepting the certificate temporarily and logging the activity. Capistrano already implements a prompt handler for common svn questions.<br />Have a look at subversion.rb file within the capistrano package, method <code>handle_data</code></p>
<pre><code class="ruby syntaxhl"> <span class="c1"># Determines what the response should be for a particular bit of text</span>
<span class="c1"># from the SCM. Password prompts, connection requests, passphrases,</span>
<span class="c1"># etc. are handled here.</span>
<span class="k">def</span> <span class="nf">handle_data</span><span class="p">(</span><span class="n">state</span><span class="p">,</span> <span class="n">stream</span><span class="p">,</span> <span class="n">text</span><span class="p">)</span>
<span class="n">host</span> <span class="o">=</span> <span class="n">state</span><span class="p">[</span><span class="ss">:channel</span><span class="p">][</span><span class="ss">:host</span><span class="p">]</span>
<span class="n">logger</span><span class="p">.</span><span class="nf">info</span> <span class="s2">"[</span><span class="si">#{</span><span class="n">host</span><span class="si">}</span><span class="s2"> :: </span><span class="si">#{</span><span class="n">stream</span><span class="si">}</span><span class="s2">] </span><span class="si">#{</span><span class="n">text</span><span class="si">}</span><span class="s2">"</span>
<span class="k">case</span> <span class="n">text</span>
<span class="k">when</span> <span class="sr">/\bpassword.*:/i</span>
<span class="c1"># subversion is prompting for a password</span>
<span class="s2">"</span><span class="si">#{</span><span class="n">scm_password_prompt</span><span class="si">}</span><span class="se">\n</span><span class="s2">"</span>
<span class="k">when</span> <span class="sr">%r{</span><span class="se">\(</span><span class="sr">yes/no</span><span class="se">\)</span><span class="sr">}</span>
<span class="c1"># subversion is asking whether or not to connect</span>
<span class="s2">"yes</span><span class="se">\n</span><span class="s2">"</span>
<span class="k">when</span> <span class="sr">/passphrase/i</span>
<span class="c1"># subversion is asking for the passphrase for the user's key</span>
<span class="s2">"</span><span class="si">#{</span><span class="n">variable</span><span class="p">(</span><span class="ss">:scm_passphrase</span><span class="p">)</span><span class="si">}</span><span class="se">\n</span><span class="s2">"</span>
<span class="k">when</span> <span class="sr">/The entry \'(.+?)\' is no longer a directory/</span>
<span class="k">raise</span> <span class="no">Capistrano</span><span class="o">::</span><span class="no">Error</span><span class="p">,</span> <span class="s2">"subversion can't update because directory '</span><span class="si">#{</span><span class="vg">$1</span><span class="si">}</span><span class="s2">' was replaced. Please add it to svn:ignore."</span>
<span class="k">when</span> <span class="sr">/accept \(t\)emporarily/</span>
<span class="c1"># subversion is asking whether to accept the certificate</span>
<span class="s2">"t</span><span class="se">\n</span><span class="s2">"</span>
<span class="k">end</span>
<span class="k">end</span>
</code></pre>
<p>2. Even if you decide to not handle data, I would suggest to provide a more meaningful error message. Current error message is generic for any SVN response issue and doesn't give any idea about what's the real error. You should turn on debugging log level and try to manally reproduce the issue by reading exception backtraces.</p>
<p>This is completely unfriendly for people who doesn't have a deep Redmine and/or Rails knowledge.</p> Redmine - Defect #2146 (New): Trac Importer: Attachments in Wiki will not converted correctlyhttps://www.redmine.org/issues/21462008-11-07T15:08:25ZKarl Heinz Marbaise
<p>If you have the following situation <pre>[attachment:JaGoSIAPI-0.0.10.jar JaGoSIAPI-0.0.10.jar]</pre><br />they will not converted into Redmine syntax. The following will give the Redmine representation to get the same look as in trac:<pre>"JaGoSIAPI-0.0.10.jar":attachment:JaGoSIAPI-0.0.10.jar</pre></p> Redmine - Defect #2134 (New): CVS does not handle aliaseshttps://www.redmine.org/issues/21342008-11-05T11:03:33ZLeszek Ciesielski
<p>When one adds a CVS alias as the SCM module, Redmine imports it without reporting errors, but the import is broken: it does not recurse into subdirectories (only the first level is scanned). Also, the repository browser shows only the first level directories/files, outputting "The entry or revision was not found in the repository." when trying to descend.</p> Redmine - Defect #2089 (New): [mailto:supose@soebes.de] will not correctly convertedhttps://www.redmine.org/issues/20892008-10-25T19:06:32ZKarl Heinz Marbaise
<p>The trac entry like <pre>[mailto:supose@soebes.de]</pre> will not converted into a correct Redmine equivalent.</p> Redmine - Defect #2068 (New): [source:XYZ@latest#L142 Line 3434] will not be convertedhttps://www.redmine.org/issues/20682008-10-22T10:48:48ZKarl Heinz Marbaise
<p>The importer does not correctly handle the following situation<br /><pre>[source:/tags/JAGOSI-0.0.10/jagosiapi/src/main/java/com/soebes/jagosi/api/JaGoSI.java@latest#L143 Line 143]</pre>.<br />This should be converted into a thing like<pre>source:XYZ@HEAD</pre>.</p> Redmine - Defect #2004 (Needs feedback): Trac Migration ticket numbers vs. global Issue numbershttps://www.redmine.org/issues/20042008-10-07T20:27:32ZKarl Heinz Marbaise
<p>During the migration of multiple trac projects i have observed the following problem. After migrated the first trac project (e.g. with ticket numbers from 1..20) everything is ok, but with the second trac project (with ticket numbers from 1..20 as well) the ticket numbers from the second trac project will be incremented by the number of tickets of the first migrated project. This is based on the global issue numbers in Redmine.</p>
<p>The problem with this is if the revision Log messages will used to make a reference to a particular ticket number like this...<br /><pre>
- Fixed #12
- ....
</pre><br />The Ticket <a class="issue tracker-1 status-5 priority-4 priority-default closed" title="Defect: Can't Save Changes to Project (Closed)" href="https://www.redmine.org/issues/12">#12</a> relates to a particular revision of the second migrated project. So if you use now the repository browser you will be navigated to the first project instead to the second project....In the repository browser of the second project you will be navigated to the first project as well.</p>
<p>The solution can be a very complex task.</p>
<ol>
<li>Add a new supplemental field during the migration and store the original ticket number into it, but this will make the referencing feature from the repository browser unusable.</li>
<li>Create a script which fixes the log message, but this will work only in Subversion and is not a simple job.</li>
<li>Use an issue counter on a project based instead of a global base (This might have many other issues).</li>
</ol> Redmine - Defect #1931 (New): Timeout risks: need asynchronous operationshttps://www.redmine.org/issues/19312008-09-22T07:25:20ZThomas Lecavelier
<p>As notified by Calvin in the forums(<a class="external" href="http://www.redmine.org/boards/2/topics/2327">http://www.redmine.org/boards/2/topics/2327</a>), big SCM repositories cause web servers to timeout access to repository views. It's not a good idea to encourage people to set long timeout their web server. A solution is to wrap potential long call in asynchronous process:</p>
<ol>
<li>Find out every potential long call</li>
<li>Wrap it in an asynchronous process</li>
<li>Add a "waiting hook" on that page, with a js observer to check when the call take end</li>
</ol>
<p>For my part, I think it's an important defect (so the priority) and not a little yard, but a doable one.</p>
<p>I'm open to every suggestion about a different way to fix it.</p> Redmine - Defect #1843 (Needs feedback): Importing trac's [wiki:"String WikiString"] translates t...https://www.redmine.org/issues/18432008-09-02T14:50:39ZDaniel Feliciano Branco
<p>Hi,</p>
<p>When importing trac's [wiki:"String WikiString"] it translates to [[String [[WikiString]]]]</p>
<p>Removing line <a class="source" href="https://www.redmine.org/projects/redmine/repository/svn/entry/tags/0.7.3/lib/tasks/migrate_from_trac.rake#L244">source:/tags/0.7.3/lib/tasks/migrate_from_trac.rake#L244</a> solve this for me because I don't use WikiCaps.</p>
<p>I've tried to fix it, but don't have enough regexp magic.</p>
<p>ruby 1.8.5<br />rails 2.0.2</p>
<p>Thanks</p>
<p>daniel</p> Redmine - Defect #1811 (New): Clicking on an issue in a subproject changes focus of "View all iss...https://www.redmine.org/issues/18112008-08-26T18:04:28ZIan Cely
<p>Repro:</p>
<p>Click on a project containing a sub project.</p>
<p>Click on "Issues."</p>
<p>Click on an issue in the list that is marked as belonging to a subproject.</p>
<p>Click on "View all issues" or click on the "Issues" tab.</p>
<p>Result:</p>
<p>You see the issue list for the subproject <strong>only</strong>.</p>
<p>Expect:</p>
<p>You are taken back to the issues page for the parent project.</p> Redmine - Defect #1768 (New): Custom field reordering isn't working at a lot of placeshttps://www.redmine.org/issues/17682008-08-11T17:41:00ZMischa The Evil
<a name="Description"></a>
<h3 >Description:<a href="#Description" class="wiki-anchor">¶</a></h3>
<p>After feature request <a class="issue tracker-2 status-5 priority-4 priority-default closed" title="Feature: custom-field sort function or make new format for custom-field. (Closed)" href="https://www.redmine.org/issues/477">#477</a> revision <a class="changeset" title="Custom fields can now be reordered." href="https://www.redmine.org/projects/redmine/repository/svn/revisions/901">r901</a> introduces custom-field reordering. Though this implementation seems to be (mostly) not working.</p>
<a name="My-own-review-log-which-is-quite-detailed"></a>
<h3 >My own review log which is quite detailed:<a href="#My-own-review-log-which-is-quite-detailed" class="wiki-anchor">¶</a></h3>
<pre>
* issue.custom_fields -> Are not reordered at all:
- not in the issue-view (@ /issues/show/xxxissuexxx)
- not for the appearance of it's column in the main issuelist-view (@ /issues)
- not for the appearance of it's column in the project's issuelist-view (@ /projects/xxxprojectxxx/issues)
- not in the issue edit-view (@ /issues/edit/xxxissuexxx)
* project.custom_fields -> Are reordered partly:
- not in the projectoverview-view (@ /projects/show/xxxprojectxxx)
- it actually works in the edit-view (@ /projects/settings/xxxprojectxxx)
* user.custom_fields -> Are reordered partly:
- not in the account-view (@ /account/show/xxxuserxxx)
- it actually works in the admin's account edit-view (@ /users/edit/xxxuserxxx)
(user's edit-view isn't available at all (see #524 for the issue and #242 for an older patch))
* timelog.custom_fields -> Are reordered partly
- works fully in the general timelog edit-view (@ /projects/xxxprojectxxx/timelog/edit/xxxtimelogentryxxx)
- works fully in the issue's timelog edit-view (@ /timelog/edit?issue_id=xxxissuexxx)
(timelog's details-view (@ /projects/xxxprojectxxx/timelog/details) is missing columns for timelog.custom_fields at all (see #1766))
(timelog's report-view (@ /projects/xxxprojectxxx/timelog/report) does contain the timelog.custom_fields columns though they are not reordered (order in the 'Add:'-list is a mess))
</pre>
<a name="Issue-Notes"></a>
<h3 >Issue Notes:<a href="#Issue-Notes" class="wiki-anchor">¶</a></h3>
<ul>
<li>Category 'Custom Fields' isn't correct, but on purpose since this is related actually to some views of different category-items. This seems the best category of all...</li>
<li>Affected version 'devel' is party correct. Most certain this is also a defect on the 0.7 stable-branch.</li>
</ul>
<a name="IRC-log-of-discussion-specific-to-issuecustom_fields"></a>
<h3 >IRC-log of discussion specific to issue.custom_fields:<a href="#IRC-log-of-discussion-specific-to-issuecustom_fields" class="wiki-anchor">¶</a></h3>
<blockquote>
<p>Me: It doesn't hold any code ... to sort those fields like done in the admin-section. That means sorting of issue.custom-fields like implemented in <a class="changeset" title="Custom fields can now be reordered." href="https://www.redmine.org/projects/redmine/repository/svn/revisions/901">r901</a> isn't what is meanted in <a class="issue tracker-2 status-5 priority-4 priority-default closed" title="Feature: custom-field sort function or make new format for custom-field. (Closed)" href="https://www.redmine.org/issues/477">#477</a> which therefore shouldnt be closed imho...</p>
<blockquote>
<p>Eric Davis: I think it's right, the controller selects the fields in order by position.</p>
</blockquote>
<blockquote>
<p>Eric Davis: ah but your right, the latest code was refactored and it looks like it isn't checking that</p>
</blockquote>
<p>Me: Indeed imo after <a class="changeset" title="Custom fields can now be reordered." href="https://www.redmine.org/projects/redmine/repository/svn/revisions/901">r901</a> the fields should be rendered ordered like done in the admin.</p>
<blockquote>
<p>Eric Davis: nm, acts_as_customizable automatically orders by position.</p>
</blockquote>
<blockquote>
<p>Eric Davis: but the UI isn't reflecting it...</p>
</blockquote>
<blockquote>
<p>Eric Davis: the code looks correct but the UI isn't reordering on my install.</p>
</blockquote>
<p>Me: Thanks for the confirmation</p>
</blockquote> Redmine - Defect #1759 (Needs feedback): Migration from trac/postgresql fails with SQL error (pro...https://www.redmine.org/issues/17592008-08-08T20:38:42ZMarcin Kasperski
<p>Migration from trac (with data in postgres database) ends with:</p>
<pre>
Migrating components...
Migrating milestones...
Migrating custom fields
Migrating tickets.rake aborted!
PGError: ERROR: operator does not exist: text = integer
LINE 1: ...CT * FROM "attachment" WHERE ("attachment".id = 1 AND (a...
^
HINT: No operator matches the given name and argument type(s). You might need to add explicit type casts.
: SELECT * FROM "attachment" WHERE ("attachment".id = 1 AND (attachment.type = 'ticket'))
</pre>
<p>The same SQL fails when issued from psql, to have it working one must <strong>quote</strong> this identifier - WHERE ("attachment".id = "1" ....)</p>
<p>PS Postgres 8.3 is restrictive on datatypes....</p> Redmine - Defect #1628 (Reopened): redmine sends http on forms on https serverhttps://www.redmine.org/issues/16282008-07-12T08:58:14ZMichal Bielicki
<p>I have the following configuration:<br />Glassfish v2UR2<br />jruby 1.1.2<br />rails 2.0.2</p>
<p>I have a http-listener on port 443 with security enabled.<br />Applications like xwiki, spree (rails shopping system) and others work fine.<br />redmine is supposed to be the root application on the system.</p>
<p>I had it all running fine with redmine-0.7.0 and updated to 0.7-stable from svn (I am running revision 1651). Now <a class="external" href="https://mywebserver/">https://mywebserver/</a> redirects to <a class="external" href="http://mywebserver/login">http://mywebserver/login</a> which of course does not exist.<br />When I manage to login by changing urls by hand, website links work fine, but all forms, like creating issues etc, still try to send to a http address instead of a https address.<br />THis was nt happening with 0.7.0</p> Redmine - Defect #1513 (Reopened): Fixing issues in commit messages can break the workflowhttps://www.redmine.org/issues/15132008-06-21T00:50:54ZLeandro Lucarella
<p>I have a redmine instances with trackers with orthogonal states (for example, task have a state "done" instead of "fixed" for bugs). In the workflow, a task can never be in "fixed" state and for that reason, can't go to any other state from "fixed" state..</p>
<p>On the other hand, I have the option "Referencing and fixing issues in commit messages" activated but I can only specify one "Applied status" (which I have in fixed).</p>
<p>The problem is, if a commit message closes a task, the task is set to be in "fixed" state, but (apart from being wrong) it can't be changed (unless I make the workflow less restrictive, which I rather not).</p>
<p>So, I think it would be great if one can specify a "default" closed state for a tracker, and have a option in "Applied status" that says "Default closed state" or something like that, so when a commit closes an issue, the correct state can be set.</p>
<p>It would be great too if one can specify how to close the issue in the commit message (something like "closes <a class="issue tracker-1 status-5 priority-4 priority-default closed" title="Defect: NoMethodError causes HTTP 500 error (Closed)" href="https://www.redmine.org/issues/1234">#1234</a> (fixed)".</p>
<p>Thank you.</p>
<p>Using Redmine 0.7.2.1557 (MySQL).</p> Redmine - Defect #1420 (Needs feedback): LDAP authentication extremely flakyhttps://www.redmine.org/issues/14202008-06-10T17:18:53Zmathew murphy
<p>I hit a problem with LDAP on Linux. It turns out that net/ldap is extremely unreliable when authenticating against the LDAP server at work. I've filed a bug against net/ldap on RubyForge, but since the project seems dormant it's not clear anything will happen.</p>
<p>As a workaround, I coded up a replacement for app/models/auth_source_ldap.rb that uses the Ruby interface to OpenLDAP. So far this has been reliable.</p>
<p>Presumably ruby/ldap works for some people, so it might be nice to offer both as options, but I couldn't immediately work out how to patch RedMine to do that.</p> Redmine - Defect #1389 (New): Support "x-*" language codes by removing length limithttps://www.redmine.org/issues/13892008-06-05T18:02:58ZArthaey Angosii
<p>Forcing language codes to be <= 5 characters does not allow for "x-*" codes, which can be arbitrarily long:</p>
<blockquote>
<p>"The most widely used standard for identifying languages in Internet documents (such as in HTTP headers or HTML metadata or in the XML lang attribute) is <a href="http://www.ietf.org/rfc/rfc4646.txt" class="external">RFC 4646</a> (formerly RFC 3066). In that standard, a three-letter identifier is interpreted as being a code from the <a href="http://www.loc.gov/standards/iso639-2/" class="external">ISO 639-2</a> standard. RFC 4646 offers an extension mechanism of tags beginning with x- to handle custom codes for languages not covered in the standard." <em>(Source: <a class="external" href="http://www.ethnologue.com/codes/">http://www.ethnologue.com/codes/</a>)</em></p>
</blockquote>
<p>There are also "i-*" codes for grandfathered codes. See also the <a href="http://www.w3.org/TR/REC-html40/struct/dirlang.html#h-8.1.1" class="external">w3c HTML4 spec for the <code>lang</code> attribute</a> and <a href="http://www.ietf.org/rfc/rfc1766.txt" class="external">RFC 17666</a>.</p> Redmine - Defect #1355 (New): trac importer error in convert_wiki_texthttps://www.redmine.org/issues/13552008-06-02T18:59:18ZChristoph Koehler
<p>When passing the description of a ticket to this method at line 360, the method parses the description wrongly for tickets. This is the text that was set as description:<br /><a href=http://myspace.iega.info/sm.html#970999997 >myspace image uploader</a> [url=http://myspace.iega.info/sm.html#1508845067]myspace image uploader[/url] <a class="external" href="http://myspace.iega.info/sm.html">http://myspace.iega.info/sm.html</a> 1297564108</p>
<p>On line 251, $1 had the value of 970999997, which passed the if condition and tried to stick it into the index of TICKET_MAP, which aborted the rake task with error "index too big"</p>
<p>The solution in this case was setting the if to test for length < 9 instead of 10, but a change in the algorithm may be required.</p>
<p>Hope that info helped.</p> Redmine - Defect #1317 (New): Mantis migration - encoding mismatcheshttps://www.redmine.org/issues/13172008-05-28T10:08:29ZLeszek Ciesielski
<p>I am using the svn-head version of Redmine. When I try to migrate an existing Mantis setup (databases use LATIN2 encoding AFAIK), I can either:<br />- migrate with encoding[UTF-8] (I just leave the default) - this botches the user names and ticket texts quite a lot<br />- try to change the encoding used by rake - this breaks with<br /><pre>
encoding [UTF-8]: LATIN2
rake aborted!
Validation failed: Lastname activerecord_error_invalid
</pre></p>
<p>Any ideas what encoding could work (I tried several, everything other than UTF-8 gives the same error)? And BTW, could the script just autodetect it, like phpmyadmin does?</p>
<p>The original database export is 40MB after compression, but if someone is willing to work on this I can trim it down and attach a smaller repro.</p> Redmine - Defect #1175 (Confirmed): Empty diff page for binary fileshttps://www.redmine.org/issues/11752008-05-05T11:48:22ZLeszek Ciesielski
<p>When files are commited to svn repository with binary mime type (generally anything with application/* mime), Redmine still shows the "Annotate" button for them, but pressing it shows an empty change list. It would be more user-friendly to show some kind of message indicating why no diff is available (e.g. "This file has a binary mime type of application/xml").</p> Redmine - Defect #1013 (Confirmed): Custom queries can be saved under same namehttps://www.redmine.org/issues/10132008-04-07T22:42:41ZMaxim Krušina
Then it's really hard to find out what-is-what query.<br />I think that query name should be unique.<br />We probably want to allow same name of queries for different users (so user A can have private query with same name as user B), like "My issues".<br />For uniqueness we shoudl check:
<ul>
<li>In all queries of one users, including global public queries</li>
<li>Global public queries</li>
</ul> Redmine - Defect #980 (New): "For all projects" custom querieshttps://www.redmine.org/issues/9802008-04-03T00:18:25ZPaul Macdonnell
<p>I have setup several custom queries and marked them as "For all projects".<br />The first time I view this query, it works great. If I then select one of the issues in the list, then click on the custom query again, the issue list is restricted to just the issues in the project of the current issue. ie, it doesn't show all issues for all projects. If I go back out to "My page", click on "View all issues" under "Issues assigned to me", then click on the custom query again, it lists everything again.</p>
<p>I am running 0.7.devel.1315 on:<br />ruby 1.8.5 (2007-06-07 patchlevel 52) [i386-linux]<br />Rails 2.0.2</p> Redmine - Defect #668 (New): Date input fields don't respect date format settingshttps://www.redmine.org/issues/6682008-02-15T11:07:05ZBastian Salmela
<p>The input box next to calendar, shows always "YYYY-MM-DD" and doesn't follow the language settings.</p>
<p>This is very confusing at least in finnish language, because we never type it like that.</p>
<p>.b</p>