Page MenuHomePhabricator

When editing catalyst wikis, patchdemo wiki data is updated prematurely
Open, LowPublic

Description

When editing a catalyst wiki and changing patches or repos, patchdemo updates these values in its database before the request to catalyst, so if there was an error, the info on patchdemo would be incorrect.

Event Timeline

thcipriani moved this task from triage to bugs on the Catalyst (PatchDemo) board.
thcipriani subscribed.

Unideal, we should write to the patchdemo database after receiving an acknowledgment of the PATCH request to catalyst. Needs some rearranging of logic in PHP.

Hard to guess about impact, setting to low for now.