<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
  <title>aC forum: [Still a few things to iron out] Importing big projects from 0.7.1</title>
  <link>http://www.activecollab.com/forums/topic/2289/</link>
  <description>Recent posts on topic: [Still a few things to iron out] Importing big projects from 0.7.1</description>
  <dc:language>en-us</dc:language>
  <pubDate>Fri, 05 Sep 2008 12:39:46 UTC</pubDate>
  
  <item>
    <link>http://www.activecollab.com/forums/post/10867/#post10867</link>
    <guid>http://www.activecollab.com/forums/post/10867/#post10867</guid>
    <title>Post #11 by davidm</title>
    <dc:creator>davidm</dc:creator>
    <description><![CDATA[<p>OK I found it, it's in <b>acx_project_users</b>, I had to change the project_id to 7 :)</p>]]></description>
    <pubDate>Fri, 23 Nov 2007 10:39:14 UTC</pubDate>
  </item>
  <item>
    <link>http://www.activecollab.com/forums/post/10866/#post10866</link>
    <guid>http://www.activecollab.com/forums/post/10866/#post10866</guid>
    <title>Post #10 by davidm</title>
    <dc:creator>davidm</dc:creator>
    <description><![CDATA[<p>Okay there are still a few things which cause problems :<br />
<b><br />
* Milestones and Checklists were not imported for my bigger project.</b> I have tried to import just the milestones, tasks and tasklist tables via the importer (I exported those tables, and then re-imported them on a separate DB. It worked but I got stopped by errors &quot;Faild to import...&quot; for several records. I am stuck here...)<br />
<b><br />
* For this project, I am unable to pick assignees for anything (task, milestone, whatever...).</b> When I click &quot;Change&quot; no name appear. The project is linked to a client. There must be something amiss, probably due to the fact I created this project manually and assigned the project_id to the project objects... is there anything else I need to set manually to fix this ?<br />
<br />
I have tried to spot what's missing looking at the other projects, but I can't figure it out...<br />
<br />
Hmmm, I might be on to something : this is the only project for which the &quot;People&quot; project tab doesn't point to the right url :<br />
<br />
Instead of http://espace-client.nodeo.net/public/index.php/projects/7/people - I get :   http://espace-client.nodeo.net/public/index.php/projects/7/7<br />
</p>]]></description>
    <pubDate>Fri, 23 Nov 2007 10:13:41 UTC</pubDate>
  </item>
  <item>
    <link>http://www.activecollab.com/forums/post/10856/#post10856</link>
    <guid>http://www.activecollab.com/forums/post/10856/#post10856</guid>
    <title>Post #9 by Ilija Studen</title>
    <dc:creator>Ilija Studen</dc:creator>
    <description><![CDATA[<p>I'm really glad to hear that :) We are here if you need anything else.</p>]]></description>
    <pubDate>Thu, 22 Nov 2007 12:08:54 UTC</pubDate>
  </item>
  <item>
    <link>http://www.activecollab.com/forums/post/10855/#post10855</link>
    <guid>http://www.activecollab.com/forums/post/10855/#post10855</guid>
    <title>Post #8 by davidm</title>
    <dc:creator>davidm</dc:creator>
    <description><![CDATA[<p>Thanks a ton Ilija, it works !!!<br />
<br />
I thought I'd never make it but I officially have switched from 0.7.1 to 1.0 :)<br />
</p>]]></description>
    <pubDate>Thu, 22 Nov 2007 11:55:34 UTC</pubDate>
  </item>
  <item>
    <link>http://www.activecollab.com/forums/post/10854/#post10854</link>
    <guid>http://www.activecollab.com/forums/post/10854/#post10854</guid>
    <title>Post #7 by Ilija Studen</title>
    <dc:creator>Ilija Studen</dc:creator>
    <description><![CDATA[<p>Just run this query (I assume that acx_ is your table prefix):<br />
<br />
<pre name="code" class="html">UPDATE acx_project_objects SET project_id = '7' WHERE project_id IN ('8', '9', '10', 11);</pre></p>]]></description>
    <pubDate>Thu, 22 Nov 2007 11:46:14 UTC</pubDate>
  </item>
  <item>
    <link>http://www.activecollab.com/forums/post/10853/#post10853</link>
    <guid>http://www.activecollab.com/forums/post/10853/#post10853</guid>
    <title>Post #6 by davidm</title>
    <dc:creator>davidm</dc:creator>
    <description><![CDATA[<p>Ok this time I think I am close to making it ! I have transformed with a simple search and replace with TextMate all accented characters by non accented ones and now I have much less errors.<br />
<br />
I have set my server to 512 Mb memory limit and 120 seconds max exec time.<br />
I have been able to successfully import all project but the biggest one !<br />
<br />
Good news is, I know where the problem is.<br />
All project objects have been inserted, but the issue is, <b>they have been assigned different project_id</b>.<br />
<br />
Maybe the project is too big, and thus it gets &quot;splitted&quot; into several ids. In my case project_id 7 to 11. The project itself is not created at the end of the process. I created it manually and gave it an id of 7. <br />
<br />
Now, I need to change the project id for several hundreds of records who are set to project_id 8, 9, 10 and 11.<br />
Problem is, I suck at MySQL :-\<br />
<br />
Would anyone help me there change project_id value for the records with a project_id of 8,9,10,11 into a project_id of 7 in the <b>acx_project_objects</b> table ?<br />
<br />
Thanks !!!<br />
</p>]]></description>
    <pubDate>Thu, 22 Nov 2007 11:32:51 UTC</pubDate>
  </item>
  <item>
    <link>http://www.activecollab.com/forums/post/10838/#post10838</link>
    <guid>http://www.activecollab.com/forums/post/10838/#post10838</guid>
    <title>Post #5 by davidm</title>
    <dc:creator>davidm</dc:creator>
    <description><![CDATA[<p>Thank you Ilija<br />
<br />
The error stated that a few records had to be fixed before importing could go on. <br />
<br />
I noticed those were short anwers like &quot;yes&quot; or &quot;ok&quot;.  Deleted them. Didn't get any warning after that. The process went on for something like 35 seconds and the importer says the project is imported, but it's not.<br />
<br />
I am dropping the attemps to import anyway. It didn't work locally, so it's not an issue with resources. Accented characters being dropped, issues with imported tasks and whatnot, I'd rather start clean even if it means putting 3 days into transferring data manually... <br />
<br />
I'll import users and company (this works fine) and work from there.</p>]]></description>
    <pubDate>Wed, 21 Nov 2007 11:11:06 UTC</pubDate>
  </item>
  <item>
    <link>http://www.activecollab.com/forums/post/10837/#post10837</link>
    <guid>http://www.activecollab.com/forums/post/10837/#post10837</guid>
    <title>Post #4 by Ilija Studen</title>
    <dc:creator>Ilija Studen</dc:creator>
    <description><![CDATA[<p>What error message do you get? Just that it failed to import data or something specific.<br />
<br />
Regarding short comments: activeCollab 1.0 requires for a comment to have at least 5 characters. You can hack around this by changing Comment class located in /activecollab/application/modules/resources/models/comments/Comment.class.php:<br />
<br />
<pre name="code" class="php">function validate(&amp;$errors) {
  if(strlen(trim(strip_tags($this-&gt;getBody()))) &lt; 5) {
    $errors-&gt;addError(lang('Minimal content value is 5 characters'), 'body');
  } // if
  
  parent::validate($errors, true);
} // validate</pre><br />
<br />
to:<br />
<br />
<pre name="code" class="php">function validate(&amp;$errors) {
  if(strlen(trim(strip_tags($this-&gt;getBody()))) &lt; 1) {
    $errors-&gt;addError(lang('Minimal content value is 5 characters'), 'body');
  } // if
  
  parent::validate($errors, true);
} // validate</pre><br />
<br />
(drops limit to 1 character).</p>]]></description>
    <pubDate>Wed, 21 Nov 2007 11:03:06 UTC</pubDate>
  </item>
  <item>
    <link>http://www.activecollab.com/forums/post/10836/#post10836</link>
    <guid>http://www.activecollab.com/forums/post/10836/#post10836</guid>
    <title>Post #3 by davidm</title>
    <dc:creator>davidm</dc:creator>
    <description><![CDATA[<p>Again on importing.<br />
I have set up an install locally on my 4Gb 2.4GHz iMac, and set the memory limit to 2Gb and max execution time @ 3600 seconds.<br />
<br />
I had an error message for 4 comments (which I can't figure out, except they were very short comments, just &quot;ok&quot; or &quot;yes&quot;), which I deleted from the DB but the import did not come through anyway. My 2 biggest projects - for my biggest clients - can't be imported :-(<br />
<br />
Which means I'll have to drop several months of project history and manually transfer content for open milestones, tasks... it's going to be time consuming :-\<br />
<br />
If anyone has a method to import projects with hundreds of messages, files... I am still interrested !<br />
</p>]]></description>
    <pubDate>Wed, 21 Nov 2007 10:45:51 UTC</pubDate>
  </item>
  <item>
    <link>http://www.activecollab.com/forums/post/10832/#post10832</link>
    <guid>http://www.activecollab.com/forums/post/10832/#post10832</guid>
    <title>Post #2 by davidm</title>
    <dc:creator>davidm</dc:creator>
    <description><![CDATA[<p>A few things I discovered while trying to fix importing issues : <br />
<br />
* It would seem no matter which project is imported, it doesn't get a <b>company_id</b> in the <b>acx_projects</b> table (or rather, all imported projects have a &quot; 0 &quot; value). <br />
<br />
* Also, in the <b>acx_companies</b> table, 4 out of 6 project imported gets a manager_id also with a value of &quot; 0 &quot;<br />
<br />
Last but not least, those projects who got imported have issues like I am unable to delete a simple task... this is frustrating !<br />
<br />
</p>]]></description>
    <pubDate>Wed, 21 Nov 2007 09:32:28 UTC</pubDate>
  </item>
</channel>
</rss>