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 error copying empty member #1874

Merged
merged 1 commit into from
Feb 24, 2024

Conversation

chrjorgensen
Copy link
Collaborator

Changes

This PR will fix the change from PR #1851 - the test in the PR was not correct.
Now we check for return code first, and only if error code 1 and messages and not messages
CPF2869 (Empty member &3 in file &1 in library &2 is not copied.) and
CPF2817 (Copy command ended because of error.)
do we ignore the errors and accept the outcome.

Checklist

  • have tested my change

@chrjorgensen chrjorgensen requested a review from a team February 24, 2024 00:55
@chrjorgensen chrjorgensen self-assigned this Feb 24, 2024
@chrjorgensen chrjorgensen added the bug A confirmed issue when something isn't working as intended label Feb 24, 2024
@chrjorgensen chrjorgensen added this to the 2.8.0 milestone Feb 24, 2024
Copy link
Collaborator

@sebjulliand sebjulliand left a comment

Choose a reason for hiding this comment

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

Works fine. Before the PR, copying a non-empty member would show an error message.
Now copying both an empty and non-empty member works. Good job @chrjorgensen!

@sebjulliand sebjulliand merged commit e3ca86b into codefori:master Feb 24, 2024
1 check passed
@chrjorgensen chrjorgensen deleted the fix/copy-empty-member branch March 20, 2024 13:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug A confirmed issue when something isn't working as intended
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants