XML Refactoring Error

Having trouble installing <oXygen/>? Got a bug to report? Post it all here.
thedantanner
Posts: 20

XML Refactoring Error

Wed Dec 06, 2017 11:43 pm

I'm encountering an error that I've never encountered before and I wonder if someone could tell me what might be causing it. When I attempt to use XML Refactoring to rename or move a file, I encounter an error stating:

"The rename can be performed only on local DITA maps and topic references."

I've never had this problem before, and I've tested it on both old and newer files that have not been moved around in our repository. I don't know what I could have changed that has caused these particular refactoring actions to stop working.

Any help is appreciated.

Dan
thedantanner
Posts: 20

Re: XML Refactoring Error

Wed Dec 06, 2017 11:55 pm

Could this be the problem? I noticed a while back that our network drives were no longer designated by just a letter. Instead they look like this:

\\JCI-file-01\filedata\Groups\Eng\TechPubs\Repository\topics

Something tells me this might be the source of several of my recent Oxygen headaches.
thedantanner
Posts: 20

Re: XML Refactoring Error

Thu Dec 07, 2017 12:18 am

With the help of our resident IT, this has been solved. Turns out, that WAS the problem. And the reason the path was appearing that way was because I was accessing the repository folder through a shortcut pinned to windows explorer. Somewhere along the line, that pin ended up with that wacky address.

So... I navigated to the repository manually, and everything worked as-advertised.
Radu
Posts: 5131

Re: XML Refactoring Error

Thu Dec 07, 2017 10:00 am

Hi,

Oxygen should regard shared network drives also as local file drives and allow you to make refactoring changes there. So not sure what the problem was, if you are willing to reproduce again the problem, could you open a file in Oxygen using that way in which the refactoring did not work, right click its tab and choose "Copy location"? Then paste it in a reply on this thread...

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
thedantanner
Posts: 20

Re: XML Refactoring Error

Thu Dec 07, 2017 6:49 pm

I'm not sure how to recreate it, because I've deleted all of the shortcuts (pins) that were messed up. All I can show you is the "reopen" history in Oxygen which shows the file paths. You'll note that the most recent ones have the correct file path, designated by a letter. The ones from yesterday (before we fixed the problem) have a network name instead of the drive letter "N".

Image

loading the image isn't working in preview, so here's the link:

https://photos.app.goo.gl/ryOyKsCBebjeyOnO2
Radu
Posts: 5131

Re: XML Refactoring Error

Fri Dec 08, 2017 9:20 am

Hi,

Thanks for the details, I managed to obtain the problem on my side. Usually by "XML Refactoring" we label the set of actions which allow you to make changes inside an XML document but you were using the "Rename/Move" functionality from the DITA Maps Manager so I was testing the wrong thing.
We'll look into this on our side, maybe we can fix this problem and allow you to rename resources even when they are opened directly from the shared network drive, without a drive letter assigned to it.

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
thedantanner
Posts: 20

Re: XML Refactoring Error

Fri Dec 08, 2017 9:15 pm

This also cause some PDF transformation failures. I don't have the error logs to show you, but I'm sure this was causing the failures. Once we fixed it, the transforms went fine. I'll email one of the transformation logs to the support email address.
Radu
Posts: 5131

Re: XML Refactoring Error

Mon Dec 11, 2017 9:33 am

Hi Dan,

Ok, then we'll talk more via email about that aspect.

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com

Return to “Common Problems”

Who is online

Users browsing this forum: No registered users and 2 guests