mahara-contributors team mailing list archive
-
mahara-contributors team
-
Mailing list archive
-
Message #14382
[Bug 1237791] Re: Leap2a interactive import creating duplicate composite resume artefacts
** Changed in: mahara
Status: In Progress => Fix Committed
--
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:
Fix Committed
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
References