Bug #5856
closed
Morpho says that the network access policy has been set successfully, but actually it didn't
Added by Jing Tao over 11 years ago.
Updated over 11 years ago.
Description
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.
Are you checking the access rules on the CN or the MN? Updates to the access policy are made to the CN for packages that are saved to the network.
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?
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.
Original Bugzilla ID was 5856
Also available in: Atom
PDF