This should be the last round of Data Store changes to upgrade them to v3.
This commit is contained in:
@@ -46,7 +46,7 @@ Legacy patterns persisting in core logic and config modules.
|
||||
Specific UI components that make direct API calls instead of using store functions.
|
||||
|
||||
- [ ] `src/lib/elements/element_data_store.svelte` (Direct `create_ae_obj_crud`)
|
||||
- [ ] `src/lib/elements/element_data_store_v2.svelte`
|
||||
- [x] `src/lib/elements/element_data_store_v2.svelte`
|
||||
- [ ] `src/routes/events/[event_id]/event_page_menu.svelte`
|
||||
- [ ] `src/routes/events/[event_id]/(pres_mgmt)/session/ae_comp__event_session_alert.svelte`
|
||||
- [ ] `src/routes/events/ae_comp__event_session_obj_li.svelte`
|
||||
@@ -102,7 +102,7 @@ V3 returns detailed error metadata in the `meta.details` object.
|
||||
## 5. Known Pitfalls
|
||||
|
||||
### A. The "Integer Trap" (Search Mapping)
|
||||
**Issue:** The backend automatically maps certain fields (like `account_id`) from string IDs to internal integers.
|
||||
**Issue:** The backend automatically maps certain fields (like `account_id`) from string IDs to internal integers.
|
||||
**Symptom:** Providing a string ID in a search body that the backend maps to an integer can result in **Zero Results** if the underlying view expects a string.
|
||||
|
||||
**Final Solution (Body + Header Injection):**
|
||||
|
||||
Reference in New Issue
Block a user