mahara-contributors team mailing list archive
-
mahara-contributors team
-
Mailing list archive
-
Message #14187
[Bug 1237791] [NEW] Leap2a interactive import creating duplicate composite resume artefacts
Public bug reported:
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.
** Affects: mahara
Importance: Critical
Assignee: Aaron Wells (u-aaronw)
Status: In Progress
** Tags: interactiveimport leap2a regression resume
--
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1237791
Title:
Leap2a interactive import creating duplicate composite resume
artefacts
Status in Mahara ePortfolio:
In Progress
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.
To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1237791/+subscriptions
Follow ups
References