Hi,
Upon executing:
db:rename('dbname', '', 'path')
All database data was put under a root collection named 'ath' not the expected 'path'.
The first letter gets chopped, something to do probably with string manipulation and zero string length.
Thanks, alex
On 10/16/2012 11:20 PM, Charles Kowalski wrote:
Hi,
Upon executing:
db:rename('dbname', '', 'path')
All database data was put under a root collection named 'ath' not the expected 'path'.
The first letter gets chopped, something to do probably with string manipulation and zero string length.
Thanks, alex
To correct my previous description the first letter of every *child* path gets lost ie
db:replace('db', 'test.xml', <root/>) db:rename('db', '', 'renamed')
results in: 'renamed/est.xml'
Thanks, alex
Dear Charles,
Thank you very much for your report; and sorry for this inconvenience. Someone of our team will have a look and we will get back to you ASAP.
Best Michael
Von meinem iPad gesendet
Am 16.10.2012 um 22:23 schrieb Charles Kowalski alxarch@gmail.com:
On 10/16/2012 11:20 PM, Charles Kowalski wrote:
Hi,
Upon executing:
db:rename('dbname', '', 'path')
All database data was put under a root collection named 'ath' not the expected 'path'.
The first letter gets chopped, something to do probably with string manipulation and zero string length.
Thanks, alex
To correct my previous description the first letter of every *child* path gets lost
db:replace('db', 'test.xml', <root/>) db:rename('db', '', 'renamed')
results in: 'renamed/est.xml'
Thanks, alex _______________________________________________ BaseX-Talk mailing list BaseX-Talk@mailman.uni-konstanz.de https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk
Charles,
thanks for your observation, which I had added to our issue tracker [1]. It has been fixed in the latest snapshot [2].
Best, Christian
[1] https://github.com/BaseXdb/basex/issues/583 [2] http://files.basex.org/releases/latest/ ___________________________
On Tue, Oct 16, 2012 at 10:23 PM, Charles Kowalski alxarch@gmail.com wrote:
On 10/16/2012 11:20 PM, Charles Kowalski wrote:
Hi,
Upon executing:
db:rename('dbname', '', 'path')
All database data was put under a root collection named 'ath' not the expected 'path'.
The first letter gets chopped, something to do probably with string manipulation and zero string length.
Thanks, alex
To correct my previous description the first letter of every *child* path gets lost ie
db:replace('db', 'test.xml', <root/>) db:rename('db', '', 'renamed')
results in: 'renamed/est.xml'
Thanks, alex _______________________________________________ BaseX-Talk mailing list BaseX-Talk@mailman.uni-konstanz.de https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk
basex-talk@mailman.uni-konstanz.de