Mantis Bug Tracker

View Revisions: Issue #6535 All Revisions ] Back to Issue ]
Summary 0006535: JsonReadNotecard() does not work as expected for non-root paths
Revision 2013-02-07 18:44 by justincc
Description If JsonReadNotecard() is given a non-root multi-component path (e.g. foo.bar) which does not already exist, the contents are not loaded into the store.

However, if a single component path (e.g. foo) is given which does not already exist, the contents are loaded to this location (e.g. foo.Hello). This does not work for multi-component paths where all components except the last one exist.

In addition, if an invalid path of "/" is given for the read, the contents are still loaded into the store at its root.

Are any/all of these behaviours expected?
Revision 2013-02-07 18:31 by justincc
Description If JsonReadNotecard() is given a non-root multi-component path (e.g. foo.bar) which does not already exist, the contents are not loaded into the store. Is this expected behaviour?

In addition, if an invalid path of "/" is given for the read, the contents are still loaded into the store at its root. Is this expected?
Revision 2013-02-07 17:14 by justincc
Description If JsonReadNotecard() is given a non-root path (e.g. foo/bar) at which to load a JSON containing notecard, the contents are still loaded in the root position (e.g. just /Hello instead of foo/bar/Hello).


Copyright © 2000 - 2012 MantisBT Group
Powered by Mantis Bugtracker