Form storage migrate functions may create form entries and break loading sample data.

Bug #851071 reported by Luke Duncan
6
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.

Luke Duncan (lduncan)
Changed in i2ce:
importance: Undecided → Medium
status: New → In Progress
assignee: nobody → Luke Duncan (lduncan)
Revision history for this message
Luke Duncan (lduncan) wrote :

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.

Changed in i2ce:
status: In Progress → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.