Don't allow __local property for replicated objects.

This commit is contained in:
Gunnar Beutner 2012-07-02 12:57:53 +02:00
parent 639d2e5be0
commit 5e4a3eb181
1 changed files with 3 additions and 0 deletions

View File

@ -162,6 +162,9 @@ void ConfigRpcComponent::RemoteObjectCommittedHandler(const RequestMessage& requ
else
object->SetProperties(properties.GetDictionary());
if (object->IsLocal())
throw invalid_argument("Replicated remote object is marked as local.");
object->Commit();
}