So,I ran a few tests. I started by just adding the doc in question.
> open d4st^newco-docs^master
> add /path/to/document/KuduVariables.xml
> list d4st^newco-docs^master
Input Path Type Content-Type Size
-----------------------------------------------
.d4st/metadata.xml xml application/xml 11
KuduVariables.xml xml application/xml 65
2 Resource(s).
As expected, I'm able to successfully access it locally, both through a simple web interface I have setup and the CLI.
web acces:
user 200 143.88 ms
CLI:
> delete KuduVariables.xml
1 resource(s) deleted in 0.76 ms.
> list d4st^newco-docs^master
Input Path Type Content-Type Size
-----------------------------------------------
.d4st/metadata.xml xml application/xml 11
1 Resource(s).
When I deploy this to the server without making any changes, the resource becomes inaccessible.
web access:
admin 400 Stopped at /opt/basex/webapp/linkmgrViews.xqm, 90/19: [basex:doc] Database path 'd4st^newco-docs^master/KuduVariables.xml' yields no documents. 350.65 ms
CLI:
> list d4st^newco-docs^master
Input Path Type Content-Type Size
-----------------------------------------------
.d4st/metadata.xml xml application/xml 11
KuduVariables.xml xml application/xml 65
2 Resource(s).
> delete KuduVariables.xml
0 resource(s) deleted in 0.86 ms.
It literally is affecting just this one document. I've tested it by adding a couple other random docs and there are no problems accessing those. There is no difference in file permissions between all the docs getting added to the db. I am stumped!
Jason