XML Refactoring Error

Having trouble installing Oxygen? Got a bug to report? Post it all here.
thedantanner
Posts: 42
Joined: Thu Oct 27, 2016 11:13 pm

XML Refactoring Error

Post 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
thedantanner
Posts: 42
Joined: Thu Oct 27, 2016 11:13 pm

Re: XML Refactoring Error

Post 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.
thedantanner
Posts: 42
Joined: Thu Oct 27, 2016 11:13 pm

Re: XML Refactoring Error

Post 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.
Radu
Posts: 9055
Joined: Fri Jul 09, 2004 5:18 pm

Re: XML Refactoring Error

Post 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
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
thedantanner
Posts: 42
Joined: Thu Oct 27, 2016 11:13 pm

Re: XML Refactoring Error

Post 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
Radu
Posts: 9055
Joined: Fri Jul 09, 2004 5:18 pm

Re: XML Refactoring Error

Post 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
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
thedantanner
Posts: 42
Joined: Thu Oct 27, 2016 11:13 pm

Re: XML Refactoring Error

Post 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.
Radu
Posts: 9055
Joined: Fri Jul 09, 2004 5:18 pm

Re: XML Refactoring Error

Post by Radu »

Hi Dan,

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

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
Radu
Posts: 9055
Joined: Fri Jul 09, 2004 5:18 pm

Re: XML Refactoring Error

Post by Radu »

Hi,

Just to update this forum thread, Oxygen XML Editor version 20 can perform "XML Refactoring" over resources saved on shared network drives, even if the network drive is not mapped as a local drive.

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
thedantanner
Posts: 42
Joined: Thu Oct 27, 2016 11:13 pm

Re: XML Refactoring Error

Post by thedantanner »

Sweet. Thanks for the update!
Post Reply