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

Closes #2491: Set Owner of Task when Transferring #2548

Open
wants to merge 1 commit into
base: v7.0.X
Choose a base branch
from

Conversation

jamesrdi
Copy link
Contributor

@jamesrdi jamesrdi commented Mar 22, 2024

https://sonarcloud.io/summary/new_code?id=jamesrdi_taskana&branch=TSK-2491-BackupNew


Release Notes:


For the submitter:

Verified by the reviewer:

  • Commit message format → (Closes) #<Issue Number>: Your commit message.
  • Submitter's update to documentation is sufficient
  • SonarCloud analysis meets our standards
  • Update of the current release notes reflects changes
  • PR fulfills the ticket
  • Edge cases and unwanted side effects are tested
  • Readability

@jamesrdi jamesrdi force-pushed the TSK-2491-BackupNew branch 5 times, most recently from 999b007 to 171399d Compare March 22, 2024 14:16
@jamesrdi jamesrdi force-pushed the TSK-2491-BackupNew branch 2 times, most recently from 80c00dd to 537fa89 Compare April 22, 2024 12:34
@ryzheboka
Copy link
Contributor

The discussions took place in the closed PR for the same issue: #2495

Copy link
Contributor

@ryzheboka ryzheboka left a comment

Choose a reason for hiding this comment

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

You introduced new Sonarcloud issues in the new code. Please fix them!

@jamesrdi
Copy link
Contributor Author

You introduced new Sonarcloud issues in the new code. Please fix them!

I checked it again and cannot find the issues introduced by new code

@jamesrdi jamesrdi force-pushed the TSK-2491-BackupNew branch 2 times, most recently from 51d6779 to c0df871 Compare April 25, 2024 05:43
@ryzheboka
Copy link
Contributor

You introduced new Sonarcloud issues in the new code. Please fix them!

I checked it again and cannot find the issues introduced by new code

You are right!

@jamesrdi jamesrdi force-pushed the TSK-2491-BackupNew branch 2 times, most recently from d2ec2d3 to cca8a7a Compare April 26, 2024 07:30
* transferred
* @param destinationWorkbasketId the {@linkplain Workbasket#getId() id} of the target {@linkplain
* Workbasket}
* @return the transferred {@linkplain Task}
Copy link
Contributor

Choose a reason for hiding this comment

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

Isn't the boolean parameter missing?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

This transfer() function does not have the setTransferFlag() boolean parameter, but it calls another transfer() function that has the boolean parameter. It does not make sense to include the boolean parameter here, since it does not directly have the boolean parameter.

* transferred
* @param workbasketKey the {@linkplain Workbasket#getKey() key} of the target {@linkplain
* Workbasket}
* @param domain the {@linkplain Workbasket#getDomain() domain} of the target {@linkplain
Copy link
Contributor

Choose a reason for hiding this comment

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

see above.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

same as above

/**
* Transfers a List of {@linkplain Task Tasks} to another {@linkplain Workbasket} while always
* setting {@linkplain Task#isTransferred isTransferred} to true.
*
* @param destinationWorkbasketId {@linkplain Workbasket#getId() id} of the target {@linkplain
* Workbasket}
* @param taskIds List of source {@linkplain Task Tasks} which will be moved
Copy link
Contributor

Choose a reason for hiding this comment

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

see above

Copy link
Contributor Author

Choose a reason for hiding this comment

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

same as above

* @param destinationWorkbasketKey target {@linkplain Workbasket#getKey() key}
* @param destinationWorkbasketDomain target {@linkplain Workbasket#getDomain() domain}
* @param taskIds List of source {@linkplain Task Tasks} which will be moved
* @return Bulkresult with {@linkplain Task#getId() ids} and Error for each failed transactions
Copy link
Contributor

Choose a reason for hiding this comment

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

see above

Copy link
Contributor Author

Choose a reason for hiding this comment

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

same as above

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.

None yet

3 participants