Update CLAUDE.md: clear known bugs, document version upload fix

- Set known bugs to "None currently known"
- Added documentation for version upload fix (attachment_id handling)
- Session history updated with all bug fixes from pre-v0.0.10

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
2026-01-21 22:08:20 +01:00
parent 08aa7dae35
commit c4b1df8a22

View File

@@ -34,13 +34,12 @@ This project is proudly **"vibe-coded"** using Claude.AI - the entire codebase w
### Known Bugs
- Version uploads not appearing in list (under investigation - may require plugin reactivation to ensure database tables exist)
None currently known.
### Version 0.0.10
- Add a license related form section to the orders form in the admin area
- Make license domains editable in the backend
- Investigate checkout block integration improvements if issues persist
## Technical Stack
@@ -513,3 +512,18 @@ Full API documentation available in `openapi.json` (OpenAPI 3.1 specification).
- License generation now triggers on `completed`, `processing`, and `payment_complete` hooks
- Fixed `LicenseManager::generateLicense()` to properly check product type with `is_type()`
- Classic checkout (`woocommerce_after_order_notes`) still works for stores using classic checkout
**Additional bug fix:**
- Fixed: Version uploads not appearing in list after creation
**Modified files:**
- `src/Product/VersionManager.php` - Fixed null `attachment_id` handling in `createVersion()`
- `src/Admin/VersionAdminController.php` - Added product validation and error logging
**Technical notes:**
- `$wpdb->insert()` now only includes `attachment_id` field when it has a valid value
- Added error logging for version creation failures to aid debugging
- Improved meta box visibility logic for new products