Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SAK-47102 Samigo display pool owner name to help identify pool ownership #13395

Open
wants to merge 7 commits into
base: master
Choose a base branch
from

Conversation

ottenhoff
Copy link
Contributor

No description provided.

@@ -340,6 +342,8 @@ $(window).load( function() {
<f:param value="#{partBean.poolNameToBeDrawn}"/>
<f:param value="#{partBean.randomQuestionsDrawDate}"/>
<f:param value="#{partBean.randomQuestionsDrawTime}"/>
<f:param value="#{partBean.poolOwnerDisplay}"/>
<f:param value="#{partBean.poolOwnerDisplay}"/>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Line repeated

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

purposeful

@@ -349,6 +353,8 @@ $(window).load( function() {
<f:param value="#{partBean.poolNameToBeDrawn}"/>
<f:param value="#{partBean.randomQuestionsDrawDate}"/>
<f:param value="#{partBean.randomQuestionsDrawTime}"/>
<f:param value="#{partBean.poolOwnerDisplay}"/>
<f:param value="#{partBean.poolOwnerDisplay}"/>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Line repeated

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i believe it is purposeful .... i can take another look but i think it's needed twice

@@ -543,13 +434,27 @@ public void setMetadataRandowDraw(SectionDataIfc section) {
setRandomQuestionsDrawTime(drawTimeString);

} catch(Exception e){
log.error("Unable to parse date text: " + randomDrawDate, e);
log.error("Unable to parse date text: {}", randomDrawDate, e);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Spacing and e.toString()

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done.

…/bean/delivery/SectionContentsBean.java

Co-authored-by: Jesús María Méndez Pérez <[email protected]>
@@ -520,7 +411,7 @@ public void setMetadataRandowDraw(SectionDataIfc section) {
String poolname = section.getSectionMetaDataByLabel(SectionDataIfc.POOLNAME_FOR_RANDOM_DRAW);
if (SectionDataIfc.RANDOM_DRAW_FROM_QUESTIONPOOLS.equals(Integer.valueOf(section.getSectionMetaDataByLabel(SectionDataIfc.AUTHOR_TYPE))) &&
section.getSectionMetaDataByLabel(SectionDataIfc.RANDOM_POOL_COUNT) != null) {
Integer count = Integer.valueOf(section.getSectionMetaDataByLabel(SectionDataIfc.RANDOM_POOL_COUNT));
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok all the available ones are done.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants