Morpho says that the network access policy has been set successfully, but actually it didn't
I opened a network data package(network only) and add a new rule from the Documentation|Access Information menu.
The conformation said "Successfully set Access Policy for tao.2013021116491509051". If i clicked the Documentation|Access, i can see the the rules.
However, if i close the data package and open it again. Now i can't see the rule after i clicks Documentation|Access Information. I read the system metadata by the browser. There is no the new rule I added.
For the local data package, the setting of the access policy works.
#2 Updated by Jing Tao over 8 years ago
Good question. I checked the access policy on the MN. I just checked the cn. The data package identifier doesn't exist at all.
I don't think the mn is part of this cn. So the change the access policy should fail. But morpho says it succeeded.
#3 Updated by ben leinfelder over 8 years ago
I tried this with the same set-up you describe, but get an error message about the object not being on the CN (as expected):
urn:uuid:6bdb98da-907f-4e8c-9480-a69c79fc4ba8 not found on the Coordinating Node. Cannot set Access Policy until it has been synchronized. Please try again later.
What could the difference be between our set-ups?
#4 Updated by Jing Tao over 8 years ago
#5 Updated by ben leinfelder over 8 years ago
The boolean operation when calling local vs. network was short circuiting when it was network-only and not even calling the network method. No exception was thrown and the return status wasn't being checked (nor was it correct).
Fixed all of this for both access policy and replication policy.