1 Reply Latest reply on Oct 8, 2006 8:50 PM by Roy Russo

    Email verification not working

    Jean-François El Fouly Newbie

      In portal-core.war/WEB-INF/portlet.xml I changed the subscriptionMode parameter from automatic to emailVerification (I have the feeling it worked in JBoss Portal 2.0 but I may be wrong).
      I tested the functionality and got an error 500 page with a stack trace:

      2006-10-08 20:19:42,656 ERROR [org.jboss.portal.core.portlet.user.UserPortlet] The portlet threw an exception
      java.lang.NullPointerException
       at org.jboss.portal.core.portlet.user.UserPortlet.generateValidationEmail(UserPortlet.java:936)
       at org.jboss.portal.core.portlet.user.UserPortlet.userRegister(UserPortlet.java:624)
      


      I had a look at the code at this place. There is a TODO that makes me think it is not meant to work in this version. Can someone confirm ?
      I'll revert to automatic subscription but... I don't like that too much.