[jira] Resolved: (SLING-1663) OSGi Install should recognize system bundle updates
[ https://issues.apache.org/jira/browse/SLING-1663?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Carsten Ziegeler resolved SLING-1663. - Resolution: Fixed Setting this to resolved - if errors occur we can open a new bug or reopen OSGi Install should recognize system bundle updates --- Key: SLING-1663 URL: https://issues.apache.org/jira/browse/SLING-1663 Project: Sling Issue Type: Bug Components: Installer Reporter: Felix Meschberger Assignee: Carsten Ziegeler Fix For: OSGi Installer 3.0.0 The Launchpad Base module generates a bundle with the symbolic name system.bundle which is an official alias for the symbolic name of the system bundle whose real symbolic name is framework specific. The Web Console supports updates with the system.bundle symbolic name and updates the system bundle accordingly. The OSGi Installer should also recognize this situation and act accordingly: * The system bundle does not need to be stopped/started for the update, a framework restart is done automatically * A package refresh is not required * System bundle update acts immediately preventing OSGi Install from properly cleaning up after the install Thus updating the system bundle should probably be done in a special way: * at the of a processing cycle of OSGi Install * preventing any more processing before calling bundle update * probably updating the system bundle in a separate thread to not prevent proper shutdown of OSGi Install -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Resolved: (SLING-1746) Use slf4j instead of log service
[ https://issues.apache.org/jira/browse/SLING-1746?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Carsten Ziegeler resolved SLING-1746. - Resolution: Fixed Switched with revision 995732 Use slf4j instead of log service Key: SLING-1746 URL: https://issues.apache.org/jira/browse/SLING-1746 Project: Sling Issue Type: Task Affects Versions: OSGi Installer 3.0.0 Reporter: Carsten Ziegeler Assignee: Carsten Ziegeler Priority: Minor Fix For: OSGi Installer 3.0.0 The installer uses currently the LogService to avoid dependencies - however nearly every log service implementation comes with various logging api's - so from a dependency pov it's no difference. The slf4j api (or any other logging api) provides more usuability, therefore we should switch -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Commented: (SLING-1739) Update Commons Log exported SLF4J version
[ https://issues.apache.org/jira/browse/SLING-1739?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12908003#action_12908003 ] Justin Edelson commented on SLING-1739: --- I get it now; I wasn't seeing the spi dependency, but it's transitive via helpers. In any case, mina is fixed in trunk (2.0.0-RC2-SNAPSHOT) so that it no longer depends upon either spi or helpers. Update Commons Log exported SLF4J version - Key: SLING-1739 URL: https://issues.apache.org/jira/browse/SLING-1739 Project: Sling Issue Type: Improvement Components: Commons Affects Versions: Commons Log 2.0.6 Reporter: Jason Rose Assignee: Felix Meschberger Priority: Minor Fix For: Commons Log 2.0.8 Attachments: commons-log.patch Commons Log is currently exporting version 1.5.2 of SLF4j. This is a very old version of the library. I'm currently using Commons Logging as a replacement for PAX Logging because of classloading issues with PAX in JBoss, and I needed to make a couple changes to facilitate that. Updating the dependency and exported versions of SLF4j fixes most of the issues I have with trying to exclusively use Commons Log. In addition to updating the version, I've moved the spi and helpers packages into the exported packages instead of private packages. This makes it mirror PAX more closely and handles all the logging requirements of 3rd party bundles in my application. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Closed: (SLING-1413) In Jackrabbit 2.0, Privileges can now be denied for Groups. The ModifyAceServlet and security ContentLoader should allow it as well
[ https://issues.apache.org/jira/browse/SLING-1413?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Justin Edelson closed SLING-1413. - In Jackrabbit 2.0, Privileges can now be denied for Groups. The ModifyAceServlet and security ContentLoader should allow it as well Key: SLING-1413 URL: https://issues.apache.org/jira/browse/SLING-1413 Project: Sling Issue Type: Bug Components: JCR Affects Versions: JCR Jackrabbit Access Manager 2.0.6, JCR ContentLoader 2.1.0 Reporter: Eric Norman Assignee: Eric Norman Priority: Minor Fix For: Launchpad Testing 6, Launchpad Content 2.0.6, Launchpad Builder 6, JCR Base 2.1.0 Previously Jackrabbit did not allow Privileges to be denied for groups. In Jackrabbit 2.0, this is now allowed. The ModifyAceServlet and security ContentLoader should allow it as well. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Closed: (SLING-1502) Concurrency-Problem in AccessManagerFactoryTracker
[ https://issues.apache.org/jira/browse/SLING-1502?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Justin Edelson closed SLING-1502. - Concurrency-Problem in AccessManagerFactoryTracker -- Key: SLING-1502 URL: https://issues.apache.org/jira/browse/SLING-1502 Project: Sling Issue Type: Bug Components: JCR Affects Versions: JCR Jackrabbit Server 2.0.6 Reporter: Markus Blaurock Assignee: Felix Meschberger Fix For: JCR Jackrabbit Server 2.1.0 the cosumer-property in this class is accessed in a unsafe way. Problems arise when sessions get created simultaneusly. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Closed: (SLING-1532) contentloader should overwrite file contents, not file nodes
[ https://issues.apache.org/jira/browse/SLING-1532?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Justin Edelson closed SLING-1532. - contentloader should overwrite file contents, not file nodes Key: SLING-1532 URL: https://issues.apache.org/jira/browse/SLING-1532 Project: Sling Issue Type: Improvement Reporter: Justin Edelson Assignee: Justin Edelson Fix For: JCR ContentLoader 2.1.0 Attachments: SLING-1532.patch When a file node is created in the contentloader, the underlying jcr:content node is removed and recreated. This is problem as nt:resource is referenceable. Because it is deleted and recreated, a new uuid is defined. Instead, we should just modify the properties of the jcr:content node and keep the uuid. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Closed: (SLING-1589) DefaultContentImporter service doesn't have a pretty name/description
[ https://issues.apache.org/jira/browse/SLING-1589?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Justin Edelson closed SLING-1589. - DefaultContentImporter service doesn't have a pretty name/description - Key: SLING-1589 URL: https://issues.apache.org/jira/browse/SLING-1589 Project: Sling Issue Type: Bug Components: JCR Reporter: Justin Edelson Assignee: Eric Norman Priority: Minor Fix For: JCR ContentLoader 2.1.0 content.import.service.name and content.import.service.description should be set -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Closed: (SLING-1561) Allow the Sling Initial ContentLoader to set parent node properties
[ https://issues.apache.org/jira/browse/SLING-1561?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Justin Edelson closed SLING-1561. - Allow the Sling Initial ContentLoader to set parent node properties --- Key: SLING-1561 URL: https://issues.apache.org/jira/browse/SLING-1561 Project: Sling Issue Type: Bug Reporter: Josh Kennedy Assignee: Justin Edelson Fix For: JCR ContentLoader 2.1.0 Attachments: Loader.patch Using the content loader, if the target install directory is a new or an existing node, add the ability to set it's properties. Example: content;overwrite:=true;uninstall:=true;path:=/content/testing Add a PARENT_NODE descriptor in the source content folder that would modify the properties of the parent (/content/testing) just like the ROOT descriptor does. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Closed: (SLING-1172) Allow uploading JSON files to create content structures
[ https://issues.apache.org/jira/browse/SLING-1172?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Justin Edelson closed SLING-1172. - Allow uploading JSON files to create content structures --- Key: SLING-1172 URL: https://issues.apache.org/jira/browse/SLING-1172 Project: Sling Issue Type: New Feature Components: Servlets Affects Versions: Servlets Post 2.0.4 Reporter: Felix Meschberger Assignee: Eric Norman Fix For: Servlets Post 2.0.6, JCR ContentLoader 2.1.0 Currently uploading a JSON file will just create the file node. On the other hand it would be useful if uploading to a node with a request extension of JSON, the JSON would be unpacked and handled as if it would be a modification request with the JSON data being the content to store. This would be similar to JSON upload supported by CouchDB. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Closed: (SLING-1409) ignoreImportProviders doesn't allow multiple values.
[ https://issues.apache.org/jira/browse/SLING-1409?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Justin Edelson closed SLING-1409. - ignoreImportProviders doesn't allow multiple values. Key: SLING-1409 URL: https://issues.apache.org/jira/browse/SLING-1409 Project: Sling Issue Type: Bug Components: JCR Affects Versions: JCR Contentloader 2.0.6 Reporter: Simon Gaeremynck Assignee: Carsten Ziegeler Fix For: JCR ContentLoader 2.1.0 The ignoreImportProviders property as defined on [1] states that you can specify multiple readers you wish to ignore. For example: SLING-INF/content;overwrite=true;ignoreImportProviders:=xml,json AFAICT it only chooses the first one. I've traced this down to the ManifestHeader class in o.a.s.commons.osgi. It looks like it interprets the comma between xml and json as a seperator of Attributes instead of a seperator of Values. The following test in ManifestHeaderTest identifies this issue: public void testMultiple() { String header = SLING-INF/content/etc;overwrite=true;ignoreImportProviders=json,xml; final ManifestHeader entry = ManifestHeader.parse(header); assertEquals(json,xml, entry.getEntries()[0].getAttributes()[1].getValue()); } As pointed out by Carsten on the list a comma cannot be used to seperate values for an attribute. Using another character would solve this. [1] http://sling.apache.org/site/content-loading-jcrcontentloader.html#ContentLoading(jcr.contentloader)-Extractors -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Closed: (SLING-1411) Add replaceAccessControlEntry method to AccessControlUtil
[ https://issues.apache.org/jira/browse/SLING-1411?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Justin Edelson closed SLING-1411. - Add replaceAccessControlEntry method to AccessControlUtil - Key: SLING-1411 URL: https://issues.apache.org/jira/browse/SLING-1411 Project: Sling Issue Type: Improvement Components: JCR Affects Versions: JCR Jackrabbit Access Manager 2.0.4 Reporter: Ray Davis Assignee: Eric Norman Priority: Minor Fix For: Launchpad Testing 6, Launchpad Content 2.0.6, JCR Jackrabbit Access Manager 2.0.6, JCR ContentLoader 2.1.0 Attachments: SLING-1411.patch ModifyAceServlet and DefaultContentCreator both have a need to merge new privileges for a given principal to an existing resource ACL. Doing so involves some rather complex logic which is easy to get wrong, and in the Sakai 3 project, we found that quite a few service developers needed the same functionality. This patch moves the functionality to a shared utility method to eliminate any tempatations to copy-and-paste (or worse, rewrite incorrectly). Besides consolidating the logic (and removing it from ModifyAceServlet and DefaultContentCreator), this patch introduces a couple of other changes: * The ACE merge is more conservative. SLING-997 broke apart specified and existing aggregated privileges and then tried to recombine them into possibly new combinations. This patch instead maintains exactly what the client specified and (when possible) what was already there, but does not create any new aggregates of its own. This better matches Jackrabbit's default behavior, should minimize client surprises, and eliminates a subtle bug: any candidate aggregate privilege needs to be checked for isAbstract(). * The ModifyAceServlet JavaDoc is corrected and expanded. * Some bad logging format is fixed. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Closed: (SLING-1448) Sling-Initial-Content should be able to load content into non-default workspace
[ https://issues.apache.org/jira/browse/SLING-1448?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Justin Edelson closed SLING-1448. - Sling-Initial-Content should be able to load content into non-default workspace --- Key: SLING-1448 URL: https://issues.apache.org/jira/browse/SLING-1448 Project: Sling Issue Type: Improvement Components: JCR Reporter: Justin Edelson Assignee: Justin Edelson Fix For: JCR ContentLoader 2.1.0 -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Closed: (SLING-1449) jcr.jackrabbit-server is missing DynamicImport-Package
[ https://issues.apache.org/jira/browse/SLING-1449?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Justin Edelson closed SLING-1449. - jcr.jackrabbit-server is missing DynamicImport-Package -- Key: SLING-1449 URL: https://issues.apache.org/jira/browse/SLING-1449 Project: Sling Issue Type: Bug Components: JCR Reporter: Justin Edelson Assignee: Justin Edelson Fix For: JCR Jackrabbit Server 2.1.0 before r911430, jcr.jackrabbit-server had DynamicImport-Package = * in the manifest. This was removed and needs to be restored. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Closed: (SLING-1531) Upgrade to Jackrabbit 2.1
[ https://issues.apache.org/jira/browse/SLING-1531?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Justin Edelson closed SLING-1531. - Upgrade to Jackrabbit 2.1 - Key: SLING-1531 URL: https://issues.apache.org/jira/browse/SLING-1531 Project: Sling Issue Type: Task Components: JCR Reporter: Justin Edelson Assignee: Justin Edelson Fix For: Launchpad Builder 6, JCR Webdav 2.0.10, JCR Jackrabbit Server 2.1.0, JCR DavEx 1.0.0 -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Closed: (SLING-1556) Add optional imports for JDBC packages used by Jackrabbit Core persistence managers
[ https://issues.apache.org/jira/browse/SLING-1556?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Justin Edelson closed SLING-1556. - Add optional imports for JDBC packages used by Jackrabbit Core persistence managers --- Key: SLING-1556 URL: https://issues.apache.org/jira/browse/SLING-1556 Project: Sling Issue Type: Improvement Components: JCR Affects Versions: JCR Jackrabbit Server 2.0.6 Reporter: Felix Meschberger Assignee: Felix Meschberger Fix For: JCR Jackrabbit Server 2.1.0 Currently the Jackrabbit Server bundle only has an optional import for the Derby JDBC driver package. To support simpler replacment of Derby as the Jackrabbit persistence manager, optional imports should be created for all JDBC driver packages of the persistence managers included with the Jackrabbit Core library. Particulary this is the list of optional imports to be added: org.h2 com.microsoft.sqlserver.jdbc org.gjt.mm.mysql oracle.jdbc org.postgresql -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Closed: (SLING-1592) contentloader doesn't uninstall content from non-default workspace
[ https://issues.apache.org/jira/browse/SLING-1592?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Justin Edelson closed SLING-1592. - contentloader doesn't uninstall content from non-default workspace -- Key: SLING-1592 URL: https://issues.apache.org/jira/browse/SLING-1592 Project: Sling Issue Type: Bug Components: JCR Reporter: Justin Edelson Assignee: Justin Edelson Fix For: JCR ContentLoader 2.1.0 Although SLING-1448 added support for a workspace parameter to the Sling-Initial-Content header, content isn't properly uninstalled from a non-default workspace. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Closed: (SLING-1583) Recent changes to content loader swallow name property in nodes, which was previously used only for Princiapls, breaks existing code.
[ https://issues.apache.org/jira/browse/SLING-1583?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Justin Edelson closed SLING-1583. - Recent changes to content loader swallow name property in nodes, which was previously used only for Princiapls, breaks existing code. --- Key: SLING-1583 URL: https://issues.apache.org/jira/browse/SLING-1583 Project: Sling Issue Type: Bug Components: JCR Affects Versions: JCR ContentLoader 2.1.0 Reporter: Ian Boston Assignee: Ian Boston Fix For: JCR ContentLoader 2.1.0 Name should be changed to something that wont be used in a node property, eg :name and added to the ignore list for node properties. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Closed: (SLING-1550) Embedded JCR Repository metatype refers to CRX
[ https://issues.apache.org/jira/browse/SLING-1550?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Justin Edelson closed SLING-1550. - Embedded JCR Repository metatype refers to CRX -- Key: SLING-1550 URL: https://issues.apache.org/jira/browse/SLING-1550 Project: Sling Issue Type: Improvement Components: JCR Reporter: Justin Edelson Assignee: Justin Edelson Priority: Minor Fix For: JCR Jackrabbit Server 2.1.0 -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Closed: (SLING-1664) support reading the jackrabbit configuration file from the launchpad archive
[ https://issues.apache.org/jira/browse/SLING-1664?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Justin Edelson closed SLING-1664. - support reading the jackrabbit configuration file from the launchpad archive Key: SLING-1664 URL: https://issues.apache.org/jira/browse/SLING-1664 Project: Sling Issue Type: Improvement Components: JCR Reporter: Justin Edelson Assignee: Justin Edelson Fix For: JCR Jackrabbit Server 2.1.0 downstream users of Sling should be able to put a repository.xml in either the launchpad JAR or WAR and get it to work without any additional configuration. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Closed: (SLING-1568) Do not configure Derby PM to shutdown on close
[ https://issues.apache.org/jira/browse/SLING-1568?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Justin Edelson closed SLING-1568. - Do not configure Derby PM to shutdown on close -- Key: SLING-1568 URL: https://issues.apache.org/jira/browse/SLING-1568 Project: Sling Issue Type: Improvement Components: JCR Affects Versions: JCR Jackrabbit Server 2.0.6 Reporter: Felix Meschberger Assignee: Felix Meschberger Fix For: JCR Jackrabbit Server 2.1.0 Since we now deploy derby as a bundle outside of Jackrabbit, we need not configure the derby PM to shutdown derby when the Jackrabbit connections are closed. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[ANN] Apache Sling JCR API 2.1.0, JCR Base 2.1.0, JCR Content Loader 2.1.0 and JCR Jackrabbit Server 2.1.0 Released
The Apache Sling team is pleased to announce the release of Apache Sling JCR API 2.1.0, Apache Sling JCR Base 2.1.0, Apache Sling JCR Content Loader 2.1.0 and Apache Sling JCR Jackrabbit Server 2.1.0. Collectively, these modules represent the core OSGi bundles providing support for JCR repositories in Apache Sling. These releases are available from http://sling.apache.org/site/downloads.cgi and Maven: dependency groupIdorg.apache.sling/groupId artifactIdorg.apache.sling.jcr.api/artifactId version2.1.0/version /dependency dependency groupIdorg.apache.sling/groupId artifactIdorg.apache.sling.jcr.base/artifactId version2.1.0/version /dependency dependency groupIdorg.apache.sling/groupId artifactIdorg.apache.sling.jcr.contentloader/artifactId version2.1.0/version /dependency dependency groupIdorg.apache.sling/groupId artifactIdorg.apache.sling.jcr.jackrabbit.server/artifactId version2.1.0/version /dependency Release Notes: JCR API 2.1.0: ** Improvement * [SLING-1363] - Add a component which allows bundles to configure the session returned by SlingRepository JCR Base 2.1.0: ** Bug * [SLING-1413] - In Jackrabbit 2.0, Privileges can now be denied for Groups. The ModifyAceServlet and security ContentLoader should allow it as well * [SLING-1457] - AccessControlUtil.replaceAccessControlEntry(..) must preserve the order of the ACEs in the AccessControlList when merging changes into an existing ACE * [SLING-1458] - The jackrabbit.accessmanager bundle needs to provide a mechanism to re-order the ACEs in the ACL * [SLING-1522] - AccessControlUtil looks up an Authorizable where it does not need to. * [SLING-1548] - Move bundle event handling to Loader (from AbstractSlingRepository) ** Improvement * [SLING-1363] - Add a component which allows bundles to configure the session returned by SlingRepository JCR Content Loader 2.1.0: ** Bug * [SLING-1409] - ignoreImportProviders doesn't allow multiple values. * [SLING-1440] - Overwrite rule of bundle initial content cannot be switched back to false * [SLING-1457] - AccessControlUtil.replaceAccessControlEntry(..) must preserve the order of the ACEs in the AccessControlList when merging changes into an existing ACE * [SLING-1458] - The jackrabbit.accessmanager bundle needs to provide a mechanism to re-order the ACEs in the ACL * [SLING-1526] - Extra property names of security:principals lost when loaded via contentloader * [SLING-1561] - Allow the Sling Initial ContentLoader to set parent node properties * [SLING-1582] - Content loader doesnt give much feedback when something goes wrong. * [SLING-1583] - Recent changes to content loader swallow name property in nodes, which was previously used only for Princiapls, breaks existing code. * [SLING-1589] - DefaultContentImporter service doesn't have a pretty name/description * [SLING-1592] - contentloader doesn't uninstall content from non-default workspace * [SLING-1613] - JSON Content loader converts all arrays to arrays of String. * [SLING-1627] - import operation does not respect :replace=true for properties ** Improvement * [SLING-1411] - Add replaceAccessControlEntry method to AccessControlUtil * [SLING-1448] - Sling-Initial-Content should be able to load content into non-default workspace * [SLING-1532] - contentloader should overwrite file contents, not file nodes ** New Feature * [SLING-1172] - Allow uploading JSON files to create content structures JCR Jackrabbit Server 2.1.0: ** Bug * [SLING-1417] - setting sling.repository.config.file.url to a URL doesn't work * [SLING-1449] - jcr.jackrabbit-server is missing DynamicImport-Package * [SLING-1502] - Concurrency-Problem in AccessManagerFactoryTracker * [SLING-1507] - Unable to change the Jackrabbit RMI port via Karaf config/provisioning mechanism ** Improvement * [SLING-1550] - Embedded JCR Repository metatype refers to CRX * [SLING-1556] - Add optional imports for JDBC packages used by Jackrabbit Core persistence managers * [SLING-1568] - Do not configure Derby PM to shutdown on close * [SLING-1660] - upgrade to Jackrabbit 2.1.1 * [SLING-1664] - support reading the jackrabbit configuration file from the launchpad archive ** Task * [SLING-1531] - Upgrade to Jackrabbit 2.1 Enjoy! -The Sling team
Re: integration tests
I was using Maven 3.0-beta-3 before and I had 3 different test failures in a row today. After reading that you had better success with 2.2.1 I downgraded to 2.2.1 and I have now built the current trunk 3 times with no failures. I have no idea if the 3 successful builds was just pure luck but I will probably continue with 2.2.1 for a while. /Pontus On 09/10/2010 04:10 AM, Justin Edelson wrote: FWIW, which probably isn't much... On a clean Ubuntu 10.04 VM with all updates and OpenJDK 6b18 and Maven 2.2.1, I've had 5 clean integration test suite runs in a row. On 9/9/10 8:53 AM, Felix Meschberger wrote: Hi all, Maybe its just me, but currently the Sling (main) integration tests run extremely unstable. Most of the time I only have one failure. But 1 out of 4 runs, I have a random (but rather high) number of test failures. I run mvn -o clean install in the launchpad/testing folder after a full reactor build. The single test that constantly fails is ContentLoaderMiscPropertyTest.testLoaded. This expects a node, which I cannot find where it is created. Do you observe the same ? Thanks and Regards Felix
[jira] Created: (SLING-1749) sling.js prevents baseurl being detected correctly when the webapp isn't on the / docroot
sling.js prevents baseurl being detected correctly when the webapp isn't on the / docroot - Key: SLING-1749 URL: https://issues.apache.org/jira/browse/SLING-1749 Project: Sling Issue Type: Bug Components: Servlets Reporter: Tom Barber Running the svn checkout from this morning the sling.js file located in sling/bundles/servlets/post has a bug on line 416. The / being appended breaks the substring and the baseurl is always . -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
Re: [ANN] Apache Sling JCR API 2.1.0, JCR Base 2.1.0, JCR Content Loader 2.1.0 and JCR Jackrabbit Server 2.1.0 Released
What is Sling? It would be helpful to include a short description of Sling in any Announce messages. On 10 September 2010 14:28, Justin Edelson jus...@apache.org wrote: The Apache Sling team is pleased to announce the release of Apache Sling JCR API 2.1.0, Apache Sling JCR Base 2.1.0, Apache Sling JCR Content Loader 2.1.0 and Apache Sling JCR Jackrabbit Server 2.1.0. Collectively, these modules represent the core OSGi bundles providing support for JCR repositories in Apache Sling. These releases are available from http://sling.apache.org/site/downloads.cgi and Maven: dependency groupIdorg.apache.sling/groupId artifactIdorg.apache.sling.jcr.api/artifactId version2.1.0/version /dependency dependency groupIdorg.apache.sling/groupId artifactIdorg.apache.sling.jcr.base/artifactId version2.1.0/version /dependency dependency groupIdorg.apache.sling/groupId artifactIdorg.apache.sling.jcr.contentloader/artifactId version2.1.0/version /dependency dependency groupIdorg.apache.sling/groupId artifactIdorg.apache.sling.jcr.jackrabbit.server/artifactId version2.1.0/version /dependency Release Notes: JCR API 2.1.0: ** Improvement * [SLING-1363] - Add a component which allows bundles to configure the session returned by SlingRepository JCR Base 2.1.0: ** Bug * [SLING-1413] - In Jackrabbit 2.0, Privileges can now be denied for Groups. The ModifyAceServlet and security ContentLoader should allow it as well * [SLING-1457] - AccessControlUtil.replaceAccessControlEntry(..) must preserve the order of the ACEs in the AccessControlList when merging changes into an existing ACE * [SLING-1458] - The jackrabbit.accessmanager bundle needs to provide a mechanism to re-order the ACEs in the ACL * [SLING-1522] - AccessControlUtil looks up an Authorizable where it does not need to. * [SLING-1548] - Move bundle event handling to Loader (from AbstractSlingRepository) ** Improvement * [SLING-1363] - Add a component which allows bundles to configure the session returned by SlingRepository JCR Content Loader 2.1.0: ** Bug * [SLING-1409] - ignoreImportProviders doesn't allow multiple values. * [SLING-1440] - Overwrite rule of bundle initial content cannot be switched back to false * [SLING-1457] - AccessControlUtil.replaceAccessControlEntry(..) must preserve the order of the ACEs in the AccessControlList when merging changes into an existing ACE * [SLING-1458] - The jackrabbit.accessmanager bundle needs to provide a mechanism to re-order the ACEs in the ACL * [SLING-1526] - Extra property names of security:principals lost when loaded via contentloader * [SLING-1561] - Allow the Sling Initial ContentLoader to set parent node properties * [SLING-1582] - Content loader doesnt give much feedback when something goes wrong. * [SLING-1583] - Recent changes to content loader swallow name property in nodes, which was previously used only for Princiapls, breaks existing code. * [SLING-1589] - DefaultContentImporter service doesn't have a pretty name/description * [SLING-1592] - contentloader doesn't uninstall content from non-default workspace * [SLING-1613] - JSON Content loader converts all arrays to arrays of String. * [SLING-1627] - import operation does not respect :replace=true for properties ** Improvement * [SLING-1411] - Add replaceAccessControlEntry method to AccessControlUtil * [SLING-1448] - Sling-Initial-Content should be able to load content into non-default workspace * [SLING-1532] - contentloader should overwrite file contents, not file nodes ** New Feature * [SLING-1172] - Allow uploading JSON files to create content structures JCR Jackrabbit Server 2.1.0: ** Bug * [SLING-1417] - setting sling.repository.config.file.url to a URL doesn't work * [SLING-1449] - jcr.jackrabbit-server is missing DynamicImport-Package * [SLING-1502] - Concurrency-Problem in AccessManagerFactoryTracker * [SLING-1507] - Unable to change the Jackrabbit RMI port via Karaf config/provisioning mechanism ** Improvement * [SLING-1550] - Embedded JCR Repository metatype refers to CRX * [SLING-1556] - Add optional imports for JDBC packages used by Jackrabbit Core persistence managers * [SLING-1568] - Do not configure Derby PM to shutdown on close * [SLING-1660] - upgrade to Jackrabbit 2.1.1 * [SLING-1664] - support reading the jackrabbit configuration file from the launchpad archive ** Task * [SLING-1531] - Upgrade to Jackrabbit 2.1 Enjoy! -The Sling team
Re: [ANN] Apache Sling JCR API 2.1.0, JCR Base 2.1.0, JCR Content Loader 2.1.0 and JCR Jackrabbit Server 2.1.0 Released
Good point. I'll update our release documentation to make this clear. Thanks, Justin On 9/10/10 12:00 PM, sebb wrote: What is Sling? It would be helpful to include a short description of Sling in any Announce messages. On 10 September 2010 14:28, Justin Edelson jus...@apache.org wrote: The Apache Sling team is pleased to announce the release of Apache Sling JCR API 2.1.0, Apache Sling JCR Base 2.1.0, Apache Sling JCR Content Loader 2.1.0 and Apache Sling JCR Jackrabbit Server 2.1.0. Collectively, these modules represent the core OSGi bundles providing support for JCR repositories in Apache Sling. These releases are available from http://sling.apache.org/site/downloads.cgi and Maven: dependency groupIdorg.apache.sling/groupId artifactIdorg.apache.sling.jcr.api/artifactId version2.1.0/version /dependency dependency groupIdorg.apache.sling/groupId artifactIdorg.apache.sling.jcr.base/artifactId version2.1.0/version /dependency dependency groupIdorg.apache.sling/groupId artifactIdorg.apache.sling.jcr.contentloader/artifactId version2.1.0/version /dependency dependency groupIdorg.apache.sling/groupId artifactIdorg.apache.sling.jcr.jackrabbit.server/artifactId version2.1.0/version /dependency Release Notes: JCR API 2.1.0: ** Improvement * [SLING-1363] - Add a component which allows bundles to configure the session returned by SlingRepository JCR Base 2.1.0: ** Bug * [SLING-1413] - In Jackrabbit 2.0, Privileges can now be denied for Groups. The ModifyAceServlet and security ContentLoader should allow it as well * [SLING-1457] - AccessControlUtil.replaceAccessControlEntry(..) must preserve the order of the ACEs in the AccessControlList when merging changes into an existing ACE * [SLING-1458] - The jackrabbit.accessmanager bundle needs to provide a mechanism to re-order the ACEs in the ACL * [SLING-1522] - AccessControlUtil looks up an Authorizable where it does not need to. * [SLING-1548] - Move bundle event handling to Loader (from AbstractSlingRepository) ** Improvement * [SLING-1363] - Add a component which allows bundles to configure the session returned by SlingRepository JCR Content Loader 2.1.0: ** Bug * [SLING-1409] - ignoreImportProviders doesn't allow multiple values. * [SLING-1440] - Overwrite rule of bundle initial content cannot be switched back to false * [SLING-1457] - AccessControlUtil.replaceAccessControlEntry(..) must preserve the order of the ACEs in the AccessControlList when merging changes into an existing ACE * [SLING-1458] - The jackrabbit.accessmanager bundle needs to provide a mechanism to re-order the ACEs in the ACL * [SLING-1526] - Extra property names of security:principals lost when loaded via contentloader * [SLING-1561] - Allow the Sling Initial ContentLoader to set parent node properties * [SLING-1582] - Content loader doesnt give much feedback when something goes wrong. * [SLING-1583] - Recent changes to content loader swallow name property in nodes, which was previously used only for Princiapls, breaks existing code. * [SLING-1589] - DefaultContentImporter service doesn't have a pretty name/description * [SLING-1592] - contentloader doesn't uninstall content from non-default workspace * [SLING-1613] - JSON Content loader converts all arrays to arrays of String. * [SLING-1627] - import operation does not respect :replace=true for properties ** Improvement * [SLING-1411] - Add replaceAccessControlEntry method to AccessControlUtil * [SLING-1448] - Sling-Initial-Content should be able to load content into non-default workspace * [SLING-1532] - contentloader should overwrite file contents, not file nodes ** New Feature * [SLING-1172] - Allow uploading JSON files to create content structures JCR Jackrabbit Server 2.1.0: ** Bug * [SLING-1417] - setting sling.repository.config.file.url to a URL doesn't work * [SLING-1449] - jcr.jackrabbit-server is missing DynamicImport-Package * [SLING-1502] - Concurrency-Problem in AccessManagerFactoryTracker * [SLING-1507] - Unable to change the Jackrabbit RMI port via Karaf config/provisioning mechanism ** Improvement * [SLING-1550] - Embedded JCR Repository metatype refers to CRX * [SLING-1556] - Add optional imports for JDBC packages used by Jackrabbit Core persistence managers * [SLING-1568] - Do not configure Derby PM to shutdown on close * [SLING-1660] - upgrade to Jackrabbit 2.1.1 * [SLING-1664] - support reading the jackrabbit configuration file from the launchpad archive ** Task * [SLING-1531] - Upgrade to Jackrabbit 2.1 Enjoy! -The Sling team
[jira] Created: (SLING-1750) initial content's index.html doesn't load sling.js when war is deployed as a sub context
initial content's index.html doesn't load sling.js when war is deployed as a sub context Key: SLING-1750 URL: https://issues.apache.org/jira/browse/SLING-1750 Project: Sling Issue Type: Bug Components: Launchpad Reporter: Justin Edelson Assignee: Justin Edelson if you deploy the sling war to a servlet container at a subcontext (i.e. /sling), the index.html page doesn't have the correct URL for sling.js -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Updated: (SLING-1749) sling.js prevents baseurl being detected correctly when the webapp isn't on the / docroot
[ https://issues.apache.org/jira/browse/SLING-1749?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Justin Edelson updated SLING-1749: -- Fix Version/s: Servlets Post 2.0.6 sling.js prevents baseurl being detected correctly when the webapp isn't on the / docroot - Key: SLING-1749 URL: https://issues.apache.org/jira/browse/SLING-1749 Project: Sling Issue Type: Bug Components: Servlets Reporter: Tom Barber Fix For: Servlets Post 2.0.6 Running the svn checkout from this morning the sling.js file located in sling/bundles/servlets/post has a bug on line 416. The / being appended breaks the substring and the baseurl is always . -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Updated: (SLING-1750) initial content's index.html doesn't load sling.js when war is deployed as a sub context
[ https://issues.apache.org/jira/browse/SLING-1750?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Justin Edelson updated SLING-1750: -- Fix Version/s: Launchpad Content 2.0.6 initial content's index.html doesn't load sling.js when war is deployed as a sub context Key: SLING-1750 URL: https://issues.apache.org/jira/browse/SLING-1750 Project: Sling Issue Type: Bug Components: Launchpad Reporter: Justin Edelson Assignee: Justin Edelson Fix For: Launchpad Content 2.0.6 if you deploy the sling war to a servlet container at a subcontext (i.e. /sling), the index.html page doesn't have the correct URL for sling.js -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Commented: (SLING-1730) Move jQuery Explorer to bundles
[ https://issues.apache.org/jira/browse/SLING-1730?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12908112#action_12908112 ] Justin Edelson commented on SLING-1730: --- also added to reactor (r995890) and launchpad.builder (r995891) Move jQuery Explorer to bundles --- Key: SLING-1730 URL: https://issues.apache.org/jira/browse/SLING-1730 Project: Sling Issue Type: Task Components: Extensions Reporter: Mike Müller Assignee: Mike Müller Priority: Minor Fix For: Sling Explorer 1.0.0 As suggested in the discussion under [1] I propose to move the jquery explorer to the bundles section. bundles/extensions/explorer probably would be the right place. [1] http://markmail.org/thread/5kwgg35636ynmnxa -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Created: (SLING-1751) explorer doesn't work when sling is used in a non-root context
explorer doesn't work when sling is used in a non-root context -- Key: SLING-1751 URL: https://issues.apache.org/jira/browse/SLING-1751 Project: Sling Issue Type: Bug Components: Extensions Reporter: Justin Edelson Attachments: screenshot0.png see screenshot. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Created: (SLING-1753) sling.js seems very dependent upon being the last script tag on the page
sling.js seems very dependent upon being the last script tag on the page Key: SLING-1753 URL: https://issues.apache.org/jira/browse/SLING-1753 Project: Sling Issue Type: Bug Components: Servlets Reporter: Justin Edelson need to look at this some more, but I'm pretty sure that unless sling.js is the last script tag, baseurl won't be set correctly. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
Re: Authentication/Authorization and jackrabbit.usermanager functionality
I can create patches then to prevent anon access. What do you think about tying the authorization to existing JCR ACL's like jcr:readAccessControl or jcr:modifyAccessControl? If there is interest, I can include this in my patches. -- Mike On Sep 9, 2010, at 5:07 PM, Justin Edelson wrote: I can't speak to whether this was by intent or not, but I would definitely recommend preventing anonymous access to /system. Beyond that, it gets very application-specific quickly. Justin On 9/9/10 6:47 PM, Mike Moulton wrote: I recently had the need to get a list of users from an AJAX style client and found the jackrabbit usermanager exposes this functionality at system/userManager/user. As a part of this discovery, I noticed the listing of JCR users is not restricted in any way. If the usermanager bundle is installed, the following endpoint is open to the public: http://localhost:8080/system/userManager/user.tidy.1.json, providing a complete user list to anyone digging around. Any usermanager command that allows modifications to the JCR first checks if the user is an admin, but it seems all the read-only commands skip this check. Is this by intention, or was this simply missed? In addition, what are the thoughts on adding some sort of authorization component beyond just the isAdmin check? Maybe inspecting the jcr:readAccessControl / jcr:modifyAccessControl for the root node? -- Mike
[jira] Created: (SLING-1754) Jobs nodes should be unlocked after they have been changed
Jobs nodes should be unlocked after they have been changed -- Key: SLING-1754 URL: https://issues.apache.org/jira/browse/SLING-1754 Project: Sling Issue Type: Improvement Components: Extensions Affects Versions: Extensions Event 2.4.0 Reporter: Carsten Ziegeler Assignee: Carsten Ziegeler Fix For: Extensions Event 2.4.2 In a clustered environment, it can currently happen that another cluster node picks up a job during the unlock operation in finishJob and tries to process it. There is a delay between the unlock and a remove/finish operation. Therefore the node should either be directly removed/updated before the unlock -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Created: (SLING-1755) explorer doesn't show correct jcr:primaryType value
explorer doesn't show correct jcr:primaryType value --- Key: SLING-1755 URL: https://issues.apache.org/jira/browse/SLING-1755 Project: Sling Issue Type: Bug Components: Extensions Reporter: Justin Edelson always shows sling:Folder for me -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Commented: (SLING-1751) explorer doesn't work when sling is used in a non-root context
[ https://issues.apache.org/jira/browse/SLING-1751?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12908176#action_12908176 ] Justin Edelson commented on SLING-1751: --- fixed in r995969 explorer doesn't work when sling is used in a non-root context -- Key: SLING-1751 URL: https://issues.apache.org/jira/browse/SLING-1751 Project: Sling Issue Type: Bug Components: Extensions Reporter: Justin Edelson Assignee: Justin Edelson Attachments: screenshot0.png see screenshot. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Resolved: (SLING-1751) explorer doesn't work when sling is used in a non-root context
[ https://issues.apache.org/jira/browse/SLING-1751?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Justin Edelson resolved SLING-1751. --- Assignee: Justin Edelson Resolution: Fixed explorer doesn't work when sling is used in a non-root context -- Key: SLING-1751 URL: https://issues.apache.org/jira/browse/SLING-1751 Project: Sling Issue Type: Bug Components: Extensions Reporter: Justin Edelson Assignee: Justin Edelson Attachments: screenshot0.png see screenshot. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Created: (SLING-1756) explorer should use spaces instead of tabs
explorer should use spaces instead of tabs -- Key: SLING-1756 URL: https://issues.apache.org/jira/browse/SLING-1756 Project: Sling Issue Type: Improvement Components: Extensions Reporter: Justin Edelson Priority: Minor -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Created: (SLING-1757) [explorer] can't select root node
[explorer] can't select root node - Key: SLING-1757 URL: https://issues.apache.org/jira/browse/SLING-1757 Project: Sling Issue Type: Bug Components: Extensions Reporter: Justin Edelson Priority: Critical this makes it impossible (AFAICT) to create a new child directly under the root node -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Created: (SLING-1758) [explorer] refer to child node instead of sub-node
[explorer] refer to child node instead of sub-node -- Key: SLING-1758 URL: https://issues.apache.org/jira/browse/SLING-1758 Project: Sling Issue Type: Bug Components: Extensions Reporter: Justin Edelson -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Updated: (SLING-1755) [explorer] doesn't show correct jcr:primaryType value
[ https://issues.apache.org/jira/browse/SLING-1755?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Justin Edelson updated SLING-1755: -- Summary: [explorer] doesn't show correct jcr:primaryType value (was: explorer doesn't show correct jcr:primaryType value) Assignee: Justin Edelson Fix Version/s: Sling Explorer 1.0.0 [explorer] doesn't show correct jcr:primaryType value - Key: SLING-1755 URL: https://issues.apache.org/jira/browse/SLING-1755 Project: Sling Issue Type: Bug Components: Extensions Reporter: Justin Edelson Assignee: Justin Edelson Fix For: Sling Explorer 1.0.0 always shows sling:Folder for me -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Created: (SLING-1759) [explorer] logo shouldn't refer to incubator.apache.org
[explorer] logo shouldn't refer to incubator.apache.org --- Key: SLING-1759 URL: https://issues.apache.org/jira/browse/SLING-1759 Project: Sling Issue Type: Improvement Components: Extensions Reporter: Justin Edelson Priority: Trivial -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.