Forum

[SOLVED] DEMO : Pla...
 
Notifications
Clear all

[SOLVED] DEMO : Planning Reset on copy of project

6 Posts
2 Users
0 Reactions
5,907 Views
 DPo
(@dpo)
Posts: 11
Active Member
Topic starter
 
[#2695]

Hi,
Testing the new version on DEMO site before migrate : I got a problem with the planning resetting on copying the project.

On the planning screen, I use the copy button
Results : the project is copied but the planning of the on-going project (the source) is reset and the allocations have disappeared !

you can try with the "projet DDP" on the demo site. (copies : projet DDP_2 and DDP_3 DDP_4).


 
Posted : 02 Nov 2015 19H11
(@babynus)
Posts: 14952
Member Admin
 

Issue confirmed on Demo.

Stangely, I cannot reproduce on my local instance :silly:
Ticket #1844 created


 
Posted : 02 Nov 2015 21H28
(@babynus)
Posts: 14952
Member Admin
 

:silly: More and more strange :
=> When copying DDP to DDP4, after adding assignments to DDP tasks : tasks on DDP disepear and DDP4 appear but with no assigned work...
=> When copying "Project One" to "Project One copied" : all is OK, both projects have correct assignments after copy.

Have to analyse initial status of this DDP project :huh:


 
Posted : 02 Nov 2015 21H53
(@babynus)
Posts: 14952
Member Admin
 

Issue fixed.
To try the fix, just replace line 1492 in /model/persistence/SqlElement.php from

  			  $crit=array('idResource'=>$this->idResource,'refType'=>get_class($this), 'refId'=>$this->id);

to

  			  $crit=array('idResource'=>$this->idResource,'refType'=>get_class($this), 'refId'=>$newObj->id);

Fix will soon be deployed in patch V5.1.2


 
Posted : 03 Nov 2015 20H26
 DPo
(@dpo)
Posts: 11
Active Member
Topic starter
 

Ok,
Good you find the source, I let change the code for the DEMO site 😉


 
Posted : 04 Nov 2015 16H35
(@babynus)
Posts: 14952
Member Admin
 

Patch is applied on Demo 😉


 
Posted : 05 Nov 2015 13H20
Share:

Scroll to Top