Forum

Result Handling in ...
 
Notifications
Retirer tout

Result Handling in SaveObjectLinkedByIdToMainObject

2 Posts
2 Utilisateurs
0 Reactions
3,160 Vu
(@antonio-grr)
Posts: 84
Active 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 Juin PM 13:066
(@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 Juin PM 22:066
Share:
Retour en haut