Skip to content

bug: folder is always "updated" because of type mismatch #226

Description

@aminnausin

Issues

  • in verify folders, every folder (series) row is updated because the total size attribute is compared to a string
  • in the db, total_size is an int but the $folder->total_size function returns a string containing the number
  • This causes every folder to update regardless of any real change
  • And since I was overwriting updated_at from $stored attributes, and not creating a new updated_at value, it was not a visible bug

Metadata

Metadata

Assignees

Labels

bugSomething isn't workinglaravelLaravel/PHP changes

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions