-
-
Notifications
You must be signed in to change notification settings - Fork 959
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
base: master
Are you sure you want to change the base?
Conversation
...migo-app/src/java/org/sakaiproject/tool/assessment/ui/bean/delivery/SectionContentsBean.java
Outdated
Show resolved
Hide resolved
@@ -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}"/> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Line repeated
There was a problem hiding this comment.
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}"/> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Line repeated
There was a problem hiding this comment.
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); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Spacing and e.toString()
There was a problem hiding this comment.
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)); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There are more Integer.valueOf on this file... e.x
https://github.com/sakaiproject/sakai/pull/13395/files#diff-427b06a8f86a14d72b1c42d4ee13021b6e85bcff920cc427ee67bec0548e6a12R400
There was a problem hiding this comment.
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.
No description provided.