You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In method \Atlas\Transit\Handler\EntityHandler::updateSource(), it's checked if the domain object exists in storage and if no, Transit do an INSERT to the database instead of UPDATE.
But if we save the Domain object in session for example, and store/persist in another context, Transit do an INSERT and thrown an exception for duplicate entry (because the domain doesn't not getted in the same context).
How do an update of a domain getted from another context?
Thanks.
The text was updated successfully, but these errors were encountered:
Hi,
In method
\Atlas\Transit\Handler\EntityHandler::updateSource()
, it's checked if the domain object exists in storage and if no, Transit do an INSERT to the database instead of UPDATE.But if we save the Domain object in session for example, and store/persist in another context, Transit do an INSERT and thrown an exception for duplicate entry (because the domain doesn't not getted in the same context).
How do an update of a domain getted from another context?
Thanks.
The text was updated successfully, but these errors were encountered: