[magnolia-dev] [JIRA] Resolved: (MGNLSTK-557) Demo content: No dummy events for 2010
[ http://jira.magnolia-cms.com/browse/MGNLSTK-557?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Federico Grilli resolved MGNLSTK-557. - Resolution: Fixed Demo content: No dummy events for 2010 -- Key: MGNLSTK-557 URL: http://jira.magnolia-cms.com/browse/MGNLSTK-557 Project: Magnolia Standard Templating Kit Issue Type: Bug Components: demoproject Affects Versions: 1.2.1 Reporter: Christian Ringele Assignee: Federico Grilli Fix For: 1.2.x Attachments: website.demo-project.service.dummy-events.xml All dummy events in the demo content are events of the year 2009. The events are located under: demo-project/service/dummy-events/ These events should be updated to 2010. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.magnolia-cms.com/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira For list details see http://www.magnolia-cms.com/home/community/mailing-lists.html To unsubscribe, E-mail to: dev-list-unsubscr...@magnolia-cms.com
[magnolia-dev] [JIRA] Resolved: (MGNLSTK-533) pur integration in templating kit breaks with external users.
[ http://jira.magnolia-cms.com/browse/MGNLSTK-533?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Federico Grilli resolved MGNLSTK-533. - Resolution: Fixed pur integration in templating kit breaks with external users. - Key: MGNLSTK-533 URL: http://jira.magnolia-cms.com/browse/MGNLSTK-533 Project: Magnolia Standard Templating Kit Issue Type: Bug Components: paragraphs Reporter: Rico Jansen Assignee: Federico Grilli Fix For: 1.2.3, 1.3, 1.2.2 Attachments: freemarker-user-unsupportedexception.patch, link-ftl.patch, user-model.patch I have an issue with an exception that occurs when I log in with an LDAP account, the adminInterface works fine , but the site gives an exception: 2009-11-20 11:00:31,969 ERROR freemarker.runtime : Method public java.lang.String info.magnolia.cms.security.ExternalUser.getProperty(java.lang.String) threw an exception when invoked on info.magnolia.cms.security.externalu...@11fde0 The problematic instruction: -- == assignment: userFullName=ctx.user.getProperty(title)!userName [on line 4, column 1 in templating-kit/paragraphs/pur/link.ftl] -- Java backtrace for programmers: -- freemarker.template.TemplateModelException: Method public java.lang.String info.magnolia.cms.security.ExternalUser.getProperty(java.lang.String) threw an exception when invoked on info.magnolia.cms.security.externalu...@11fde0 at freemarker.ext.beans.SimpleMethodModel.exec(SimpleMethodModel.java:130) at freemarker.core.MethodCall._getAsTemplateModel(MethodCall.java:93) at freemarker.core.Expression.getAsTemplateModel(Expression.java:89) at freemarker.core.DefaultToExpression._getAsTemplateModel(DefaultToExpression.java:100) Caused by: java.lang.UnsupportedOperationException: not implemented for this ExternalUser at info.magnolia.cms.security.ExternalUser.getProperty(ExternalUser.java:155) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) It seems that the / templating-kit/paragraphs/pur/link.ftl tries to get the fullname from an external user: [#assign userFullName = ctx.user.getProperty(title)!userName] But ExternalUser has this as its getProperty: public String getProperty(String propertyName) { throw new UnsupportedOperationException(not implemented for this ExternalUser); } I am currently runing Magnolia Enterprise Edition 4.1RC1 and Templating Kit Standard 1.2RC2 , Extended 1.2RC1 -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.magnolia-cms.com/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira For list details see http://www.magnolia-cms.com/home/community/mailing-lists.html To unsubscribe, E-mail to: dev-list-unsubscr...@magnolia-cms.com
[magnolia-dev] Fwd: Product Team Meeting (2010.02.01): Protocol
...Maintenancegoing to release STK 1.2.3mgnlstk-...@jiramgnlstk-...@jira4.3/Sprint IIupdated theroadmap pageupdate the newmindmapthanks to Grégory we have now an automatedburndown chartexports to xml and counts the progress iconsVideosmake them today so that we can finally close sprint Ido not fake features (its also a status report)make them before releasing in future to get the chance to fix some small thingslicense for screenflow: Boris will export the resultadd them to theroadmap page Forlistdetailssee http://www.magnolia-cms.com/home/community/mailing-lists.html Tounsubscribe,E-mailto:dev-list-unsubscr...@magnolia-cms.com
[magnolia-dev] [JIRA] Commented: (MAGNOLIA-3051) Ideas for improvements: drop the metadata node
[ http://jira.magnolia-cms.com/browse/MAGNOLIA-3051?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=26304#action_26304 ] Grégory Joseph commented on MAGNOLIA-3051: -- That's something we've been wanting to do for a while too. API-wise, it should indeed be fine, although there *are* places where MetaData is accessed as a regular node (at least with tests) - but worst case that should be workaround-able via code too. The one thing that holds us back is updates. And time. The tree and other related classes would probably need to be adapted too. Ideas for improvements: drop the metadata node -- Key: MAGNOLIA-3051 URL: http://jira.magnolia-cms.com/browse/MAGNOLIA-3051 Project: Magnolia Issue Type: Improvement Components: core Reporter: Fabrizio Giustina Assignee: Boris Kraft Just a thought for the future: the metadata node is there just to hold a few properties that could better stay in the actual node. All the properties are already prefixed by mgnl: so they can be filtered easily when needed. Why not removing metadata nodes at all? This will bring a bunch of small nice effects: - reduce (to half) the number of nodes in the repository, improving performances (now every time a node is read, also its metadata node is fetched). - being able to sort properly on metadatas! A jcr query for sorting on the creation date can be incredibly/unnecessary hard now (try getting all the nodes with a in the title sorted by creation date... pretty evil) - (minor) smaller/more readable xml files for bootstrap We can easily keep APIs as they are now, since the MetaData class could just fetch the same properties from the main node. It will require a single-line change in the constructor, from: {code} this.node = workingNode.getNode(DEFAULT_META_NODE)) {code} to: {code} this.node = workingNode; {code} I don't think metadatas are accessed directly in different ways, so updating the APIs as described is probably enough. Redefining the nodetypes declaration and adding a filter for xml import should complete the work. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.magnolia-cms.com/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira For list details see http://www.magnolia-cms.com/home/community/mailing-lists.html To unsubscribe, E-mail to: dev-list-unsubscr...@magnolia-cms.com
[magnolia-dev] [JIRA] Created: (MAGNOLIA-3052) NPE in InheritanceContentWrapper
NPE in InheritanceContentWrapper Key: MAGNOLIA-3052 URL: http://jira.magnolia-cms.com/browse/MAGNOLIA-3052 Project: Magnolia Issue Type: Bug Components: core Affects Versions: 4.3 M1 Reporter: Jan Haderka Assignee: Philipp Bärfuss Attachments: InheritanceContentWrapperTest.patch {{findAnchor()}} can return {{null}} and {{resolveInnerPath()}} doesn't expect that - see the attached test. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.magnolia-cms.com/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira For list details see http://www.magnolia-cms.com/home/community/mailing-lists.html To unsubscribe, E-mail to: dev-list-unsubscr...@magnolia-cms.com
[magnolia-dev] [JIRA] Updated: (MAGNOLIA-3052) NPE in InheritanceContentWrapper
[ http://jira.magnolia-cms.com/browse/MAGNOLIA-3052?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jan Haderka updated MAGNOLIA-3052: -- Attachment: InheritanceContentWrapperTest.patch NPE in InheritanceContentWrapper Key: MAGNOLIA-3052 URL: http://jira.magnolia-cms.com/browse/MAGNOLIA-3052 Project: Magnolia Issue Type: Bug Components: core Affects Versions: 4.3 M1 Reporter: Jan Haderka Assignee: Philipp Bärfuss Attachments: InheritanceContentWrapperTest.patch {{findAnchor()}} can return {{null}} and {{resolveInnerPath()}} doesn't expect that - see the attached test. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.magnolia-cms.com/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira For list details see http://www.magnolia-cms.com/home/community/mailing-lists.html To unsubscribe, E-mail to: dev-list-unsubscr...@magnolia-cms.com
[magnolia-dev] [JIRA] Updated: (MAGNOLIA-3052) NPE in InheritanceContentWrapper
[ http://jira.magnolia-cms.com/browse/MAGNOLIA-3052?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jan Haderka updated MAGNOLIA-3052: -- Attachment: (was: InheritanceContentWrapperTest.patch) NPE in InheritanceContentWrapper Key: MAGNOLIA-3052 URL: http://jira.magnolia-cms.com/browse/MAGNOLIA-3052 Project: Magnolia Issue Type: Bug Components: core Affects Versions: 4.3 M1 Reporter: Jan Haderka Assignee: Philipp Bärfuss {{findAnchor()}} can return {{null}} and {{resolveInnerPath()}} doesn't expect that - see the attached test. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.magnolia-cms.com/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira For list details see http://www.magnolia-cms.com/home/community/mailing-lists.html To unsubscribe, E-mail to: dev-list-unsubscr...@magnolia-cms.com
[magnolia-dev] [JIRA] Updated: (MAGNOLIA-2989) Admin interface causes getWriter() has already been called for this response error to be thrown on Glassfish v3
[ http://jira.magnolia-cms.com/browse/MAGNOLIA-2989?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Philipp Bärfuss updated MAGNOLIA-2989: -- Fix Version/s: 4.3 Scheduling for 4.3 to not forget to apply it Admin interface causes getWriter() has already been called for this response error to be thrown on Glassfish v3 - Key: MAGNOLIA-2989 URL: http://jira.magnolia-cms.com/browse/MAGNOLIA-2989 Project: Magnolia Issue Type: Bug Components: admininterface Affects Versions: 4.2.3 Reporter: joshua portway Assignee: Philipp Bärfuss Fix For: 4.3 Attachments: NetBeansScreenSnapz001.png, screenshot-2.jpg, vcs-diff7973054169198951414.patch Original Estimate: 0d Remaining Estimate: 0d Immediately after logging in this error is thrown by the server, and the admin page never renders. This means that magnolia is effectively completely unusable under Glassfish v3. This has been a problem in previous version of glassfish, and with previous versions of Magnolia (going back to at least 3.5, probably earlier, but I can't remember), but in previous version of glassfish the problem only caused a warning to be logged. Glassfish version 3 treats this as a fatal error and aborts rendering the page. With previous versions of Magnolia running under glassfish 2.5 (such as sites I currently have running) it's only the admin interface that causes this problem - rendering normal pages does not cause a warning to be logged. here's the stack trace : java.lang.IllegalStateException: PWC3990: getWriter() has already been called for this response at org.apache.catalina.connector.Response.getOutputStream(Response.java:676) at org.apache.catalina.connector.ResponseFacade.getOutputStream(ResponseFacade.java:205) at info.magnolia.module.cache.filter.GZipFilter.doFilter(GZipFilter.java:106) at info.magnolia.cms.filters.OncePerRequestAbstractMgnlFilter.doFilter(OncePerRequestAbstractMgnlFilter.java:62) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:82) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:84) at info.magnolia.cms.filters.CosMultipartRequestFilter.doFilter(CosMultipartRequestFilter.java:87) at info.magnolia.cms.filters.AbstractMgnlFilter.doFilter(AbstractMgnlFilter.java:70) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:82) at info.magnolia.cms.security.BaseSecurityFilter.doFilter(BaseSecurityFilter.java:61) at info.magnolia.cms.filters.AbstractMgnlFilter.doFilter(AbstractMgnlFilter.java:70) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:82) at info.magnolia.cms.security.LogoutFilter.doFilter(LogoutFilter.java:89) at info.magnolia.cms.filters.OncePerRequestAbstractMgnlFilter.doFilter(OncePerRequestAbstractMgnlFilter.java:62) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:82) at info.magnolia.cms.security.auth.login.LoginFilter.doFilter(LoginFilter.java:84) at info.magnolia.cms.filters.AbstractMgnlFilter.doFilter(AbstractMgnlFilter.java:70) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:82) at info.magnolia.cms.filters.ContentTypeFilter.doFilter(ContentTypeFilter.java:84) at info.magnolia.cms.filters.AbstractMgnlFilter.doFilter(AbstractMgnlFilter.java:70) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:82) at info.magnolia.cms.filters.ContextFilter.doFilter(ContextFilter.java:87) at info.magnolia.cms.filters.AbstractMgnlFilter.doFilter(AbstractMgnlFilter.java:70) at info.magnolia.cms.filters.MgnlFilterChain.doFilter(MgnlFilterChain.java:82) at info.magnolia.cms.filters.CompositeFilter.doFilter(CompositeFilter.java:64) at info.magnolia.cms.filters.AbstractMgnlFilter.doFilter(AbstractMgnlFilter.java:70) at info.magnolia.cms.filters.MgnlMainFilter.doFilter(MgnlMainFilter.java:96) at info.magnolia.cms.filters.MgnlMainFilter.doFilter(MgnlMainFilter.java:199) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:256) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:277) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:188) at
[magnolia-dev] [JIRA] Resolved: (MGNLSTK-562) PUR-Module on Demo-Instance Exception in user registration
[ http://jira.magnolia-cms.com/browse/MGNLSTK-562?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Philipp Bärfuss resolved MGNLSTK-562. - Fix Version/s: 1.2.2 Resolution: Fixed PUR-Module on Demo-Instance Exception in user registration Key: MGNLSTK-562 URL: http://jira.magnolia-cms.com/browse/MGNLSTK-562 Project: Magnolia Standard Templating Kit Issue Type: Bug Components: demoproject Affects Versions: 1.2.1 Reporter: Sebastian Frick Assignee: Philipp Bärfuss Fix For: 1.2.2 - tested on http://demopublic.magnolia-cms.com/demo-features/modules/public-user-registration/PURRegistration.html - filled all fields with testit and my e-mailaddress - on submit you'll receive: Exception report message description The server encountered an internal error () that prevented it from fulfilling this request. exception javax.servlet.ServletException: Filter execution threw an exception root cause java.lang.NoSuchMethodError: info.magnolia.context.MgnlContext.doInSystemContext(Linfo/magnolia/context/MgnlContext$SystemContextOperation;)Ljava/lang/Void; info.magnolia.module.publicuserregistration.DefaultUserRegistrar.registerUser(DefaultUserRegistrar.java:114) info.magnolia.module.publicuserregistration.processors.RegistrationProcessor.process(RegistrationProcessor.java:72) info.magnolia.module.form.processing.DefaultProcessing.process(DefaultProcessing.java:52) info.magnolia.module.form.paragraphs.models.FormModel.execute(FormModel.java:95) info.magnolia.module.templating.AbstractRenderer.render(AbstractRenderer.java:76) info.magnolia.module.templating.paragraphs.AbstractParagraphRenderer.render(AbstractParagraphRenderer.java:64) info.magnolia.module.templating.ParagraphRenderingFacade.render(ParagraphRenderingFacade.java:111) info.magnolia.module.templating.ParagraphRenderingFacade.render(ParagraphRenderingFacade.java:89) info.magnolia.cms.taglibs.Include.doEndTag(Include.java:202) freemarker.ext.jsp.TagTransformModel$TagWriter.endEvaluation(TagTransformModel.java:431) freemarker.ext.jsp.TagTransformModel$TagWriter.afterBody(TagTransformModel.java:407) freemarker.core.Environment.visit(Environment.java:300) freemarker.core.UnifiedCall.accept(UnifiedCall.java:130) freemarker.core.Environment.visit(Environment.java:209) freemarker.core.Environment.visit(Environment.java:298) freemarker.core.UnifiedCall.accept(UnifiedCall.java:130) freemarker.core.Environment.visit(Environment.java:209) freemarker.core.MixedContent.accept(MixedContent.java:92) freemarker.core.Environment.visit(Environment.java:209) freemarker.core.Environment.include(Environment.java:1482) freemarker.core.Include.accept(Include.java:169) freemarker.core.Environment.visit(Environment.java:209) freemarker.core.MixedContent.accept(MixedContent.java:92) freemarker.core.Environment.visit(Environment.java:209) freemarker.core.Environment.include(Environment.java:1482) freemarker.core.Include.accept(Include.java:169) freemarker.core.Environment.visit(Environment.java:209) freemarker.core.MixedContent.accept(MixedContent.java:92) freemarker.core.Environment.visit(Environment.java:209) freemarker.core.Environment.process(Environment.java:189) freemarker.template.Template.process(Template.java:23 -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.magnolia-cms.com/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira For list details see http://www.magnolia-cms.com/home/community/mailing-lists.html To unsubscribe, E-mail to: dev-list-unsubscr...@magnolia-cms.com
[magnolia-dev] [JIRA] Assigned: (MGNLSTK- 568) Revert MGNLSTK-533 for 1.3 ?
[ http://jira.magnolia-cms.com/browse/MGNLSTK-568?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Philipp Bärfuss reassigned MGNLSTK-568: --- Assignee: Federico Grilli (was: Philipp Bärfuss) Revert MGNLSTK-533 for 1.3 ? Key: MGNLSTK-568 URL: http://jira.magnolia-cms.com/browse/MGNLSTK-568 Project: Magnolia Standard Templating Kit Issue Type: Sub-task Reporter: Grégory Joseph Assignee: Federico Grilli Fix For: 1.3 Since MAGNOLIA-3037, the changes for MGNLSTK-533 are not necessary anymore. To be discussed/confirmed. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.magnolia-cms.com/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira For list details see http://www.magnolia-cms.com/home/community/mailing-lists.html To unsubscribe, E-mail to: dev-list-unsubscr...@magnolia-cms.com
[magnolia-dev] [JIRA] Commented: (MAGNOLIA-3035) Multivalue properties with one value become single value properties after xml export - import
[ http://jira.magnolia-cms.com/browse/MAGNOLIA-3035?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=26311#action_26311 ] Philipp Bärfuss commented on MAGNOLIA-3035: --- Keeping the issue open, but this somehow a jackrabbit issue Multivalue properties with one value become single value properties after xml export - import --- Key: MAGNOLIA-3035 URL: http://jira.magnolia-cms.com/browse/MAGNOLIA-3035 Project: Magnolia Issue Type: Bug Components: core Affects Versions: 4.2.3 Reporter: Ernst Bunders Assignee: Philipp Bärfuss I found this working with (stk) categorization. A page that can have categories store uuid's to category nodes in the data workspace as a multi value property. When you set only one category an array of one javax.jcr.Value instances will be set, and it will be a multi value property non the less. You can come back to it later and add more values. But if you export this page to xml, it will be serialized as something like this: sv:property sv:name=categories sv:type=String sv:valued7ba9d64-b7b8-4b93-8a3d-ecd14a049bb8/sv:value /sv:property This is exactly the way a single value property is stored. So when you reimport the xml, a single value property is created for this value. When you try to add a value to it, you get: 2010-01-26 13:56:53,893 ERROR nfo.magnolia.module.admininterface.SaveHandlerImpl: Single-valued property can not be set to an array of values: javax.jcr.ValueFormatException: Single-valued property can not be set to an array of values:property /tegenlicht/nieuws/2010/januari/wie-is-wi at org.apache.jackrabbit.core.PropertyImpl.checkSetValue(PropertyImpl.java:244) at org.apache.jackrabbit.core.PropertyImpl.setValue(PropertyImpl.java:646) at org.apache.jackrabbit.core.PropertyImpl.setValue(PropertyImpl.java:629) at info.magnolia.cms.core.DefaultNodeData.setValue(DefaultNodeData.java:504) at info.magnolia.cms.core.DefaultContent.setNodeData(DefaultContent.java:351) at info.magnolia.cms.util.NodeDataUtil.getOrCreateAndSet(NodeDataUtil.java:392) ... When you add more than one value before you export it to xml it works ok. The importer finds multiple values, and creates a multi value property accordingly. This seems more of a jackrabbit, or even a specification bug, but perhaps it can be somehow cought in magnolia? -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.magnolia-cms.com/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira For list details see http://www.magnolia-cms.com/home/community/mailing-lists.html To unsubscribe, E-mail to: dev-list-unsubscr...@magnolia-cms.com
[magnolia-dev] [JIRA] Commented: (MGNLSTK -568) Revert MGNLSTK-533 for 1.3 ?
[ http://jira.magnolia-cms.com/browse/MGNLSTK-568?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=26312#action_26312 ] Philipp Bärfuss commented on MGNLSTK-568: - Yes, this should only be part of 1.2. Has to be reverted. Revert MGNLSTK-533 for 1.3 ? Key: MGNLSTK-568 URL: http://jira.magnolia-cms.com/browse/MGNLSTK-568 Project: Magnolia Standard Templating Kit Issue Type: Sub-task Reporter: Grégory Joseph Assignee: Philipp Bärfuss Fix For: 1.3 Since MAGNOLIA-3037, the changes for MGNLSTK-533 are not necessary anymore. To be discussed/confirmed. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.magnolia-cms.com/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira For list details see http://www.magnolia-cms.com/home/community/mailing-lists.html To unsubscribe, E-mail to: dev-list-unsubscr...@magnolia-cms.com
[magnolia-dev] [JIRA] Commented: (MAGNOLIA-3050) Add missing methods to BinaryNodeData for getting/setting attributes
[ http://jira.magnolia-cms.com/browse/MAGNOLIA-3050?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=26313#action_26313 ] Philipp Bärfuss commented on MAGNOLIA-3050: --- This is something which really gives me headache once a while. I tried to clean up things a bit (MAGNOLIA-3015) without breaking the API so far. But having again attributes on a binary node data is at least confusing (especially as this methods are part of the common NodeData interface). Knowing that any change will have side effects we can probably not improve that before 5.0. I could agree if nd.getNodeData() is only available in a specific BinaryNodeData interface. Add missing methods to BinaryNodeData for getting/setting attributes Key: MAGNOLIA-3050 URL: http://jira.magnolia-cms.com/browse/MAGNOLIA-3050 Project: Magnolia Issue Type: Improvement Reporter: Fabrizio Giustina Assignee: Boris Kraft Fix For: 4.3 I noticed only recently that BinaryNodeData has methods for setting attributes like: {code} setAttribute(String name, String value) setAttribute(String name, Calendar value) {code} but it misses the method for setting Longs or Doubles (I was wondering why the image size is set as a string and not as a long in jcr, this is probably the reason). Also for getting attributes it only has: {code} public String getAttribute(String name) { {code} which is already strange since the setter already supports also Calendars. What about cleaning it up in order to allow all the available types? we could maybe just add a getNodeData(String name) method similar to the one in Content (making clear that a binary node data can have other node data nested)? -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.magnolia-cms.com/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira For list details see http://www.magnolia-cms.com/home/community/mailing-lists.html To unsubscribe, E-mail to: dev-list-unsubscr...@magnolia-cms.com
[magnolia-dev] [JIRA] Created: (MGNLSTK-576) navigation: hierarchy is scrambled
navigation: hierarchy is scrambled -- Key: MGNLSTK-576 URL: http://jira.magnolia-cms.com/browse/MGNLSTK-576 Project: Magnolia Standard Templating Kit Issue Type: Bug Affects Versions: 1.3 M1 Reporter: Philipp Bärfuss Assignee: Philipp Bärfuss Fix For: 1.3 Attachments: Screen shot 2010-02-02 at 15.49.03.png -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.magnolia-cms.com/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira For list details see http://www.magnolia-cms.com/home/community/mailing-lists.html To unsubscribe, E-mail to: dev-list-unsubscr...@magnolia-cms.com
[magnolia-dev] [JIRA] Created: (MAGNOLIA-3054) ContentWrapper expects requires AbstractContent to work properly
ContentWrapper expects requires AbstractContent to work properly Key: MAGNOLIA-3054 URL: http://jira.magnolia-cms.com/browse/MAGNOLIA-3054 Project: Magnolia Issue Type: Improvement Components: core Affects Versions: 4.3 M1 Reporter: Jan Haderka Assignee: Philipp Bärfuss {{AbstractContent}} defines {code} abstract public NodeData getNodeData(String name, int type) throws AccessDeniedException, RepositoryException; {code} method that all extending classes need to implement and {{ContentWrapper}} implements this method as well, undiscriminatelly casting {{Content}} returned by {code} public Content getWrappedContent(); {code} method into {{AbstractContent}}. Since the content wrapper is used to wrap all sorts of content in Magnolia making it actually mandatory for all {{Content}} implementations to extend {{AbstractContent}} the abstract method above should be declared in the {{Content}} interface directly or the {{ContentWrapper}} init method should be changed to accept only objects extending {{AbstractContent}} rather then those implementing {{Content}}. For example the easymock objects created against {{Content}} interface obviously fail to be casted into {{AbstractContent}}. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.magnolia-cms.com/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira For list details see http://www.magnolia-cms.com/home/community/mailing-lists.html To unsubscribe, E-mail to: dev-list-unsubscr...@magnolia-cms.com
[magnolia-dev] [JIRA] Updated: (MAGNOLIA-3054) ContentWrapper requires AbstractContent to work properly
[ http://jira.magnolia-cms.com/browse/MAGNOLIA-3054?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jan Haderka updated MAGNOLIA-3054: -- Summary: ContentWrapper requires AbstractContent to work properly (was: ContentWrapper expects requires AbstractContent to work properly) ContentWrapper requires AbstractContent to work properly Key: MAGNOLIA-3054 URL: http://jira.magnolia-cms.com/browse/MAGNOLIA-3054 Project: Magnolia Issue Type: Improvement Components: core Affects Versions: 4.3 M1 Reporter: Jan Haderka Assignee: Philipp Bärfuss {{AbstractContent}} defines {code} abstract public NodeData getNodeData(String name, int type) throws AccessDeniedException, RepositoryException; {code} method that all extending classes need to implement and {{ContentWrapper}} implements this method as well, undiscriminatelly casting {{Content}} returned by {code} public Content getWrappedContent(); {code} method into {{AbstractContent}}. Since the content wrapper is used to wrap all sorts of content in Magnolia making it actually mandatory for all {{Content}} implementations to extend {{AbstractContent}} the abstract method above should be declared in the {{Content}} interface directly or the {{ContentWrapper}} init method should be changed to accept only objects extending {{AbstractContent}} rather then those implementing {{Content}}. For example the easymock objects created against {{Content}} interface obviously fail to be casted into {{AbstractContent}}. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.magnolia-cms.com/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira For list details see http://www.magnolia-cms.com/home/community/mailing-lists.html To unsubscribe, E-mail to: dev-list-unsubscr...@magnolia-cms.com
[magnolia-dev] [JIRA] Created: (MAGNOLIA-3055) Content2Bean should not try to lookup Transformer classes for primitive or array types
Content2Bean should not try to lookup Transformer classes for primitive or array types -- Key: MAGNOLIA-3055 URL: http://jira.magnolia-cms.com/browse/MAGNOLIA-3055 Project: Magnolia Issue Type: Improvement Components: core Reporter: Grégory Joseph Assignee: Grégory Joseph Fix For: 4.3 Currently, c2b's {{TypeMappingImpl}} is pretty naïve, and tries to lookup a Transformer by appending {{Transformer}} to the property's class name ({{beanClass.getName() + Transformer}}). This won't work for array or primitive types. {{[Lcom.foobar.MyClassNameTransformer;}} {{intTransformer}}. Additionally, this will fail miserably when attempting to load classes off the repository because of the [ character. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.magnolia-cms.com/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira For list details see http://www.magnolia-cms.com/home/community/mailing-lists.html To unsubscribe, E-mail to: dev-list-unsubscr...@magnolia-cms.com
[magnolia-dev] [JIRA] Commented: (MAGNOLIA-3055) Content2Bean should not try to lookup Transformer classes for primitive or array types
[ http://jira.magnolia-cms.com/browse/MAGNOLIA-3055?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=26315#action_26315 ] Hudson CI server commented on MAGNOLIA-3055: Integrated in !http://hudson.magnolia-cms.com/nocacheImages/16x16/blue.gif! [magnolia_main-trunk #1283|http://hudson.magnolia-cms.com/job/magnolia_main-trunk/1283/] MAGNOLIA-3055 do not attempt to lookup a Transformer class for primitive or array types Content2Bean should not try to lookup Transformer classes for primitive or array types -- Key: MAGNOLIA-3055 URL: http://jira.magnolia-cms.com/browse/MAGNOLIA-3055 Project: Magnolia Issue Type: Improvement Components: core Reporter: Grégory Joseph Assignee: Grégory Joseph Fix For: 4.3 Currently, c2b's {{TypeMappingImpl}} is pretty naïve, and tries to lookup a Transformer by appending {{Transformer}} to the property's class name ({{beanClass.getName() + Transformer}}). This won't work for array or primitive types. {{[Lcom.foobar.MyClassNameTransformer;}} {{intTransformer}}. Additionally, this will fail miserably when attempting to load classes off the repository because of the [ character. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.magnolia-cms.com/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira For list details see http://www.magnolia-cms.com/home/community/mailing-lists.html To unsubscribe, E-mail to: dev-list-unsubscr...@magnolia-cms.com
[magnolia-dev] [JIRA] Resolved: (MAGNOLIA-3055) Content2Bean should not try to lookup Transformer classes for primitive or array types
[ http://jira.magnolia-cms.com/browse/MAGNOLIA-3055?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Grégory Joseph resolved MAGNOLIA-3055. -- Resolution: Fixed Content2Bean should not try to lookup Transformer classes for primitive or array types -- Key: MAGNOLIA-3055 URL: http://jira.magnolia-cms.com/browse/MAGNOLIA-3055 Project: Magnolia Issue Type: Improvement Components: core Reporter: Grégory Joseph Assignee: Grégory Joseph Fix For: 4.3 Currently, c2b's {{TypeMappingImpl}} is pretty naïve, and tries to lookup a Transformer by appending {{Transformer}} to the property's class name ({{beanClass.getName() + Transformer}}). This won't work for array or primitive types. {{[Lcom.foobar.MyClassNameTransformer;}} {{intTransformer}}. Additionally, this will fail miserably when attempting to load classes off the repository because of the [ character. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.magnolia-cms.com/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira For list details see http://www.magnolia-cms.com/home/community/mailing-lists.html To unsubscribe, E-mail to: dev-list-unsubscr...@magnolia-cms.com
[magnolia-dev] [JIRA] Resolved: (MAGNOLIA-3056) ObservedComponentFactory (ex FactoryUtil$ObservedObjectFactory) always starts observing on the config repository
[ http://jira.magnolia-cms.com/browse/MAGNOLIA-3056?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Grégory Joseph resolved MAGNOLIA-3056. -- Resolution: Fixed ObservedComponentFactory (ex FactoryUtil$ObservedObjectFactory) always starts observing on the config repository Key: MAGNOLIA-3056 URL: http://jira.magnolia-cms.com/browse/MAGNOLIA-3056 Project: Magnolia Issue Type: Bug Components: core Affects Versions: 4.1.4, 4.2.3, 4.3 M1 Reporter: Grégory Joseph Assignee: Grégory Joseph Fix For: 4.3 While the properties configuration allows us to configure a component elsewhere than on the {{config}} repository, the observation is always started on {{config}}, no matter where the node/component was loaded from. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.magnolia-cms.com/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira For list details see http://www.magnolia-cms.com/home/community/mailing-lists.html To unsubscribe, E-mail to: dev-list-unsubscr...@magnolia-cms.com
[magnolia-dev] [JIRA] Updated: (MAGNOLIA-3056) ObservedComponentFactory (ex FactoryUtil$ObservedObjectFactory) always starts observing on the config repository
[ http://jira.magnolia-cms.com/browse/MAGNOLIA-3056?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Grégory Joseph updated MAGNOLIA-3056: - Affects Version/s: 4.3 M1 4.2.3 4.1.4 ObservedComponentFactory (ex FactoryUtil$ObservedObjectFactory) always starts observing on the config repository Key: MAGNOLIA-3056 URL: http://jira.magnolia-cms.com/browse/MAGNOLIA-3056 Project: Magnolia Issue Type: Bug Components: core Affects Versions: 4.1.4, 4.2.3, 4.3 M1 Reporter: Grégory Joseph Assignee: Grégory Joseph Fix For: 4.3 While the properties configuration allows us to configure a component elsewhere than on the {{config}} repository, the observation is always started on {{config}}, no matter where the node/component was loaded from. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.magnolia-cms.com/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira For list details see http://www.magnolia-cms.com/home/community/mailing-lists.html To unsubscribe, E-mail to: dev-list-unsubscr...@magnolia-cms.com
[magnolia-dev] [JIRA] Created: (MAGNOLIA-3056) ObservedComponentFactory (ex FactoryUtil$ObservedObjectFactory) always starts observing on the config repository
ObservedComponentFactory (ex FactoryUtil$ObservedObjectFactory) always starts observing on the config repository Key: MAGNOLIA-3056 URL: http://jira.magnolia-cms.com/browse/MAGNOLIA-3056 Project: Magnolia Issue Type: Bug Components: core Reporter: Grégory Joseph Assignee: Grégory Joseph Fix For: 4.3 While the properties configuration allows us to configure a component elsewhere than on the {{config}} repository, the observation is always started on {{config}}, no matter where the node/component was loaded from. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.magnolia-cms.com/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira For list details see http://www.magnolia-cms.com/home/community/mailing-lists.html To unsubscribe, E-mail to: dev-list-unsubscr...@magnolia-cms.com
[magnolia-dev] [JIRA] Commented: (MAGNOLIA-3056) ObservedComponentFactory (ex FactoryUtil$ObservedObjectFactory) always starts observing on the config repository
[ http://jira.magnolia-cms.com/browse/MAGNOLIA-3056?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=26317#action_26317 ] Hudson CI server commented on MAGNOLIA-3056: Integrated in !http://hudson.magnolia-cms.com/nocacheImages/16x16/blue.gif! [magnolia_main-trunk #1284|http://hudson.magnolia-cms.com/job/magnolia_main-trunk/1284/] MAGNOLIA-3056 start observing on the same repository that was used to load the node/component ObservedComponentFactory (ex FactoryUtil$ObservedObjectFactory) always starts observing on the config repository Key: MAGNOLIA-3056 URL: http://jira.magnolia-cms.com/browse/MAGNOLIA-3056 Project: Magnolia Issue Type: Bug Components: core Affects Versions: 4.1.4, 4.2.3, 4.3 M1 Reporter: Grégory Joseph Assignee: Grégory Joseph Fix For: 4.3 While the properties configuration allows us to configure a component elsewhere than on the {{config}} repository, the observation is always started on {{config}}, no matter where the node/component was loaded from. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.magnolia-cms.com/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira For list details see http://www.magnolia-cms.com/home/community/mailing-lists.html To unsubscribe, E-mail to: dev-list-unsubscr...@magnolia-cms.com
[magnolia-dev] [JIRA] Commented: (MAGNOLIA-3012) Replace usages of FactoryUtil/ClassUtil
[ http://jira.magnolia-cms.com/browse/MAGNOLIA-3012?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=26319#action_26319 ] Hudson CI server commented on MAGNOLIA-3012: Integrated in !http://hudson.magnolia-cms.com/nocacheImages/16x16/blue.gif! [magnolia_main-trunk #1285|http://hudson.magnolia-cms.com/job/magnolia_main-trunk/1285/] MAGNOLIA-3001 / MAGNOLIA-3012 moved FactoryUtilTest to DefaultComponentProviderTest and ComponentsTestUtilTest Replace usages of FactoryUtil/ClassUtil --- Key: MAGNOLIA-3012 URL: http://jira.magnolia-cms.com/browse/MAGNOLIA-3012 Project: Magnolia Issue Type: Sub-task Components: core Reporter: Grégory Joseph Assignee: Grégory Joseph Fix For: 4.3 -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.magnolia-cms.com/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira For list details see http://www.magnolia-cms.com/home/community/mailing-lists.html To unsubscribe, E-mail to: dev-list-unsubscr...@magnolia-cms.com
[magnolia-dev] [JIRA] Commented: (MAGNOLIA-3001) FactoryUtil/ClassUtil refactorings
[ http://jira.magnolia-cms.com/browse/MAGNOLIA-3001?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=26318#action_26318 ] Hudson CI server commented on MAGNOLIA-3001: Integrated in !http://hudson.magnolia-cms.com/nocacheImages/16x16/blue.gif! [magnolia_main-trunk #1285|http://hudson.magnolia-cms.com/job/magnolia_main-trunk/1285/] MAGNOLIA-3001 / MAGNOLIA-3012 moved FactoryUtilTest to DefaultComponentProviderTest and ComponentsTestUtilTest FactoryUtil/ClassUtil refactorings -- Key: MAGNOLIA-3001 URL: http://jira.magnolia-cms.com/browse/MAGNOLIA-3001 Project: Magnolia Issue Type: New Feature Components: core Reporter: Grégory Joseph Assignee: Grégory Joseph Fix For: 4.3 * Move these and related classes to their specific package * Extract inner classes to the package * ... -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.magnolia-cms.com/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira For list details see http://www.magnolia-cms.com/home/community/mailing-lists.html To unsubscribe, E-mail to: dev-list-unsubscr...@magnolia-cms.com
[magnolia-dev] [JIRA] Updated: (MGNLSTK-557) Demo content: No dummy events for 2010
[ http://jira.magnolia-cms.com/browse/MGNLSTK-557?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Federico Grilli updated MGNLSTK-557: Fix Version/s: 1.2.3 (was: 1.2.x) set actual fix version Demo content: No dummy events for 2010 -- Key: MGNLSTK-557 URL: http://jira.magnolia-cms.com/browse/MGNLSTK-557 Project: Magnolia Standard Templating Kit Issue Type: Bug Components: demoproject Affects Versions: 1.2.1 Reporter: Christian Ringele Assignee: Federico Grilli Fix For: 1.2.3 Attachments: website.demo-project.service.dummy-events.xml All dummy events in the demo content are events of the year 2009. The events are located under: demo-project/service/dummy-events/ These events should be updated to 2010. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.magnolia-cms.com/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira For list details see http://www.magnolia-cms.com/home/community/mailing-lists.html To unsubscribe, E-mail to: dev-list-unsubscr...@magnolia-cms.com
[magnolia-dev] [JIRA] Commented: (MAGNOLIA-2994) content2bean: add support for configuration inheritance
[ http://jira.magnolia-cms.com/browse/MAGNOLIA-2994?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=26321#action_26321 ] Hudson CI server commented on MAGNOLIA-2994: Integrated in !http://hudson.magnolia-cms.com/nocacheImages/16x16/blue.gif! [magnolia_main-trunk #1286|http://hudson.magnolia-cms.com/job/magnolia_main-trunk/1286/] MAGNOLIA-2994: ensure that the returned node data collection is merged properly content2bean: add support for configuration inheritance --- Key: MAGNOLIA-2994 URL: http://jira.magnolia-cms.com/browse/MAGNOLIA-2994 Project: Magnolia Issue Type: New Feature Components: core Reporter: Philipp Bärfuss Assignee: Philipp Bärfuss Fix For: 4.3 M1 Idea: A configuration can have a 'extends' property defining a path (absolute or relative) to an other configuration node which he wants to extend. Implementation: A content wrapper similar to the ones used for inheritance or i18n will combine the configuration and expose the merged content to content2bean transparently or potentially also to other mechanism as like the dialog manager. It will potentially also be a successor of the 'reference' property used to define dialogs. Note: this is a bit different from what we do in STK for merging the template and template-prototype. There we merge the already instantiated beans. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.magnolia-cms.com/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira For list details see http://www.magnolia-cms.com/home/community/mailing-lists.html To unsubscribe, E-mail to: dev-list-unsubscr...@magnolia-cms.com
[magnolia-dev] [JIRA] Commented: (MAGNOLIA-3001) FactoryUtil/ClassUtil refactorings
[ http://jira.magnolia-cms.com/browse/MAGNOLIA-3001?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=26322#action_26322 ] Hudson CI server commented on MAGNOLIA-3001: Integrated in !http://hudson.magnolia-cms.com/nocacheImages/16x16/blue.gif! [magnolia_main-trunk #1287|http://hudson.magnolia-cms.com/job/magnolia_main-trunk/1287/] MAGNOLIA-3001 MAGNOLIA-3012 javadoc'd, simplified ComponentsTestUtil, removed redundant set* methods FactoryUtil/ClassUtil refactorings -- Key: MAGNOLIA-3001 URL: http://jira.magnolia-cms.com/browse/MAGNOLIA-3001 Project: Magnolia Issue Type: New Feature Components: core Reporter: Grégory Joseph Assignee: Grégory Joseph Fix For: 4.3 * Move these and related classes to their specific package * Extract inner classes to the package * ... -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.magnolia-cms.com/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira For list details see http://www.magnolia-cms.com/home/community/mailing-lists.html To unsubscribe, E-mail to: dev-list-unsubscr...@magnolia-cms.com
[magnolia-dev] [JIRA] Commented: (MAGNOLIA-3012) Replace usages of FactoryUtil/ClassUtil
[ http://jira.magnolia-cms.com/browse/MAGNOLIA-3012?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=26323#action_26323 ] Hudson CI server commented on MAGNOLIA-3012: Integrated in !http://hudson.magnolia-cms.com/nocacheImages/16x16/blue.gif! [magnolia_main-trunk #1287|http://hudson.magnolia-cms.com/job/magnolia_main-trunk/1287/] MAGNOLIA-3001 MAGNOLIA-3012 javadoc'd, simplified ComponentsTestUtil, removed redundant set* methods Replace usages of FactoryUtil/ClassUtil --- Key: MAGNOLIA-3012 URL: http://jira.magnolia-cms.com/browse/MAGNOLIA-3012 Project: Magnolia Issue Type: Sub-task Components: core Reporter: Grégory Joseph Assignee: Grégory Joseph Fix For: 4.3 -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.magnolia-cms.com/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira For list details see http://www.magnolia-cms.com/home/community/mailing-lists.html To unsubscribe, E-mail to: dev-list-unsubscr...@magnolia-cms.com
[magnolia-dev] [JIRA] Resolved: (MAGNOLIA-3012) Replace usages of FactoryUtil/ClassUtil
[ http://jira.magnolia-cms.com/browse/MAGNOLIA-3012?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Grégory Joseph resolved MAGNOLIA-3012. -- Resolution: Fixed Replace usages of FactoryUtil/ClassUtil --- Key: MAGNOLIA-3012 URL: http://jira.magnolia-cms.com/browse/MAGNOLIA-3012 Project: Magnolia Issue Type: Sub-task Components: core Reporter: Grégory Joseph Assignee: Grégory Joseph Fix For: 4.3 -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.magnolia-cms.com/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira For list details see http://www.magnolia-cms.com/home/community/mailing-lists.html To unsubscribe, E-mail to: dev-list-unsubscr...@magnolia-cms.com
[magnolia-dev] [JIRA] Resolved: (MAGNOLIA-3001) FactoryUtil/ClassUtil refactorings
[ http://jira.magnolia-cms.com/browse/MAGNOLIA-3001?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Grégory Joseph resolved MAGNOLIA-3001. -- Resolution: Fixed FactoryUtil/ClassUtil refactorings -- Key: MAGNOLIA-3001 URL: http://jira.magnolia-cms.com/browse/MAGNOLIA-3001 Project: Magnolia Issue Type: New Feature Components: core Reporter: Grégory Joseph Assignee: Grégory Joseph Fix For: 4.3 * Move these and related classes to their specific package * Extract inner classes to the package * ... -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.magnolia-cms.com/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira For list details see http://www.magnolia-cms.com/home/community/mailing-lists.html To unsubscribe, E-mail to: dev-list-unsubscr...@magnolia-cms.com
[magnolia-dev] [JIRA] Commented: (MAGNOLIA-3002) Swappable ClassUtil (ClassFactory)
[ http://jira.magnolia-cms.com/browse/MAGNOLIA-3002?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=26324#action_26324 ] Hudson CI server commented on MAGNOLIA-3002: Integrated in !http://hudson.magnolia-cms.com/nocacheImages/16x16/blue.gif! [magnolia_main-trunk #1289|http://hudson.magnolia-cms.com/job/magnolia_main-trunk/1289/] MAGNOLIA-3002 javadoc for internal ClassFactoryProvider, renamed variables for clarity Swappable ClassUtil (ClassFactory) -- Key: MAGNOLIA-3002 URL: http://jira.magnolia-cms.com/browse/MAGNOLIA-3002 Project: Magnolia Issue Type: New Feature Components: core Reporter: Grégory Joseph Assignee: Grégory Joseph Fix For: 4.3 Modules need to be able to provide customized class loading mechanisms (Groovy integration for instance, but also modules that fix certain containers' class loading specifities, etc) This is strongly linked to MAGNOLIA-3001, as it will provide some refactoring of the impacted classes ({{ClassUtil}}, {{ClasspathResourcesUtil}}, {{FactoryUtil}}, ...) -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.magnolia-cms.com/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira For list details see http://www.magnolia-cms.com/home/community/mailing-lists.html To unsubscribe, E-mail to: dev-list-unsubscr...@magnolia-cms.com
[magnolia-dev] [JIRA] Resolved: (MAGNOLIA-3002) Swappable ClassUtil (ClassFactory)
[ http://jira.magnolia-cms.com/browse/MAGNOLIA-3002?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Grégory Joseph resolved MAGNOLIA-3002. -- Resolution: Fixed ClassFactory can now be swapped at runtime; if the property {{info.magnolia.objectfactory.ClassFactory}} is set, it will be used. The implementation hides some nasty details - such as the fact that when starting the system up, {{Classes}}/{{ClassFactory}}/{{Components}}/{{ComponentProvider}} is immediately being used, *before* we get a chance to register all properties (i.e before we can determine that we want to use a custom {{ClassFactory}}) - so it essentially checks for each call. See code/javadoc/comments for more details. Swappable ClassUtil (ClassFactory) -- Key: MAGNOLIA-3002 URL: http://jira.magnolia-cms.com/browse/MAGNOLIA-3002 Project: Magnolia Issue Type: New Feature Components: core Reporter: Grégory Joseph Assignee: Grégory Joseph Fix For: 4.3 Modules need to be able to provide customized class loading mechanisms (Groovy integration for instance, but also modules that fix certain containers' class loading specifities, etc) This is strongly linked to MAGNOLIA-3001, as it will provide some refactoring of the impacted classes ({{ClassUtil}}, {{ClasspathResourcesUtil}}, {{FactoryUtil}}, ...) -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.magnolia-cms.com/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira For list details see http://www.magnolia-cms.com/home/community/mailing-lists.html To unsubscribe, E-mail to: dev-list-unsubscr...@magnolia-cms.com
[magnolia-dev] [JIRA] Resolved: (MAGNOLIA-2991) Trim onclick events in Navigation menu of admininterface
[ http://jira.magnolia-cms.com/browse/MAGNOLIA-2991?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Grégory Joseph resolved MAGNOLIA-2991. -- Resolution: Fixed Trim onclick events in Navigation menu of admininterface Key: MAGNOLIA-2991 URL: http://jira.magnolia-cms.com/browse/MAGNOLIA-2991 Project: Magnolia Issue Type: Improvement Components: admininterface, gui Reporter: Grégory Joseph Assignee: Grégory Joseph Priority: Trivial Fix For: 4.3 If a menu item accidentally has a new line at the end of its onclick property, javascript errors can be caused; this can easily happen when reformating bootstrap file. As an easy and simple fix, we could trim those strings when generating the javascript of the menu. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.magnolia-cms.com/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira For list details see http://www.magnolia-cms.com/home/community/mailing-lists.html To unsubscribe, E-mail to: dev-list-unsubscr...@magnolia-cms.com
[magnolia-dev] [JIRA] Updated: (MAGNOLIA-2991) Trim onclick events in Navigation menu of admininterface
[ http://jira.magnolia-cms.com/browse/MAGNOLIA-2991?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Grégory Joseph updated MAGNOLIA-2991: - Description: If a menu item accidentally has a new line at the end of its onclick property, javascript errors can be caused; this can easily happen when reformating bootstrap file. As an easy and simple fix, we could trim those strings when generating the javascript of the menu. was: If a menu item accidentally has a new line at the end of its onclick property, javascript errors can be caused; this can easily happen when reformating bootstrap file. As an easy and simple fix, we could trim those strings when generating the javascript of the menu. (a better fix would be to support those new lines, should they be needed) Trim onclick events in Navigation menu of admininterface Key: MAGNOLIA-2991 URL: http://jira.magnolia-cms.com/browse/MAGNOLIA-2991 Project: Magnolia Issue Type: Improvement Components: admininterface, gui Reporter: Grégory Joseph Assignee: Grégory Joseph Priority: Trivial Fix For: 4.3 M1 If a menu item accidentally has a new line at the end of its onclick property, javascript errors can be caused; this can easily happen when reformating bootstrap file. As an easy and simple fix, we could trim those strings when generating the javascript of the menu. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.magnolia-cms.com/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira For list details see http://www.magnolia-cms.com/home/community/mailing-lists.html To unsubscribe, E-mail to: dev-list-unsubscr...@magnolia-cms.com
[magnolia-dev] [JIRA] Updated: (MAGNOLIA-2991) Trim onclick events in Navigation menu of admininterface
[ http://jira.magnolia-cms.com/browse/MAGNOLIA-2991?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Grégory Joseph updated MAGNOLIA-2991: - Fix Version/s: 4.3 M1 (was: 4.3) Trim onclick events in Navigation menu of admininterface Key: MAGNOLIA-2991 URL: http://jira.magnolia-cms.com/browse/MAGNOLIA-2991 Project: Magnolia Issue Type: Improvement Components: admininterface, gui Reporter: Grégory Joseph Assignee: Grégory Joseph Priority: Trivial Fix For: 4.3 M1 If a menu item accidentally has a new line at the end of its onclick property, javascript errors can be caused; this can easily happen when reformating bootstrap file. As an easy and simple fix, we could trim those strings when generating the javascript of the menu. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.magnolia-cms.com/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira For list details see http://www.magnolia-cms.com/home/community/mailing-lists.html To unsubscribe, E-mail to: dev-list-unsubscr...@magnolia-cms.com
[magnolia-dev] [JIRA] Updated: (MAGNOLIA-3052) NPE in InheritanceContentWrapper
[ http://jira.magnolia-cms.com/browse/MAGNOLIA-3052?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Grégory Joseph updated MAGNOLIA-3052: - Fix Version/s: 4.3 NPE in InheritanceContentWrapper Key: MAGNOLIA-3052 URL: http://jira.magnolia-cms.com/browse/MAGNOLIA-3052 Project: Magnolia Issue Type: Bug Components: core Affects Versions: 4.3 M1 Reporter: Jan Haderka Assignee: Philipp Bärfuss Fix For: 4.3 Attachments: InheritanceContentWrapperTest.patch {{findAnchor()}} can return {{null}} and {{resolveInnerPath()}} doesn't expect that - see the attached test. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.magnolia-cms.com/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira For list details see http://www.magnolia-cms.com/home/community/mailing-lists.html To unsubscribe, E-mail to: dev-list-unsubscr...@magnolia-cms.com
[magnolia-dev] [JIRA] Commented: (MAGNOLIA-3035) Multivalue properties with one value become single value properties after xml export - import
[ http://jira.magnolia-cms.com/browse/MAGNOLIA-3035?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=26328#action_26328 ] Grégory Joseph commented on MAGNOLIA-3035: -- http://n4.nabble.com/Preserve-multi-value-properties-td1126162.html Multivalue properties with one value become single value properties after xml export - import --- Key: MAGNOLIA-3035 URL: http://jira.magnolia-cms.com/browse/MAGNOLIA-3035 Project: Magnolia Issue Type: Bug Components: core Affects Versions: 4.2.3 Reporter: Ernst Bunders Assignee: Philipp Bärfuss I found this working with (stk) categorization. A page that can have categories store uuid's to category nodes in the data workspace as a multi value property. When you set only one category an array of one javax.jcr.Value instances will be set, and it will be a multi value property non the less. You can come back to it later and add more values. But if you export this page to xml, it will be serialized as something like this: sv:property sv:name=categories sv:type=String sv:valued7ba9d64-b7b8-4b93-8a3d-ecd14a049bb8/sv:value /sv:property This is exactly the way a single value property is stored. So when you reimport the xml, a single value property is created for this value. When you try to add a value to it, you get: 2010-01-26 13:56:53,893 ERROR nfo.magnolia.module.admininterface.SaveHandlerImpl: Single-valued property can not be set to an array of values: javax.jcr.ValueFormatException: Single-valued property can not be set to an array of values:property /tegenlicht/nieuws/2010/januari/wie-is-wi at org.apache.jackrabbit.core.PropertyImpl.checkSetValue(PropertyImpl.java:244) at org.apache.jackrabbit.core.PropertyImpl.setValue(PropertyImpl.java:646) at org.apache.jackrabbit.core.PropertyImpl.setValue(PropertyImpl.java:629) at info.magnolia.cms.core.DefaultNodeData.setValue(DefaultNodeData.java:504) at info.magnolia.cms.core.DefaultContent.setNodeData(DefaultContent.java:351) at info.magnolia.cms.util.NodeDataUtil.getOrCreateAndSet(NodeDataUtil.java:392) ... When you add more than one value before you export it to xml it works ok. The importer finds multiple values, and creates a multi value property accordingly. This seems more of a jackrabbit, or even a specification bug, but perhaps it can be somehow cought in magnolia? -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.magnolia-cms.com/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira For list details see http://www.magnolia-cms.com/home/community/mailing-lists.html To unsubscribe, E-mail to: dev-list-unsubscr...@magnolia-cms.com
[magnolia-dev] [JIRA] Updated: (MAGNOLIA-3054) ContentWrapper requires AbstractContent to work properly
[ http://jira.magnolia-cms.com/browse/MAGNOLIA-3054?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Grégory Joseph updated MAGNOLIA-3054: - Fix Version/s: 4.3 We should come to a conclusion about this for 4.3 ContentWrapper requires AbstractContent to work properly Key: MAGNOLIA-3054 URL: http://jira.magnolia-cms.com/browse/MAGNOLIA-3054 Project: Magnolia Issue Type: Improvement Components: core Affects Versions: 4.3 M1 Reporter: Jan Haderka Assignee: Philipp Bärfuss Fix For: 4.3 {{AbstractContent}} defines {code} abstract public NodeData getNodeData(String name, int type) throws AccessDeniedException, RepositoryException; {code} method that all extending classes need to implement and {{ContentWrapper}} implements this method as well, undiscriminatelly casting {{Content}} returned by {code} public Content getWrappedContent(); {code} method into {{AbstractContent}}. Since the content wrapper is used to wrap all sorts of content in Magnolia making it actually mandatory for all {{Content}} implementations to extend {{AbstractContent}} the abstract method above should be declared in the {{Content}} interface directly or the {{ContentWrapper}} init method should be changed to accept only objects extending {{AbstractContent}} rather then those implementing {{Content}}. For example the easymock objects created against {{Content}} interface obviously fail to be casted into {{AbstractContent}}. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.magnolia-cms.com/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira For list details see http://www.magnolia-cms.com/home/community/mailing-lists.html To unsubscribe, E-mail to: dev-list-unsubscr...@magnolia-cms.com
[magnolia-dev] [JIRA] Updated: (MAGNOLIA-3040) Remove ACL references to itself for a few roles
[ http://jira.magnolia-cms.com/browse/MAGNOLIA-3040?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Grégory Joseph updated MAGNOLIA-3040: - Fix Version/s: 4.3 Remove ACL references to itself for a few roles --- Key: MAGNOLIA-3040 URL: http://jira.magnolia-cms.com/browse/MAGNOLIA-3040 Project: Magnolia Issue Type: Bug Affects Versions: 4.2.3 Reporter: Zdenek Skodik Assignee: Boris Kraft Priority: Minor Fix For: 4.3 The following roles have read access permissions to itself in {{userroles}} workspace which seems to me useless: * resources-base * templater-base * workflow-base -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.magnolia-cms.com/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira For list details see http://www.magnolia-cms.com/home/community/mailing-lists.html To unsubscribe, E-mail to: dev-list-unsubscr...@magnolia-cms.com