Catalog, when switched to, goes kablooey

Things you’d like to miss in the future...
Forum rules
You might want to read this if you're looking for priority service

:info: Please Include The Following Information
1) Your XYplorer Version (e.g., v28.00.0801)
2) Your Windows Version (e.g., Win 11)
3) Your Screen Scaling Percentage (e.g., 125%).

:info: Use Your Profile Or Signature
We strongly recommend adding your Windows Version and Screen Scaling Percentage to the Location field in your Profile or to your Signature. That way, you only have to type them once, and we won't have to search for that vital information.

:info: How To Attach Images
When attaching an Image, please use the Attachment tab at the bottom of your post and click "Add files".
Post Reply
aliteralmind
Posts: 261
Joined: 02 Dec 2014 16:49

Catalog, when switched to, goes kablooey

Post 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.
To see the attached files, you need to log into the forum.
Windows 8.1, 64-bit

bdeshi
Posts: 4256
Joined: 12 Mar 2014 17:27
Location: Asteroid B-612
Contact:

Re: Catalog, when switched to, goes kablooey

Post 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).
To see the attached files, you need to log into the forum.
Icon Names | Onyx | Undocumented Commands | xypcre
[ this user is asleep ]

aliteralmind
Posts: 261
Joined: 02 Dec 2014 16:49

Re: Catalog, when switched to, goes kablooey

Post by aliteralmind »

Thank you, SammaySarkar.
Windows 8.1, 64-bit

Post Reply