Not applicable

Actually this code should work for inactive incidents.

If some field are read only when "active = true" then try to figure it out if there is any Client script or UI policy applied on incident table