[fix:backport-1.2] Corrected initial field value assignment in AbstractDevice class#1326
[fix:backport-1.2] Corrected initial field value assignment in AbstractDevice class#1326nemesifier wants to merge 1 commit into1.2from
Conversation
Fixed incorrect initialization of `_initial_<field>` values when a Device instance is loaded with deferred fields, which could break change detection logic. [backport 1.2]
|
Caution Review failedFailed to post review comments 📝 WalkthroughWalkthroughThis release PR updates the OpenWISP Controller to version 1.2.2 with bug fixes, documentation improvements, and configuration enhancements. Changes include: updating version metadata and release notes; refining JSONField help text across configuration, template, and device-group models for clarity; fixing ConfigForm to safely handle missing organization data; correcting device field initialization after database refresh; adjusting the Vpn auto-client to use context-derived host values; adding organization filtering to DeviceLocationView; making the update_config Celery task self-aware to prevent self-blocking; converting subnet division post-provision handling to checksum-aware classmethod; fixing the relevant-templates JavaScript selector; and adding comprehensive test coverage for the above changes. Estimated code review effort🎯 4 (Complex) | ⏱️ ~45 minutes Possibly related PRs
Caution Pre-merge checks failedPlease resolve all errors before merging. Addressing warnings is optional.
❌ Failed checks (1 error, 1 warning)
✅ Passed checks (1 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Backport of #1301 to 1. 2 branch.