northwest-knowledge-network / portal

NKN's Data Portal
0 stars 1 forks source link

No error checking for writing files in postPublishScript.py #6

Closed flathers closed 7 years ago

flathers commented 7 years ago

We had a situation where the root user had lost write access to the datastore, which meant that when a dataset was approved within geoportal, the postPublishScript was unable to write but failed silently. Add some error checking that will notify us if the script is unable to write.

flathers commented 7 years ago

This will wind up being a part of mdedit, since it's the part that will handle publication from now on.