Page 1 of 1

XML Refactoring Error

Posted: Wed Dec 06, 2017 11:43 pm
by thedantanner
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

Re: XML Refactoring Error

Posted: Wed Dec 06, 2017 11:55 pm
by thedantanner
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.

Re: XML Refactoring Error

Posted: Thu Dec 07, 2017 12:18 am
by thedantanner
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.

Re: XML Refactoring Error

Posted: Thu Dec 07, 2017 10:00 am
by Radu
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

Re: XML Refactoring Error

Posted: Thu Dec 07, 2017 6:49 pm
by thedantanner
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

Re: XML Refactoring Error

Posted: Fri Dec 08, 2017 9:20 am
by Radu
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

Re: XML Refactoring Error

Posted: Fri Dec 08, 2017 9:15 pm
by thedantanner
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.

Re: XML Refactoring Error

Posted: Mon Dec 11, 2017 9:33 am
by Radu
Hi Dan,

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

Regards,
Radu