Forum

Welcome to ProjeQtOr new Forum. We migrated old forum to the new website.
You will find all your posts here, with your usual account.
Just one point : you’ll have to reinitialize your password. Use “Lost password” feature.

copyproject
 
Notifications
Clear all

copyproject

9 Posts
2 Users
0 Reactions
5,399 Views
(@pepito)
Posts: 12
Active Member
Topic starter
 
[#545]

Hi!

I try copy a project and I find a mistake

] SQL Error : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ') or (successorRefType,successorRefId) in ()' at line 1

select * from dependency where (predecessorRefType,predecessorRefId) in () or (successorRefType,successorRefId) in ()

then, the project didn't copy in its entirety

Thanks


 
Posted : 04 Jun 2012 16H57
(@babynus)
Posts: 14952
Member Admin
 

Hi,

You face this issue because you select "copy with sctructure" for a project witrh no activity and no milestone (so, no strucutre).
As a workaround, uncheck this option will avoid the error, or try and copy project with a structure.

This issue will be fixed in next version.


 
Posted : 04 Jun 2012 18H34
(@pepito)
Posts: 12
Active Member
Topic starter
 

i didn't choose copy structutre, and in th logs were written

2012-06-04 17:58:04 ** ERROR ** cause = Undefined variable: nbErrors


 
Posted : 05 Jun 2012 11H03
(@babynus)
Posts: 14952
Member Admin
 

Last error fixed

To fix it , replace in /tool/copyProjectTo.php, line 34

// Save Structure
if (stripos($result,'id="lastOperationStatus" value="OK"')>0 and array_key_exists('copyProjectStructure',$_REQUEST)) {
  $nbErrors=0;

with

$nbErrors=0;
// Save Structure
if (stripos($result,'id="lastOperationStatus" value="OK"')>0 and array_key_exists('copyProjectStructure',$_REQUEST)) {

Fixing will be deployed in V2.3


 
Posted : 05 Jun 2012 11H54
(@pepito)
Posts: 12
Active Member
Topic starter
 

if I copy a projet with activity and milestone, le project don't copy entirety

it copies some activities but it doesn't copy all and I don't understand it

Thanks


 
Posted : 05 Jun 2012 19H05
(@babynus)
Posts: 14952
Member Admin
 

Can you give some more detailed exemple ?
(screenshot ?)


 
Posted : 05 Jun 2012 20H41
(@pepito)
Posts: 12
Active Member
Topic starter
 

i write un document
Thanks


 
Posted : 06 Jun 2012 21H12
(@pepito)
Posts: 12
Active Member
Topic starter
 

i try again


 
Posted : 06 Jun 2012 21H17
(@pepito)
Posts: 12
Active Member
Topic starter
 

I write a document


 
Posted : 06 Jun 2012 21H18
Share:

Scroll to Top