[jira] [Commented] (SLING-1391) Make JcrModifiablePropertyMap write changes directly

2012-07-06 Thread Carsten Ziegeler (JIRA)
[ https://issues.apache.org/jira/browse/SLING-1391?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13407766#comment-13407766 ] Carsten Ziegeler commented on SLING-1391: - We should rethink this in the light of

[jira] [Created] (SLING-2530) Implement CRUD based on resources

2012-07-06 Thread Carsten Ziegeler (JIRA)
Carsten Ziegeler created SLING-2530: --- Summary: Implement CRUD based on resources Key: SLING-2530 URL: https://issues.apache.org/jira/browse/SLING-2530 Project: Sling Issue Type: New

Release Mgmt

2012-07-06 Thread Carsten Ziegeler
Hi, just a little reminder about our release management process: http://sling.apache.org/site/release-management.html Once you have done the maven part of the release, update Jira and the news and download section of our website. The news section of the website is usually used to generate the

[jira] [Commented] (SLING-2530) Implement CRUD based on resources

2012-07-06 Thread Carsten Ziegeler (JIRA)
[ https://issues.apache.org/jira/browse/SLING-2530?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13407786#comment-13407786 ] Carsten Ziegeler commented on SLING-2530: - Started a draft at

Re: [VOTE] Moving SLING-2396 to trunk

2012-07-06 Thread Carsten Ziegeler
Coming back to the workspace support, which part do you think should be available? Specifying the workspace through a request attribute or as a value inside the authentication map? Regards Carsten 2012/6/14 Carsten Ziegeler cziege...@apache.org: Hi Justin, no, it isn't, I removed the whole

[ANN] Apache Sling POST servlets module 2.1.2 released

2012-07-06 Thread Bertrand Delacretaz
The Apache Sling team is pleased to announce the release of Apache Sling POST servlets module, org.apache.sling.servlets.post module 2.1.2. Apache Sling is a web framework that uses a Java Content Repository, such as Apache Jackrabbit, to store and manage content. Sling applications use either

[SECURITY] CVE-2012-2138 Apache Sling denial of service vulnerability

2012-07-06 Thread Bertrand Delacretaz
CVE-2012-2138 : Apache Sling denial of service vulnerability Severity: Important Vendor: The Apache Software Foundation Versions Affected: org.apache.sling.servlets.post bundle up to 2.1.0 Description: The @CopyFrom operation of the Sling POST servlet allows for copying a parent node to one of

SLING-2530, does create assume the parent resource exists?

2012-07-06 Thread Bertrand Delacretaz
Hi, Looking at the SLING-2530 Resources CRUD stuff - for the create operation, https://cwiki.apache.org/confluence/display/SLING/Supporting+CRUD says We add a new method create(String absolutePath, ValueMap properties) to the resource resolver, where the value map is optional. This will

Re: SLING-2530, does create assume the parent resource exists?

2012-07-06 Thread Carsten Ziegeler
Hi, I haven't thought about this yet :) But I would prefer 1) although that raise some interesting questions, especially as intermediate nodes might end up to be persisted in different storages Carsten 2012/7/6 Bertrand Delacretaz bdelacre...@apache.org: Hi, Looking at the SLING-2530

Re: SLING-2530, does create assume the parent resource exists?

2012-07-06 Thread Bertrand Delacretaz
On Fri, Jul 6, 2012 at 11:32 AM, Carsten Ziegeler cziege...@apache.org wrote: ...I would prefer 1) although that raise some interesting questions, especially as intermediate nodes might end up to be persisted in different storages... Right, so IMO requiring the parent Resource to pre-exist

Re: SLING-2530, does create assume the parent resource exists?

2012-07-06 Thread Carsten Ziegeler
Yepp, so I guess going with 2) is the better option, however this would require something like a add(Resource parent, String childNodeName, Map props) on the resource resolver. So maybe we go the same route as we did with getParent(), listChildren and add the functionality to the resource

Re: SLING-2530, does create assume the parent resource exists?

2012-07-06 Thread Bertrand Delacretaz
On Fri, Jul 6, 2012 at 11:44 AM, Carsten Ziegeler cziege...@apache.org wrote: Yepp, so I guess going with 2) is the better option, however this would require something like a add(Resource parent, String childNodeName, Map props) on the resource resolver. So maybe we go the same route as we

SLING-2530 (CRUD) Persisting changes

2012-07-06 Thread Vidar Ramdal
From https://cwiki.apache.org/confluence/display/SLING/Supporting+CRUD : Changes are not persisted immediately but stored transient. When all changes are done, a save/commit calls needs to be done trying to persist all changes to all resource providers. Let's say a changeset involves several

Re: SLING-2530 (CRUD) Persisting changes

2012-07-06 Thread Carsten Ziegeler
Hi Vidar, 2012/7/6 Vidar Ramdal vram...@apache.org: From https://cwiki.apache.org/confluence/display/SLING/Supporting+CRUD : Changes are not persisted immediately but stored transient. When all changes are done, a save/commit calls needs to be done trying to persist all changes to all

Re: SLING-2530 (CRUD) Persisting changes

2012-07-06 Thread Bertrand Delacretaz
On Fri, Jul 6, 2012 at 12:07 PM, Carsten Ziegeler cziege...@apache.org wrote: ...I think we can either choose one of two ways: - persist each change immediately; this was my initial idea. But obviously this has performance and consistency drawbacks. Consistency could be sovled with JTA

Re: SLING-2530 (CRUD) Persisting changes

2012-07-06 Thread Carsten Ziegeler
2012/7/6 Bertrand Delacretaz bdelacre...@apache.org: On Fri, Jul 6, 2012 at 12:07 PM, Carsten Ziegeler cziege...@apache.org wrote: ...I think we can either choose one of two ways: - persist each change immediately; this was my initial idea. But obviously this has performance and consistency

[jira] [Created] (SLING-2531) Upgrade pluto version in order to include PLUTO-591

2012-07-06 Thread Antonio Sanso (JIRA)
Antonio Sanso created SLING-2531: Summary: Upgrade pluto version in order to include PLUTO-591 Key: SLING-2531 URL: https://issues.apache.org/jira/browse/SLING-2531 Project: Sling Issue

[jira] [Updated] (SLING-2531) Upgrade pluto version in order to include PLUTO-591

2012-07-06 Thread Antonio Sanso (JIRA)
[ https://issues.apache.org/jira/browse/SLING-2531?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Antonio Sanso updated SLING-2531: - Description: Following code in portlet public void doView(RenderRequest request,

[jira] [Updated] (SLING-2531) Upgrade pluto version in order to include PLUTO-591

2012-07-06 Thread Antonio Sanso (JIRA)
[ https://issues.apache.org/jira/browse/SLING-2531?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Antonio Sanso updated SLING-2531: - Description: Following code in portlet public void doView(RenderRequest request,