8000 TIMRLINKN-60 Can't import the same tasks csv multiple times by gugmaster · Pull Request #38 · troii/timrlink.net · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

TIMRLINKN-60 Can't import the same tasks csv multiple times #38

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

Merged

Conversation

gugmaster
Copy link
Contributor

No description provided.

@gugmaster gugmaster requested a review from daberni February 13, 2023 11:38
Copy link
Contributor
@daberni daberni left a comment

Choose a reason for hiding this comment

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

Any testcases?

else
{
logger.LogWarning(
$"Task(Name={task.name}, ExternalId={task.externalId}) already exists but with different properties - skipping");
Copy link
Contributor

Choose a reason for hiding this comment

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

Skip updating modified Task() would be more consistent with other messages

}
else
{
logger.LogInformation($"Task(Name={task.name}, ExternalId={task.externalId}) already exits with the same properties");
Copy link
Contributor

Choose a reason for hiding this comment

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

Skip updating unmodified Task() would be more consistent with other messages

@gugmaster gugmaster force-pushed the TIMRLINKN-60-can't-import-the-same-tasks-csv-multiple-times branch from 252ca74 to d59cd2e Compare February 14, 2023 11:09
@gugmaster gugmaster force-pushed the TIMRLINKN-60-can't-import-the-same-tasks-csv-multiple-times branch from d567575 to e4901dc Compare February 14, 2023 14:52
@gugmaster gugmaster merged commit f93fef8 into master Feb 15, 2023
@daberni daberni deleted the TIMRLINKN-60-can't-import-the-same-tasks-csv-multiple-times branch February 17, 2023 10:20
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
0