[magnolia-dev] [JIRA] Reopened: (MGNLSTK-533) pur integration in templating kit breaks with external users.

2010-04-21 Thread JIRA (on behalf of Teresa Miyar)


 [ 
http://jira.magnolia-cms.com/browse/MGNLSTK-533?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Teresa Miyar reopened MGNLSTK-533:
--


Seems is not fixed for 4.3.1, stk 1.3, problem reported by rtr

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...@1db2f57
The problematic instruction:
== assignment: userFullName=ctx.user.getProperty(title)!userName [on line 4, 
column 1 in templating-kit/paragraphs/pur/link.ftl]

 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.2, 1.2.3, 1.3

 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] [JIRA] Reopened: (MGNLSTK-533) pur integration in templating kit breaks with external users.

2010-01-29 Thread on behalf of Grégory Joseph


 [ 
http://jira.magnolia-cms.com/browse/MGNLSTK-533?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Grégory Joseph reopened MGNLSTK-533:



We need to re-fix this. Updates will work (update task will add the 
modelClass), but fresh install will break! (we forgot to update the bootstrap 
file!)

 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.2, 1.3

 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