]> git.mxchange.org Git - pizzaservice-ejb.git/commitdiff
Please cherry-pick:
authorRoland Häder <roland@mxchange.org>
Sun, 9 Jul 2017 08:35:33 +0000 (10:35 +0200)
committerRoland Häder <roland@mxchange.org>
Sun, 9 Jul 2017 08:44:52 +0000 (10:44 +0200)
- returned managed instance so the web controller (backing bean in your web
  application) can continue to use it (mostly fire an event)

Signed-off-by: Roland Häder <roland@mxchange.org>
nbproject/build-impl.xml
src/java/org/mxchange/jusercore/model/user/resendlink/PizzaResendLinkSessionBean.java

index 68097ec256cd74f5507499268ff10c8b4a9031a9..874cfff5e10a5aa0e550cb4923be4b31f1e49911 100644 (file)
@@ -918,8 +918,8 @@ exists or setup the property manually. For example like this:
             <attribute name="jar-20-Extension-Name" value="${manifest.libs.GNU_JPDF_1.7.0.classpath}"/>
             <attribute name="jar-21-Extension-Name" value="${manifest.reference.pizzaservice-core.jar}"/>
             <attribute name="jar-22-Extension-Name" value="${manifest.reference.pizzaservice-lib.jar}"/>
-            <attribute name="jar-23-Extension-Name" value="${manifest.reference.pizzaservice-mailer-jar.jar}"/>
-            <attribute name="jar-17-Extension-Name" value="${manifest.file.reference.cdi-api.jar}"/>
+            <attribute name="jar-23-Extension-Name" value="${manifest.reference.pizzaservice-mailer-lib.jar}"/>
+            <attribute name="jar-24-Extension-Name" value="${manifest.file.reference.cdi-api.jar}"/>
         </manifest>
     </target>
     <target depends="compile" name="library-inclusion-in-manifest">
index 82c21a6bbd652755ea055fe511c6edc0f60c73b1..d2290d45535c776e0d3cda54c4d5168da7b83e29 100644 (file)
@@ -64,7 +64,7 @@ public class PizzaResendLinkSessionBean extends BasePizzaDatabaseBean implements
        }
 
        @Override
-       public void resendConfirmationLink (final User user, final Locale locale, final String baseUrl) throws UserNotFoundException, UserStatusConfirmedException, UserStatusLockedException {
+       public User resendConfirmationLink (final User user, final Locale locale, final String baseUrl) throws UserNotFoundException, UserStatusConfirmedException, UserStatusLockedException {
                // Log trace message
                this.getLoggerBeanLocal().logTrace(MessageFormat.format("{0}.resendConfirmationLink: user={1},locale={2},baseUrl={3} - CALLED!", this.getClass().getSimpleName(), user, locale, baseUrl)); //NOI18N
 
@@ -109,7 +109,10 @@ public class PizzaResendLinkSessionBean extends BasePizzaDatabaseBean implements
                this.sendEmail("Resend user confirmation link", "user_resend_confirmation_link",  user, baseUrl, null); //NOI18N
 
                // Log trace message
-               this.getLoggerBeanLocal().logTrace(MessageFormat.format("{0}.resendConfirmationLink: EXIT!", this.getClass().getSimpleName())); //NOI18N
+               this.getLoggerBeanLocal().logTrace(MessageFormat.format("{0}.resendConfirmationLink: managedUser={1} - EXIT!", this.getClass().getSimpleName(), managedUser)); //NOI18N
+
+               // Return updated instance
+               return managedUser;
        }
 
 }