Fix IDAA Recovery Meetings loading and optimize API retry logic

- Implemented workaround for 'conference' field search restriction in V3 by using local filtering
- Optimized post_object to stop retrying on 4xx client errors (400, 401, 403)
- Migrated Archives and Event/Recovery Meeting modules to Aether API CRUD V3
- Added editable_fields definitions for Archive and Archive Content objects
This commit is contained in:
Scott Idem
2026-01-06 17:22:19 -05:00
parent e1f97d5154
commit bfa1943889
7 changed files with 471 additions and 1769 deletions

View File

@@ -127,6 +127,12 @@ export const post_object = async function post_object({
const errorBody = await response.text();
console.error(`HTTP error! status: ${response.status}`, errorBody);
// Don't retry on client errors (400, 401, 403)
if (response.status >= 400 && response.status < 404) {
return false;
}
throw new Error(`HTTP error! status: ${response.status} - ${errorBody}`);
}