Hi Richard, On Oct 7, 2008, at 9:05 PM, Richard V. wrote:
Hi Artem,
Thanks for the reply. here is my answer:
1- I check the version.properties file in the WEB-INF directory and the version that I am running is 1.6-milestone-2.12601. Is that the same as 1.6M2?
Yes it's the same. As Artem said there was a bug in 1.6M2 fixed in 1.6 final (see http://jira.xwiki.org/jira/browse/XWIKI-2681) . So you should upgrade to 1.6 final. Thanks -Vincent
2- I check the xwiki.cfg and could not find any xwiki.minoredit=0 anywhere
3- Can you tell me how and where to look for XWiki.XWikiPreferences object's minoredit property? Another thing that i noticed that went missing on this new 1.6 version is the object and class editor options that used to be on a panel when i edit a page.
4- I am sure that I did not modify any of the velocity templates
5- I downloaded the latest stable-release WAR, unzipped, edited the xwiki.cfg and deployed into my tomcat server. In addition, i downloaded the xwiki-application-administration (1.3), and the xwiki- enterprise XAR (1.6 M2).
Thanks
Richard
----------------------------------------
Date: Tue, 7 Oct 2008 22:53:27 +0600 From: [email protected] To: [email protected] Subject: Re: [xwiki-users] Minor version increments no working in 1.6
Richard V. wrote:
Hello,
My newly upgraded XWiki server 1.6 does not allow me to edit and save a page with a minor version increment. I check the "Is minor edit" checkbox, but still increments the major version. I remember reading from somewhere about a bug or setting that I need to do on xwiki.cfg, but I cannot recall it now, nor find it anymore on the Internet. Can someone help me with this problem? Just for your information, I migrated my existing pages from my old buggy 1.5 xwiki server by first exporting the pages into a XAR and then import back only those related to my space into the new 1.6 server. After that, the minor versioning stopped working.
check that there is no "xwiki.minoredit=0" option in your xwiki.cfg and "minoredit" property of XWiki.XWikiPreferences object is not = 0, or not exists. By default minor edit should work without any configuration.
Where was a bug http://jira.xwiki.org/jira/browse/XWIKI-2681 , but it is fixed now. Are you sure you use latest 1.6, not 1.6M2? Are you sure you don't modified templates/*.vm or maybe your custom skin overrides something? What package of xwiki you use? standalone or war?
-- Artem Melentyev