• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Snippetcategories is still not decent

Contributor ,
Nov 27, 2024 Nov 27, 2024

Copy link to clipboard

Copied

I'm struggling to fathom how a functionality as simple as snippet categories can go repeatedly wrong, so I'm just asking here just to check if it's not something else.

As far as I can tell, two/three new bugs have been introduced in 2022.5:

 

1) the button Snippet categories (Topic properties panel) does not work

Trying to switch a snippet to another category does not work. You have to manually edit the snippetcategories.xml file.

 

2) renaming a snippet causes it to revert to Default category

 

3) Editing snippets outside of RH causes snippetcategories.xml to delete itself

I can somewhat accept this one, but it's still fascinating to have everything straight up deleted (and replaced by a new file with only the renamed file) if you rename a snippet file in file explorer.

Views

144

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Community Expert , Nov 27, 2024 Nov 27, 2024

https://tracker.adobe.com/#/view/RH-12808

________________________________________________________

My site www.grainge.org includes many free Authoring and RoboHelp resources that may be of help.

 

Votes

Translate

Translate
Community Expert ,
Nov 27, 2024 Nov 27, 2024

Copy link to clipboard

Copied

I just set up a quick test.

 

  1. Agreed.
  2. I didn't find that. Worked OK.
  3. I didn't try that.

 

Was it working in Update 4?

________________________________________________________

My site www.grainge.org includes many free Authoring and RoboHelp resources that may be of help.

 

Help others by clicking Correct Answer if the question is answered. Found the answer elsewhere? Share it here. "Upvote" is for useful posts.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Nov 27, 2024 Nov 27, 2024

Copy link to clipboard

Copied

I have now tested editing the XML file. I had two snippets each in a different category. I swapped the two snippets over and reopened the project. Working fine.

________________________________________________________

My site www.grainge.org includes many free Authoring and RoboHelp resources that may be of help.

 

Help others by clicking Correct Answer if the question is answered. Found the answer elsewhere? Share it here. "Upvote" is for useful posts.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Nov 27, 2024 Nov 27, 2024

Copy link to clipboard

Copied

https://tracker.adobe.com/#/view/RH-12808

________________________________________________________

My site www.grainge.org includes many free Authoring and RoboHelp resources that may be of help.

 

Help others by clicking Correct Answer if the question is answered. Found the answer elsewhere? Share it here. "Upvote" is for useful posts.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Nov 27, 2024 Nov 27, 2024

Copy link to clipboard

Copied

I edited a Snippet using EditPadPro and on reopening the project, it was all OK.

________________________________________________________

My site www.grainge.org includes many free Authoring and RoboHelp resources that may be of help.

 

Help others by clicking Correct Answer if the question is answered. Found the answer elsewhere? Share it here. "Upvote" is for useful posts.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Nov 28, 2024 Nov 28, 2024

Copy link to clipboard

Copied

@WoutJacobs Do you see the same issues in a new project? Just wondering if the problems you are seeing that I am not are because of upgrading. It shouldn't be but who knows?

________________________________________________________

My site www.grainge.org includes many free Authoring and RoboHelp resources that may be of help.

 

Help others by clicking Correct Answer if the question is answered. Found the answer elsewhere? Share it here. "Upvote" is for useful posts.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Contributor ,
Nov 28, 2024 Nov 28, 2024

Copy link to clipboard

Copied

Thanks for opening a ticket, as for additional testing in a new project:

 

Starting situation: I have 5 snippets, 3 of them in Default and 2 in TestCategory

WoutJacobs_0-1732784463599.png

WoutJacobs_1-1732784544102.png

 

The dropdown to switch categories is confirmed to be useless as it does nothing:

(upon reopening snippet, original category is shown)

 

WoutJacobs_2-1732784643764.png

 

I change the file name of test4.hts (in category TestCategory) to test5.hts. This causes the newly renamed snippet to revert to the Default category and cause test4.hts to hang around as a lopped off part after the <categories> tag, for reasons that the mortal mind cannot comprehend:

 

WoutJacobs_3-1732784736710.png

WoutJacobs_4-1732784819805.png

(Fortunately, this does not cause RH to crash, yet)

 

I revert the situation by adding test5.hts back to TestCategory and deleting the weird leftover test4.hts part.

I now edit the file name of test5.hts in file explorer:

WoutJacobs_5-1732785037450.png

This indeed does not destroy snippetcategories.xml, so it's probably something else in my project.

What it does do, is add test6.hts as a new snippet in Default category. I can understand this as this is editing something outside of RH. But it's something to keep in mind.

 

WoutJacobs_6-1732785098455.png

 

 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Nov 28, 2024 Nov 28, 2024

Copy link to clipboard

Copied

LATEST

What is different is my changes were referring to snippets that existed, I was just moving them around. You are adding a new snippet (5) and that will have no snippet to link to.

________________________________________________________

My site www.grainge.org includes many free Authoring and RoboHelp resources that may be of help.

 

Help others by clicking Correct Answer if the question is answered. Found the answer elsewhere? Share it here. "Upvote" is for useful posts.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
RoboHelp Documentation
Download Adobe RoboHelp