There are actually three different "switches"

1) Checkin new versionable nodes - defaults to false
2) Auto Checkout - defaults to true
3) Auto Checkin - defaults to true

#1 originally defaulted to true, but this was a significant
backwards-compatibility issue.

AFAICT, Felix is talking about the latter two.

Justin

On 9/23/10 9:49 AM, Ian Boston wrote:
> IIRC the thread at the time discussed making versioning non default.
> I think there is a configuration switch that allows it to be non default, but 
> the default for that switch is "versioning on", ie checkin checkout.
> Ian
> 
> On 23 Sep 2010, at 15:13, Felix Meschberger wrote:
> 
>> Hi,
>>
>> I just stumbled on a problem we have internally caused by the new
>> versioning support; so I would like to pick this up again.
>>
>> As of SLING-1573 [1] a modification operation by default tries to
>> checkout and checkin if required. In fact the issue also notes that this
>> is not strictly backwards compatible.
>>
>> IMHO we should really strive for being backwards compatible if at all
>> possible, particularly in a case where "per-default-enablement" of a new
>> feature can be done with simple configuration provision.
>>
>> Therefore I suggest we should change the default to being "no versioning
>> at all" (tracked with SLING-1796 [2]).
>>
>> Regards
>> Felix
>>
>> [1] https://issues.apache.org/jira/browse/SLING-1573
>> [2] https://issues.apache.org/jira/browse/SLING-1796
>>
>> Am 14.06.2010 17:30, schrieb Justin Edelson:
>>> I'm starting to hack on the post servlet to get it to support JCR
>>> versioning. It is actually much simpler than I thought it would be.
>>> Which leads me to believe I'm missing something big :)
>>>
>>> Would appreciate any comments/feedback:
>>> http://codereview.appspot.com/1690041
>>>
>>> Thanks,
>>> Justin
>>>
> 

Reply via email to