Form storage migrate functions may create form entries and break loading sample data.
Bug #851071 reported by
Luke Duncan
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
I2CE |
Fix Committed
|
Medium
|
Luke Duncan |
Bug Description
When a form storage migrate function is called to migrate something from entry to another storage type, it can create the record in the form table. It shouldn't create the record because if there's nothing in the form table then there is no data to migrate.
Changed in i2ce: | |
importance: | Undecided → Medium |
status: | New → In Progress |
assignee: | nobody → Luke Duncan (lduncan) |
To post a comment you must log in.
I modified the getFormId calls in form storage entry to not create the form id when doing a query. If no data has been saved then the query doesn't have anything to return so it doesn't need to create the form id. This has been committed to 4.0-dev 2622.