okfn/openspending — Issue #349: "update" button in ACE mapping editor needs to be clicked twice
Author: mk270
Created: 2011-11-30 08:20:17+00:00
State: open
Labels: bug

Under the current JSON mapping editor, if Update is clicked, then the database tables are partially created. (The *__entry table is created, with only one column, and none of the others is).

Clicking the button again makes the problem go away. The proposed fix, of moving the db.commit() operation a few lines up, does not work.

We should get rid of this bug before the visual editor masks it.