Oxygen overrides Subversion
Oxygen general issues.
Oxygen overrides Subversion
Hello,
We are using Subversion for version control.
We require writers to get a lock on a file in SVN before they make any changes. But, by default, when a user has a file that they do not have an SVN lock on (and it is read-only), Oxygen automatically removes the read-only status of the local file, allowing them to edit a file they do not have a lock on.
Is there a way to change this behavior? We'd like Oxygen to never undo the read-only status of a file.
Thanks,
Will
We are using Subversion for version control.
We require writers to get a lock on a file in SVN before they make any changes. But, by default, when a user has a file that they do not have an SVN lock on (and it is read-only), Oxygen automatically removes the read-only status of the local file, allowing them to edit a file they do not have a lock on.
Is there a way to change this behavior? We'd like Oxygen to never undo the read-only status of a file.
Thanks,
Will
Re: Oxygen overrides Subversion
Hello,
Please let us know the exact steps you do and how you find out that the read-only flag is removed (please also check its existence before doing any operations in Oxygen/SVN Client).
From your message, it is not clear if you use Subversion (SVN) as a technology and Oxygen (the application) changes those flags when you open/edit/save a file, or you want to say that you use the bundled SVN Client and this is the one that generates the issue when performing different SVN-related operations within it.
Please let us know the exact steps you do and how you find out that the read-only flag is removed (please also check its existence before doing any operations in Oxygen/SVN Client).
From your message, it is not clear if you use Subversion (SVN) as a technology and Oxygen (the application) changes those flags when you open/edit/save a file, or you want to say that you use the bundled SVN Client and this is the one that generates the issue when performing different SVN-related operations within it.
Florin Avram
<oXygen/> XML Editor
<oXygen/> XML Editor
Re: Oxygen overrides Subversion
Hello Florin,
We have a separate Tortoise SVN (v1.9.1) and Oxygen (v21).
We are not using the SVN Client bundled with Oxygen. We've been using Tortoise SVN for several years, and are only now adopting Oxygen.
To replicate:
1. In Oxygen Author, select File Open.
2. In the Open dialog, you can see by the gray overlay icons that the file does not have a lock. If you right-click a file and select Properties, you can verify that it is ready-only:
3. Close Properties, then select the file and click Open. The file is currently untouched, and is still read-only - so I should not be able to edit it.
4. In the Author tab, place the cursor anywhere in the file, then type - and Oxygen types the new text in the file - it should not be able to do this:
5. If you again select File > Open in Oxygen, then find the file and right-click on it - I see now it does not change the read-only status. But, it should not have let me write in the file at all.
Is there a way to make Oxygen behave so that it prevents people from modify a file if it is ready only?
Thanks,
Will
We have a separate Tortoise SVN (v1.9.1) and Oxygen (v21).
We are not using the SVN Client bundled with Oxygen. We've been using Tortoise SVN for several years, and are only now adopting Oxygen.
To replicate:
1. In Oxygen Author, select File Open.
2. In the Open dialog, you can see by the gray overlay icons that the file does not have a lock. If you right-click a file and select Properties, you can verify that it is ready-only:
- image.png (154.69 KiB) Viewed 1804 times
- image.png (134.63 KiB) Viewed 1804 times
- image.png (134.96 KiB) Viewed 1804 times
Is there a way to make Oxygen behave so that it prevents people from modify a file if it is ready only?
Thanks,
Will
Re: Oxygen overrides Subversion
Hi Will,
Indeed by default Oxygen lets you make changes to the opened document but it does not let you save back.
If you want to prohibit Oxygen from making changes to the opened document (changes which are not reflected on disk), in the Preferences->"Editor" page you can uncheck the "Can edit read-only files" checkbox.
Regards,
Radu
Indeed by default Oxygen lets you make changes to the opened document but it does not let you save back.
If you want to prohibit Oxygen from making changes to the opened document (changes which are not reflected on disk), in the Preferences->"Editor" page you can uncheck the "Can edit read-only files" checkbox.
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
Re: Oxygen overrides Subversion
Hi Radu,
That works - thanks!
And a colleague of mine also learned about the CAN_EDIT_READ_ONLY_FILES setting in the Workspace, in another post on this site (post58572.html?hilit=vishwa#p58572). Which would've been my next question.
We really appreciate all the help!
Have a good one.
Will
That works - thanks!
And a colleague of mine also learned about the CAN_EDIT_READ_ONLY_FILES setting in the Workspace, in another post on this site (post58572.html?hilit=vishwa#p58572). Which would've been my next question.
We really appreciate all the help!
Have a good one.
Will
Re: Oxygen overrides Subversion
Hi Will,
I'm glad this works for you. Indeed, a plugin using our APIs can force set this option to prohibit editing read-only files in Oxygen when the application starts.
Regards,
Radu
I'm glad this works for you. Indeed, a plugin using our APIs can force set this option to prohibit editing read-only files in Oxygen when the application starts.
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service