You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: ensure permalinks are generated for entities with null permalinks during move operations
This fixes issue #155 where moving entities with null permalinks (from database migration)
would cause validation errors when creating EntityResponse objects.
Changes:
- Modified move_entity method to generate permalinks when old_permalink is None
- Added comprehensive test to verify fix works correctly
- Test confirms EntityResponse validation succeeds after move operation
The fix ensures backward compatibility with the update_permalinks_on_move setting while
preventing validation errors for migrated entities with null permalinks.
Co-authored-by: Paul Hernandez <phernandez@users.noreply.github.com>
0 commit comments