Forum

Result Handling in ...
 
Notifications
Retirer tout

Result Handling in SaveObjectLinkedByIdToMainObject

2 Posts
2 Utilisateurs
0 Reactions
3,159 Vu
(@antonio-grr)
Posts: 84
Estimable Member
Début du sujet
 
[#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 ?


 
Posté : 15/06/2017 1:08 pm
(@babynus)
Posts: 14952
Membre 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


 
Posté : 19/06/2017 10:44 pm
Share:
Retour en haut