Forum

Project associate w...
 
Notifications
Clear all

Project associate with a Subproject

7 Posts
2 Users
0 Reactions
5,599 Views
(@sogeti)
Posts: 135
Active Member
Topic starter
 
[#4889]

Hello,

How to remove the assosiation of a project to a subproject ?

Thank you

Best Regards,


 
Posted : 09 Jan 2018 12H01
(@babynus)
Posts: 14952
Member Admin
 

On sub-project, remove value for field "is sub-project of".


 
Posted : 09 Jan 2018 12H04
(@sogeti)
Posts: 135
Active Member
Topic starter
 

Thank you for you response.

But it generates an error.

Best Regards,


 
Posted : 09 Jan 2018 12H35
(@babynus)
Posts: 14952
Member Admin
 

Issue recorded as Ticket #3181


 
Posted : 09 Jan 2018 13H28
(@babynus)
Posts: 14952
Member Admin
 

Hi,

Fix is to replace line 1398 in /model/persistence/SqlElement.php from

          if ($col_name == 'idProject') {

to

          if ($col_name == 'idProject' and get_class($this)!='Project') {

Fix will be deployed in next patch.


 
Posted : 09 Jan 2018 13H56
(@sogeti)
Posts: 135
Active Member
Topic starter
 

I am in v 6.4.4 and in the SqlElement.php file, line 1398 is :

if (Sql::isPgsql ())) {

Can you find another solution ?

Best Regards,


 
Posted : 09 Jan 2018 17H19
(@babynus)
Posts: 14952
Member Admin
 

In V6.4.4, line is 1368


 
Posted : 09 Jan 2018 17H26
Share:

Scroll to Top