-
Notifications
You must be signed in to change notification settings - Fork 580
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
Error rename a file #2596
Comments
@lthoa can you please provide the exact steps to reproduce - I am unable to duplicate the problem using the current code in Dev branch. |
@sbwalker error occurred when renaming files in the 'My Folder' folder |
Thank you for clarifying... I will try to reproduce the issue locally. |
So it turns out that this issue had nothing to do with renaming a file. The differentiating factor between "My Folder" and other folders is that "My Folder" has the Capacity property set by default. When the Capacity property is set the framework needs to calculate the total size of the files in the folder to determine if the Capacity has been exceeded. This calculation logic was causing the list of files to be tracked in EF Core - which resulted in a tracking error during update. |
fix #2596 - fix EF Core tracking error when updating a file in a folder which has a Capacity specified
The text was updated successfully, but these errors were encountered: