Minor version increments no working in 1.6

6 Messages Forum Options Options
Embed this topic
Permalink
Richard V.
Minor version increments no working in 1.6
Reply Threaded MoreMore options
Print post
Permalink

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.

Many thanks in advanced.

Richard
_________________________________________________________________
Get more out of the Web. Learn 10 hidden secrets of Windows Live.
http://windowslive.com/connect/post/jamiethomson.spaces.live.com-Blog-cns!550F681DAD532637!5295.entry?ocid=TXT_TAGLM_WL_domore_092008
_______________________________________________
users mailing list
users@...
http://lists.xwiki.org/mailman/listinfo/users
Artem Melentyev-3
Re: Minor version increments no working in 1.6
Reply Threaded MoreMore options
Print post
Permalink
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
_______________________________________________
users mailing list
users@...
http://lists.xwiki.org/mailman/listinfo/users
Richard V.
Re: Minor version increments no working in 1.6
Reply Threaded MoreMore options
Print post
Permalink

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?

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: amelentev@...
> To: users@...
> 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
> _______________________________________________
> users mailing list
> users@...
> http://lists.xwiki.org/mailman/listinfo/users

_________________________________________________________________
Want to do more with Windows Live? Learn “10 hidden secrets” from Jamie.
http://windowslive.com/connect/post/jamiethomson.spaces.live.com-Blog-cns!550F681DAD532637!5295.entry?ocid=TXT_TAGLM_WL_domore_092008
_______________________________________________
users mailing list
users@...
http://lists.xwiki.org/mailman/listinfo/users
vmassol
Re: Minor version increments no working in 1.6
Reply Threaded MoreMore options
Print post
Permalink
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: amelentev@...
>> To: users@...
>> 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
_______________________________________________
users mailing list
users@...
http://lists.xwiki.org/mailman/listinfo/users
Richard V.
Re: Minor version increments no working in 1.6
Reply Threaded MoreMore options
Print post
Permalink

Hi Vincent and Artem,

Thanks for the help. You were all correct. I just downloaded xwiki again, this time 1.6 as suggested. Problem solve!

Now, regarding to my question #3, i still cannot find where in the editing panels can one edit the object's properties or create new classes?

Thanks again,

Richard

----------------------------------------

> From: vincent@...
> To: users@...
> Date: Tue, 7 Oct 2008 21:14:11 +0200
> Subject: Re: [xwiki-users] Minor version increments no working in 1.6
>
> 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: amelentev@...
>>> To: users@...
>>> 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
> _______________________________________________
> users mailing list
> users@...
> http://lists.xwiki.org/mailman/listinfo/users

_________________________________________________________________
See how Windows Mobile brings your life together—at home, work, or on the go.
http://clk.atdmt.com/MRT/go/msnnkwxp1020093182mrt/direct/01/
_______________________________________________
users mailing list
users@...
http://lists.xwiki.org/mailman/listinfo/users
Artem Melentyev-3
Re: Minor version increments no working in 1.6
Reply Threaded MoreMore options
Print post
Permalink
Richard V. wrote:
> Hi Vincent and Artem,
>
> Thanks for the help. You were all correct. I just downloaded xwiki again, this time 1.6 as suggested. Problem solve!
>
> Now, regarding to my question #3, i still cannot find where in the editing panels can one edit the object's properties or create new classes?

read
http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Configuration#HTurningoffcommentsorattachments
but replace "showcomments" by "minoredit", "no" by "0".
This way is not recommended unless you need to switch some feature off
without xwiki restart.

--
   Artem Melentyev
_______________________________________________
users mailing list
users@...
http://lists.xwiki.org/mailman/listinfo/users