Leap2a interactive import creating duplicate composite resume artefacts

Bug #1237791 reported by Aaron Wells
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Mahara
Fix Released
Critical
Aaron Wells

Bug Description

The resume artefact type includes the idea of "composite artefacts", which are a little strange. Basically, it's one artefact (such as "education history"), which can contain multiple lines. So you wind up with one entry in the "artefact" table, and multiple lines in the "artefact_resume_educationhistory" table.

The interactive import code was not built with this in mind. Instead, it just changed the "is_singular()" method for ArtefactTypeResumeComposite from "true" to "false" and inserted multiple records into the "artefact" table for each composite artefact line. This breaks some existing code, causing for instance Bug 1237117.

Revision history for this message
Aaron Wells (u-aaronw) wrote :
Aaron Wells (u-aaronw)
Changed in mahara:
status: In Progress → Fix Committed
Aaron Wells (u-aaronw)
Changed in mahara:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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