Updated files are not updated when syncing a DataSource #11659
Labels
beta
Concerns a bug/feature in a beta release
status: accepted
This issue has been accepted for implementation
type: bug
A confirmed report of unexpected behavior in the application
NetBox version
v3.5.0-dev
Python version
3.10
Steps to Reproduce
Expected Behavior
The contents of the file should be updated.
Observed Behavior
The file is not updated, only the file hash is.
I believe this:
netbox/netbox/core/models/data.py
Line 171 in a461123
Should be changed to this:
updated_count = DataFile.objects.bulk_update(updated_files, ['hash', 'last_updated', 'size', 'data'])
The text was updated successfully, but these errors were encountered: