Page 1 of 1

Catalog, when switched to, goes kablooey

Posted: 24 Dec 2014 05:21
by aliteralmind
I have this catalog of Git repositories (mostly for offline/offsite backup, not branching or versioning):

Image

Almost every category has the same three items: Go to, copy path, go to at the command prompt. Nothing special. I have another catalog, called "global", that is nothing but a "switch to another catalog" catalog. An index/TOC. What's supposed to happen, is the global catalog is reloaded, and the catalog being switched to is included below it. Here's the global catalog, before switching to anything:

Image

Now, when I switch back to the above original catalog, by clicking on the "Non-xbnj" item, many of the categories in the included catalog disappear, and the items in those now-gone categories all move to the XYplorer category:

Image

Why is this catalog being corrupted when switched to in this manner?

---

Here's the global/switch-to-catalog item:

Image

The script it calls:

Code: Select all

load "_unload_all_include_global.xys"; catalogload "git_repositories_non_xbnjava.dat", "i";
and the script *it* calls (_unload_all_include_global.xys):

Code: Select all

catalogload "permanently_empty_catalog.dat", "p"; catalogload "_global.dat", "i";
I've also attached the "main", global, and permanently-empty catalogs.

Re: Catalog, when switched to, goes kablooey

Posted: 24 Dec 2014 06:19
by bdeshi
aliteralmind wrote:Now, when I switch back to the above original catalog, by clicking on the "Non-xbnj" item, many of the categories in the included catalog disappear, and the items in those now-gone categories all move to the XYplorer category: [img]
Why is this catalog being corrupted when switched to in this manner?
You filled up the description field instead of caption for some categories. (And this description only appears to be the name.)
Now, all these categories have the same name (empty), so when you include the catalog, all children of these nameless categories move under the first one that is nameless (XYplorer settings).

This issue is not apparent when opening a catalog because that is like restoring a snapshot of the category, but when including a catalog, the category+items are reconstructed into the existing catalog.

Anyways, I've fixed the issue in the attachment.
Or you could do it yourself -- these categories need to be captioned: XYplorer settings, Sublime Text settings, Wordpress posts, XBN-PhraseExpress2 (Bitbucket), XBN-PhraseExpress (Git Hub).

Re: Catalog, when switched to, goes kablooey

Posted: 24 Dec 2014 13:11
by aliteralmind
Thank you, SammaySarkar.