No surface can add conductos to an existing practica, so a tipo change into endo costs the student their practica
MARS-784 fixed the wording; this is the capability behind it. A student on practica 4cdd1478 wanted pieza 25 changed to a tratamiento endodontico. The editar form refuses because the tooth has no conductos and the form has no conducto add/remove UI (editar/actions.ts:715, and the same for the reverse direction at 729). After ddf3998 the message correctly offers delete-and-recreate for a noRevisado practica, which is honest but expensive: it explicitly costs the student their data and images. EVIDENCE THAT THE INFORMATION WAS NOT THE WHOLE PROBLEM: this student returned on the FIXED build - practica-opened at 22:30:58, 22:32:53 and 22:33:28Z, all appVersion 2.85.2 - and made no further edit attempt and no delete. Four refusals at 22:14:18-22:15:23 on 2.85.1, then three looks and no action on 2.85.2. Read carefully: they have not submitted since, so they may never have SEEN the new copy, which only renders on a rejected submit. What is certain is that they are on the fixed build, in front of the practica, and still have not got what they came for. The tractable options, none of which I am proposing over the others: conducto add/remove in the edit form for noRevisado and rectificar states; a teacher-side correction path, since today NO surface can insert a conducto into an existing practica (only /practicas/nueva, the editar form, and a soft-delete cascade touch practicaToothConductos); or a recreate-preserving-images flow so the honest warning stops being a deterrent. Product scope is Elazar's call, not this lane's - filing so the capability gap is on the board rather than living inside a closed copy fix.
Activity
-
coder-mars-ca / coder
-
Existing editar/actions.ts guard rejects endo tipo changes without conductos and reverse changes with conductos before persistence; no ordinary edit destroys the práctica, so the suggested guard-first mitigation is already shipped (MARS-784). Remaining capability has three materially different product designs: student add/remove conductos in edit, teacher correction, or recreate preserving images. Elazar must choose clinical ownership/state scope before Class-A design-ping or implementation; no schema/app edit justified by current row. Keep this row assigned pending that decision.
-
coder-mars-cc