mirror of
https://github.com/Tria-plc/edr-platform.git
synced 2026-08-26 18:42:49 +00:00
A resumed onboarding asked for the per-role business licence again and refused to submit until it was uploaded a second time, however many were already on file. `getInfo` never populates `companyProfiles[].licenseFiles`, and the wizard validates against exactly that — so every profile looked empty, while `markOnboardingComplete` would have accepted the application as it stood. Validation now reads `licenseProfiles[].uploaded` from the onboarding requirements: the server's own verdict, already fetched by the step, and the same source the API enforces on submit. Reachable today by anyone who resumes onboarding after a licence upload, and by every company that switches back to eTrade registration — which is where the e2e suite hit it.