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.

Save code in Organi...
 
Notifications
Clear all

Save code in OrganizationBudgetElementMain

2 Posts
2 Users
0 Reactions
3,513 Views
(@antonio-grr)
Posts: 84
Active Member
Topic starter
 
[#4429]

Hi.
In function save of OrganizationBudgetElementMain last code by Marc Tabary contains two return with no value. One of this never encounters parent::save();

Could someone explain me ?
Thank you for your attention


 
Posted : 20 Jun 2017 11H39
babynus
(@babynus)
Posts: 14966
Main Contributor Admin
 

You're right.
I fixed this, but this may not have impact.
In fact budget is saved when organization or project is saved, and result for saving is never used.
As first version for organization budget calcuation, it may be better not cancel main saved object if budget calculation fails 🙁


 
Posted : 22 Jun 2017 20H07
Share:

Scroll to Top