Toggle navigation
Toggle navigation
This project
Loading...
Sign in
grogv3
/
grog-cubi
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
Jean-Francois Leveque
2016-11-21 12:00:40 +0100
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
eeb563b7ebb7a5db5dc198796bfc74d5a3fe5939
eeb563b7
1 parent
0a95a60b
Gestion des versions de publisher non trouvées
https://tree.taiga.io/project/jr-utily-grog-v3/us/112
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
2 deletions
src/main/java/org/legrog/web/publisher/PublisherVersionView.java
src/main/java/org/legrog/web/publisher/PublisherVersionView.java
View file @
eeb563b
...
...
@@ -129,6 +129,9 @@ public class PublisherVersionView implements Serializable {
PublisherVersion
publisherVersion
;
publisherVersion
=
publisherService
.
getPublisherVersion
(
publisherVersionId
);
if
(
publisherVersion
==
null
)
{
throw
new
RuntimeException
(
"Publisher version not found"
);
}
publisherVersionAuthor
=
publisherVersion
.
getPublisherVersionAuthor
();
publisherVersionDatetime
=
publisherVersion
.
getPublisherVersionDatetime
();
}
...
...
@@ -167,11 +170,15 @@ public class PublisherVersionView implements Serializable {
}
public
void
loadData
()
{
PublisherVersion
publisherVersion
=
null
;
logger
.
debug
(
"publisherVersionId = {}"
,
this
.
publisherVersionId
);
if
(
publisherVersionId
!=
0
)
{
PublisherVersion
publisherVersion
=
publisherService
.
getPublisherVersion
(
publisherVersionId
);
publisherVersion
=
publisherService
.
getPublisherVersion
(
publisherVersionId
);
}
if
(
publisherVersion
!=
null
)
{
logger
.
debug
(
"Found a publisher version : {}"
,
publisherVersion
.
toString
());
...
...
Please
register
or
login
to post a comment