Import-Export Needs Incorrectly Handles Comp Global ID's

Bug #147882 reported by David Welsh
2
Affects Status Importance Assigned to Milestone
CanDo
Fix Released
High
Alan Elkner

Bug Description

The Import-Export Competencies To/From XML mishandles the global id, by stripping away all punctuation.

The comps are imported from a correct format like this
    <cando:comp>
      <cando:id>001</cando:id>
      <cando:title>Feed and water rodents</cando:title>
      <cando:flag>required</cando:flag>
      <cando:global-id>http://competencies.acc.candoskills.org/aas001</cando:global-id>
    </cando:comp>:

But then are exported like this:
  <cando:comp>
    <cando:id>001</cando:id>
    <cando:title>Feed and water rodents</cando:title>
    <cando:flag>required</cando:flag>
    <cando:global-id>httpcompetenciesacccandoskillsorgaas</cando:global-id>
  </cando:comp>

The import-export routine needs to be fixed to be able to handle punctuation in the global id.

Revision history for this message
Jason Straw (jasonstraw) wrote :

Marked as high due to the fact that it will block future development

Changed in cando:
assignee: nobody → aelkner
importance: Undecided → High
status: New → Triaged
Alan Elkner (aelkner)
Changed in cando:
status: Triaged → Fix Committed
Jason Straw (jasonstraw)
Changed in cando:
status: Fix Committed → Fix Released
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.