[jira] [Created] (SLING-2111) JcrResourceBundle is not compatible with RFC 3066
JcrResourceBundle is not compatible with RFC 3066 - Key: SLING-2111 URL: https://issues.apache.org/jira/browse/SLING-2111 Project: Sling Issue Type: Bug Components: JCR Affects Versions: I18n 2.0.4 Reporter: Christanto Priority: Minor When loading messages from JCR repo, JcrResourceBundle use java.util.Locale.toString() to find the coresponding jcr:language JCR property. jcr:language uses RFC 3066 (e.g. en-US) while Java Locale use en_US. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Resolved] (SLING-2104) UnsupportedOperationException in DefaultPortletPreferencesService.store
[ https://issues.apache.org/jira/browse/SLING-2104?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Carsten Ziegeler resolved SLING-2104. - Resolution: Fixed Assignee: Carsten Ziegeler Thanks for your patch, Antonio - I've applied it in revision 1140101 UnsupportedOperationException in DefaultPortletPreferencesService.store --- Key: SLING-2104 URL: https://issues.apache.org/jira/browse/SLING-2104 Project: Sling Issue Type: Bug Components: General Reporter: Antonio Sanso Assignee: Carsten Ziegeler Attachments: SLING-2104.patch Step to reproduce: - go in the edit mode of a portlet - remove one preference == result in this stacktrace Caused by: java.lang.UnsupportedOperationException: remove at org.apache.jackrabbit.core.LazyItemIterator.remove(LazyItemIterator.java:267) at org.apache.sling.portal.container.internal.services.DefaultPortletPreferencesService.store(DefaultPortletPreferencesService.java:242) at org.apache.pluto.container.impl.PortletPreferencesImpl.internalStore(PortletPreferencesImpl.java:278) at org.apache.pluto.container.impl.PortletPreferencesImpl.store(PortletPreferencesImpl.java:249) The problem is the #PropertyIterator.remove call that will call the remove of on of the implementation of PropertyIterator that is [0] in tihs case. From the API of [0]: public void remove() Specified by: remove in interface Iterator Throws: UnsupportedOperationException - always since removal is not implemented. [0] http://jackrabbit.apache.org/api/1.4/org/apache/jackrabbit/jcr2spi/LazyItemIterator.html -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Created] (SLING-2112) Adding support for managing If-Modified-Since in request/response headers
Adding support for managing If-Modified-Since in request/response headers - Key: SLING-2112 URL: https://issues.apache.org/jira/browse/SLING-2112 Project: Sling Issue Type: New Feature Components: API Reporter: Antonio Sanso Priority: Minor Adding support for managing If-Modified-Since in request/response headers to the Sling API RequestUtil. Proposed Patch and Junit tests to follow. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (SLING-2112) Adding support for managing If-Modified-Since in request/response headers
[ https://issues.apache.org/jira/browse/SLING-2112?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Antonio Sanso updated SLING-2112: - Attachment: SLING-2112.patch.txt attaching proposed patch Adding support for managing If-Modified-Since in request/response headers - Key: SLING-2112 URL: https://issues.apache.org/jira/browse/SLING-2112 Project: Sling Issue Type: New Feature Components: API Reporter: Antonio Sanso Priority: Minor Attachments: SLING-2112.patch.txt Adding support for managing If-Modified-Since in request/response headers to the Sling API RequestUtil. Proposed Patch and Junit tests to follow. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (SLING-2089) add a getAbsolutePath(String) method to SlingSettingsService
[ https://issues.apache.org/jira/browse/SLING-2089?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13055522#comment-13055522 ] Carsten Ziegeler commented on SLING-2089: - Other bundles like the ConfigAdmin or the OSGi installer use a bundle property, e.g. we have in sling.properties: felix.cm.dir = ${sling.home}/config sling.installer.dir = ${sling.home}/installer If the property is available the path is used, if not something inside the bundle data file is created. add a getAbsolutePath(String) method to SlingSettingsService Key: SLING-2089 URL: https://issues.apache.org/jira/browse/SLING-2089 Project: Sling Issue Type: Improvement Components: Extensions Reporter: Justin Edelson Assignee: Justin Edelson Fix For: Extensions Settings 1.0.4 We should encourage developers to put state under ${sling.home}. Although there's already a method which can get the sling home path, we can make it even easier by adding a method getAbsolutePath(String) in SlingSettingsService. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Created] (SLING-2113) Non admin members of the group GroupAdmin can not add members to the group UserAdmin
Non admin members of the group GroupAdmin can not add members to the group UserAdmin Key: SLING-2113 URL: https://issues.apache.org/jira/browse/SLING-2113 Project: Sling Issue Type: Bug Components: JCR Affects Versions: JCR Jackrabbit User Manager 2.1.0 Reporter: Markus Joschko Priority: Minor A member of the GroupAdmin group should be able to add members to all groups. That works fine except for the UserAdmin group. There the addition fails if the user is not at the same time the admin user. Jackrabbit is denying the rights for the property right. 27.06.2011 14:45:48.874 *ERROR* [127.0.0.1 [1309178743836] POST /system/userManager/group/UserAdmin.update.json HTTP/1.1] org.apache.sling.jackrabbit.usermanager.impl.post.UpdateGroupServlet Failed to update group. javax.jcr.AccessDeniedException: Permission denied. at org.apache.jackrabbit.core.ProtectedItemModifier.checkPermission(ProtectedItemModifier.java:175) at org.apache.jackrabbit.core.ProtectedItemModifier.setProperty(ProtectedItemModifier.java:126) at org.apache.jackrabbit.core.security.user.UserManagerImpl.setProtectedProperty(UserManagerImpl.java:696) at org.apache.jackrabbit.core.security.user.GroupImpl$PropertyBasedMembershipProvider.addMember(GroupImpl.java:392) at org.apache.jackrabbit.core.security.user.GroupImpl.addMember(GroupImpl.java:172) at org.apache.sling.jackrabbit.usermanager.impl.post.AbstractGroupPostServlet.updateGroupMembership(AbstractGroupPostServlet.java:88) at org.apache.sling.jackrabbit.usermanager.impl.post.UpdateGroupServlet.updateGroup(UpdateGroupServlet.java:149) at org.apache.sling.jackrabbit.usermanager.impl.post.UpdateGroupServlet.handleOperation(UpdateGroupServlet.java:107) at org.apache.sling.jackrabbit.usermanager.impl.post.AbstractPostServlet.doPost(AbstractPostServlet.java:88) at org.apache.sling.api.servlets.SlingAllMethodsServlet.mayService(SlingAllMethodsServlet.java:148) at org.apache.sling.api.servlets.SlingSafeMethodsServlet.service(SlingSafeMethodsServlet.java:344) at org.apache.sling.api.servlets.SlingSafeMethodsServlet.service(SlingSafeMethodsServlet.java:375) at org.apache.sling.engine.impl.request.RequestData.service(RequestData.java:491) at org.apache.sling.engine.impl.SlingRequestProcessorImpl.processComponent(SlingRequestProcessorImpl.java:273) at org.apache.sling.engine.impl.filter.RequestSlingFilterChain.render(RequestSlingFilterChain.java:49) at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:64) at org.apache.sling.engine.impl.debug.RequestProgressTrackerLogFilter.doFilter(RequestProgressTrackerLogFilter.java:59) at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:60) at org.apache.sling.engine.impl.SlingRequestProcessorImpl.processRequest(SlingRequestProcessorImpl.java:163) at org.apache.sling.engine.impl.SlingMainServlet.service(SlingMainServlet.java:187) at org.apache.felix.http.base.internal.handler.ServletHandler.doHandle(ServletHandler.java:96) at org.apache.felix.http.base.internal.handler.ServletHandler.handle(ServletHandler.java:79) at org.apache.felix.http.base.internal.dispatch.ServletPipeline.handle(ServletPipeline.java:42) at org.apache.felix.http.base.internal.dispatch.InvocationFilterChain.doFilter(InvocationFilterChain.java:49) at org.apache.felix.http.base.internal.dispatch.HttpFilterChain.doFilter(HttpFilterChain.java:33) -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (SLING-2112) Adding support for managing If-Modified-Since in request/response headers
[ https://issues.apache.org/jira/browse/SLING-2112?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13055639#comment-13055639 ] Tyson Norris commented on SLING-2112: - In the code from CQ that inspired this request, there was rounding of the times to second, instead of millisecond. Does it make sense to round these? If so, it should be added to this patch. Thanks Tyson Adding support for managing If-Modified-Since in request/response headers - Key: SLING-2112 URL: https://issues.apache.org/jira/browse/SLING-2112 Project: Sling Issue Type: New Feature Components: API Reporter: Antonio Sanso Priority: Minor Attachments: SLING-2112.patch.txt Adding support for managing If-Modified-Since in request/response headers to the Sling API RequestUtil. Proposed Patch and Junit tests to follow. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira
Jenkins build became unstable: sling-trunk-1.5 ยป Apache Sling Launchpad Testing #1243
See https://builds.apache.org/job/sling-trunk-1.5/org.apache.sling$org.apache.sling.launchpad.testing/1243/