Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
Codecrew
/
Moya
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
30
Merge Requests
2
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 68d2ed64
authored
Jun 05, 2022
by
Juho Juopperi
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'userid_bug' into 'master'
bugin paikannus See merge request
!436
2 parents
d99b8b82
b0bce5e7
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
4 deletions
code/moya-beans/ejbModule/fi/codecrew/moya/beans/CardTemplateBean.java
code/moya-web/src/main/java/fi/codecrew/moya/web/flow/IncomingView.java
code/pom.xml
code/moya-beans/ejbModule/fi/codecrew/moya/beans/CardTemplateBean.java
View file @
68d2ed6
...
...
@@ -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
);
...
...
code/moya-web/src/main/java/fi/codecrew/moya/web/flow/IncomingView.java
View file @
68d2ed6
...
...
@@ -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
().
get
User
().
get
Id
());
userview
.
setUser
(
null
);
// refresh user
userview
.
setPrintedCard
(
null
);
// refresh card
...
...
code/pom.xml
View file @
68d2ed6
...
...
@@ -96,7 +96,7 @@
<repositories>
<repository>
<id>
iudex
</id>
<url>
http://iudex.fi/maven/
</url>
<url>
http
s
://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>
http
s
://repository.apache.org/snapshots/
</url>
</repository>
<repository>
<id>
clojars.org
</id>
<url>
http://clojars.org/repo
</url>
<url>
http
s
://clojars.org/repo
</url>
</repository>
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment