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.

Cascade project clo...
 
Notifications
Clear all

Cascade project closure

5 Posts
2 Users
0 Reactions
4,522 Views
 Dan
(@caccia)
Posts: 340
Contributor
Topic starter
 
[#1808]

Hello Babynus,

We now have since V4.2 I think the possibility to delete a parent project along with everything below it (activities, subprojects, etc.).
I thought this was also the case for closing projects, but apparently not...

Is it possible to add the same mechanism (with confirmation of course) when closing a project ?

Thanks!


 
Posted : 14 May 2014 18H33
babynus
(@babynus)
Posts: 14954
Main Contributor Admin
 

The mecanism exists, but constraints are not the same.
Deletetion is more easy to be able to delete copied project.
Closure requires some real work : for instance, all activities should be manually closed, and auto closing activities may lead to unexpected behavior.
The easiest to close all activities (if needed) is to use multiple update screen to change status.


 
Posted : 14 May 2014 20H11
 Dan
(@caccia)
Posts: 340
Contributor
Topic starter
 

I see.
But is there some new functionality on project closure ? I got the idea from the release notes :
>Dispatch "closed" tag with confirmation instead of blocking

But not sure how that works...


 
Posted : 15 May 2014 11H46
babynus
(@babynus)
Posts: 14954
Main Contributor Admin
 

Hi,

Closure of project can now auto-close some sub items with confirmation.
Have a look at $_closeRelationShip in SqlElement.php.

"Project" =>            array("Action"=>"confirm",
                                  "Activity"=>"control",
                                  "Affectation"=>"cascade",
    		                          "Command"=>"control",
                                  "Document"=>"confirm",
                                  "Issue"=>"confirm",
                                  "IndividualExpense"=>"confirm",
                                  "ProjectExpense"=>"confirm",
                                  "Term"=>"confirm",
                                  "Bill"=>"confirm",
                                  "Milestone"=>"confirm",
                                  "Project"=>"control", 
                                  "Risk"=>"confirm", 
                                  "Ticket"=>"control",
                                  "Decision"=>"confirm",
                                  "Meeting"=>"confirm",
    		                          "Opportunity"=>"confirm",
    		                          "PeriodicMeeting"=>"confirm",
                                  "VersionProject"=>"cascade",
                                  "Question"=>"confirm",
    		                          "Quotation"=>"confirm",
                                  "Requirement"=>"confirm",
                                  "TestCase"=>"confirm",
                                  "TestSession"=>"confirm"),

This means that Actions can be closed with confirmation ("confirm"), but Activity should be manually closed before ("control"), while Affectations will be closed without requiring confirmatin ("cascade")


 
Posted : 15 May 2014 12H59
 Dan
(@caccia)
Posts: 340
Contributor
Topic starter
 

Nice, that's very clear - thanks again ! 🙂


 
Posted : 16 May 2014 14H51
Share:

Scroll to Top