Commit b0bce5e7 by Tuukka Kivilahti

bugin paikannus

1 parent d99b8b82
......@@ -163,9 +163,13 @@ public class CardTemplateBean implements CardTemplateBeanLocal {
public PrintedCard checkPrintedCard(EventUser user) {
logger.info("Checking printed card");
if (user == null)
return null;
user = eventUserFacade.reload(user);
if (user == null)
return null;
LanEvent currEvent = eventBean.getCurrentEvent();
List<PrintedCard> myCards = printedcardfacade.getCards(user);
......
......@@ -197,7 +197,7 @@ public class IncomingView extends GenericCDIView {
showAttachDialog = false;
// refresh all shit, purkkaa!!
super.navihandler.redirectNavigation("incoming.jsf?userid=" + userview.getUser().getId());
super.navihandler.redirectNavigation("incoming.jsf?userid=" + userview.getUser().getUser().getId());
userview.setUser(null); // refresh user
userview.setPrintedCard(null); // refresh card
......
......@@ -96,7 +96,7 @@
<repositories>
<repository>
<id>iudex</id>
<url>http://iudex.fi/maven/</url>
<url>https://iudex.fi/maven/</url>
</repository>
<repository>
<id>jvnet-nexus-releases</id>
......@@ -110,11 +110,11 @@
</repository>
<repository>
<id>apache.snapshots</id>
<url>http://repository.apache.org/snapshots/</url>
<url>https://repository.apache.org/snapshots/</url>
</repository>
<repository>
<id>clojars.org</id>
<url>http://clojars.org/repo</url>
<url>https://clojars.org/repo</url>
</repository>
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!