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

[CORRECTION NEEDED] KULRICE-14124: Fixed an issue where returning a document to a previous n... #62

Closed
wants to merge 2 commits into from

Conversation

ssaripel
Copy link
Contributor

...ode was causing an error when the document is at the final approval

*Fixed an issue where returning a document to a previous node was
causing an error when the document is at the final approval node, even
though no action was taken at that node.

  • Added an IT to test the fix

…s node was causing an error when the document is at the final approval

*Fixed an issue where returning a document to a previous node was
causing an error when the document is at the final approval node, even
though no action was taken at that node.
* Added an IT to test the fix
@kuali-devops
Copy link
Contributor

Can one of the admins verify this patch?

1 similar comment
@kuali-devops
Copy link
Contributor

Can one of the admins verify this patch?

@cniesen
Copy link
Member

cniesen commented Feb 16, 2015

Hi @ssaripel, is the testFinalApprovalNodeReturnToPrevious() working as it shoud? I ran the test against our current code (without any of the contributed fixes) and the test passed.

@ssaripel
Copy link
Contributor Author

@cniesen I ran this test against the foundation rice code we use and without the fix the test failed. Can you point me to which code you ran it against?

@cniesen
Copy link
Member

cniesen commented Feb 19, 2015

Not enough memory was allocated for the test I ran and IntelliJ reported it as passing instead of a failure. Not good. Anyway, I could reproduce the exception which is fixed with your patch.

org.kuali.rice.kew.api.action.InvalidActionTakenException: Cannot return past or through the final approval node 'WorkflowDocument2'.

@@ -44,4 +45,6 @@
*/
Timestamp getLastActionTakenDate(String documentId, ActionType actionType);

List<ActionTakenValue> findActionsTakenAtRouteNodeInstance(RouteNodeInstance nodeInstance);
Copy link
Member

Choose a reason for hiding this comment

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

JavaDoc missing. Please add.

@cniesen
Copy link
Member

cniesen commented Feb 19, 2015

@ssaripel Can you make these changes and update this pull request?

Hint:

  • Edit the last commit via git reset --soft HEAD~1
  • Commit your changes
  • Push them to your iu-uits-es:KULRICE-14124-new github branch git push --force origin KULRICE-14124-new (this pull request will be updated automatically with your change)
  • Add a comment to the pull request that the changes are ready to be reviewed.

@cniesen cniesen changed the title KULRICE-14124: Fixed an issue where returning a document to a previous n... [CORRECTION NEEDED] KULRICE-14124: Fixed an issue where returning a document to a previous n... Feb 19, 2015
@cniesen
Copy link
Member

cniesen commented Mar 10, 2015

Thanks for the contribution. We like to have the two commits "squashed" together into one. I went ahead and squashed them in pull request #106 and closed this pull request.

@cniesen cniesen closed this Mar 10, 2015
bsmith83 pushed a commit to bsmith83/rice-1 that referenced this pull request Jul 23, 2015
fixing nexus release #norelease
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants