User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.31 (KHTML, like Gecko) Chrome/26.0.1410.63 Safari/537.31 Build Identifier: Access {server}/help/contact_admin directly without signing in will trigger an exception. Caused by: org.jboss.seam.RequiredException: @In attribute requires non-null value: sendEmail.org.jboss.seam.security.management.authenticatedUser at org.jboss.seam.Component.getValueToInject(Component.java:2400) [jboss-seam-2.3.1.Final.jar:2.3.1.Final] at org.jboss.seam.Component.injectAttributes(Component.java:1743) [jboss-seam-2.3.1.Final.jar:2.3.1.Final] at org.jboss.seam.Component.inject(Component.java:1561) [jboss-seam-2.3.1.Final.jar:2.3.1.Final] at org.jboss.seam.core.BijectionInterceptor.aroundInvoke(BijectionInterceptor.java:63) [jboss-seam-2.3.1.Final.jar:2.3.1.Final] at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68) [jboss-seam-2.3.1.Final.jar:2.3.1.Final] at org.jboss.seam.core.MethodContextInterceptor.aroundInvoke(MethodContextInterceptor.java:44) [jboss-seam-2.3.1.Final.jar:2.3.1.Final] at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68) [jboss-seam-2.3.1.Final.jar:2.3.1.Final] at org.jboss.seam.core.SynchronizationInterceptor.aroundInvoke(SynchronizationInterceptor.java:35) [jboss-seam-2.3.1.Final.jar:2.3.1.Final] at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68) [jboss-seam-2.3.1.Final.jar:2.3.1.Final] at org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:107) [jboss-seam-2.3.1.Final.jar:2.3.1.Final] at org.jboss.seam.intercept.JavaBeanInterceptor.interceptInvocation(JavaBeanInterceptor.java:196) [jboss-seam-2.3.1.Final.jar:2.3.1.Final] at org.jboss.seam.intercept.JavaBeanInterceptor.invoke(JavaBeanInterceptor.java:114) [jboss-seam-2.3.1.Final.jar:2.3.1.Final] at org.zanata.action.SendEmailAction_$$_javassist_seam_48.setEmailType(SendEmailAction_$$_javassist_seam_48.java) [classes:] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.7.0_25] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) [rt.jar:1.7.0_25] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.7.0_25] at java.lang.reflect.Method.invoke(Method.java:606) [rt.jar:1.7.0_25] at javax.el.BeanELResolver.setValue(BeanELResolver.java:381) [jboss-el-api_2.2_spec-1.0.2.Final.jar:1.0.2.Final] ... 61 more Reproducible: Always Steps to Reproduce: 1. Make sure you are logged out from a zanata instance 2. Access {server}/help/contact_admin Actual Results: Exception Expected Results: Redirect to sign in page. Once signed in redirect back to contact admin page.
Or allow non users to contact the admin - which I don't know is favourable or not.
https://github.com/zanata/zanata-server/pull/639
Merge verified