https://www.redmine.org/https://www.redmine.org/favicon.ico?16793021292008-05-02T15:42:22ZRedmineRedmine - Defect #1164: Import Trac Datahttps://www.redmine.org/issues/1164?journal_id=25722008-05-02T15:42:22ZJean-Philippe Langjp_lang@yahoo.fr
<ul></ul><blockquote>
<p>the logic should be something like "IF :due is not NULL and if due > 0 THEN ... else nil."</p>
</blockquote>
<p>You can try to replace line 95 with:</p>
<pre><code>if read_attribute(:due) && read_attribute(:due) > 0</code></pre>
<p>Please, let me know if it fixes your problem.</p> Redmine - Defect #1164: Import Trac Datahttps://www.redmine.org/issues/1164?journal_id=25732008-05-02T15:59:47ZMark P
<ul></ul><p>Worked like a champ. Here are the results. We are just now evaluating Redmine to replace PVCS Tracker and Trac. So far, it has been a great experience. Thanks for doing so much work on it. Now we just need to figure out now how to convert data from PVCS. Perhaps we will go from PVCS csv files to Trac to Redmine. If you have any ideas, we'd love to hear them. Thanks again.</p>
<p>Migrating components...........<br />Migrating milestones.........<br />Migrating custom fields<br />Migrating tickets..................................................................................................................................................................................................................<br />Migrating wiki...........</p>
<p>Components: 0/11<br />Milestones: 3/9<br />Tickets: 210/210<br />Ticket files: 1/1<br />Custom values: 0/0<br />Wiki edits: 11/11<br />Wiki files: 0/0</p> Redmine - Defect #1164: Import Trac Datahttps://www.redmine.org/issues/1164?journal_id=25762008-05-02T16:52:22ZJean-Philippe Langjp_lang@yahoo.fr
<ul><li><strong>Category</strong> set to <i>Importers</i></li><li><strong>Status</strong> changed from <i>New</i> to <i>Closed</i></li><li><strong>Target version</strong> set to <i>0.7.1</i></li><li><strong>Resolution</strong> set to <i>Fixed</i></li></ul><p>Fix applied in <a class="changeset" title="Fixed: error on Trac import when :due attribute is nil (#1164)." href="https://www.redmine.org/projects/redmine/repository/svn/revisions/1406">r1406</a>. Thanks for the feedback.<br />Don't have much idea for your PVCS data, sorry.</p>