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

fix workflow creation on migration #3811

Merged
merged 4 commits into from
Jul 9, 2020

Conversation

Kathrin-Huber
Copy link
Contributor

fixes #3759
resolves #3760
fix #3761
closes #3754
fixed #3758
close #3757
resolved #3755

@Kathrin-Huber Kathrin-Huber requested a review from solth July 7, 2020 09:25
@solth
Copy link
Member

solth commented Jul 7, 2020

Bildschirmfoto 2020-07-07 um 11 42 07

😵 💥

@Kathrin-Huber Kathrin-Huber force-pushed the fix_workflow_migration branch from 4200b28 to a6b7af6 Compare July 7, 2020 10:21
@Kathrin-Huber Kathrin-Huber force-pushed the fix_workflow_migration branch from a6b7af6 to 3c6975d Compare July 7, 2020 12:34
@Kathrin-Huber
Copy link
Contributor Author

schneiderlein_groß-1100x530-1506408129

@@ -50,21 +51,22 @@ static String generateTask(Task task) {
* for sequence flow
* @return generated task
*/
static String generateTask(Task task, String sourceReference, String targetReference) {
static String generateTask(Task task, String sourceReference, String targetReference, int ordering) {
Copy link
Member

@solth solth Jul 8, 2020

Choose a reason for hiding this comment

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

You could probably remove the third parameter targetReference - because it is always "Task_" + order - to simplify the method signature a little bit to
static String generateTask(Task task, String sourceReference, int ordering)

@Kathrin-Huber Kathrin-Huber force-pushed the fix_workflow_migration branch from 41081ef to 2a19f89 Compare July 8, 2020 09:12
@Kathrin-Huber Kathrin-Huber force-pushed the fix_workflow_migration branch from 2a19f89 to 8180773 Compare July 8, 2020 09:13
@Kathrin-Huber Kathrin-Huber merged commit a7f9ff6 into kitodo:master Jul 9, 2020
@Kathrin-Huber Kathrin-Huber deleted the fix_workflow_migration branch July 9, 2020 08:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment