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.

Result Handling in ...
 
Notifications
Clear all

Result Handling in SaveObjectLinkedByIdToMainObject

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

Hi.
It seems that in saveObjectLinkedByIdToMainObject you want to hide errors.
In fact when last save is OK , if previous result was OK you overwrite last id, but if it was not you overwrite whole result.
It's OK ?


 
Posted : 15 Jun 2017 13H08
babynus
(@babynus)
Posts: 14966
Main Contributor Admin
 

Hi,

No, in saveObjectLinkedByIdToMainObject, several links can be save at one time.
It manages links from Organization to Projects, and so saves idOrganization in projects.
$result concatenates id of all updated project.
I tested, this works fine.

But this highlighted another issue : page was not correctly refreshed to show new links.
This is fixed on V6.3


 
Posted : 19 Jun 2017 22H44
Share:

Scroll to Top