Open a Document with CIs linked to it.
Open CIs tab.
Choose "CSV Export..." from the list actions menu.
-> Nothing happens.
The same thing when you do this:
Open a CI with Documents linked to it.
Open Documents tab.
Choose "CSV Export..." from the list actions menu.
-> Nothing happens.
Reproduced in a 2.2.1 and a 2.3.1.
Not reproduced in a 2.2.0
Same issue as #1387 and same workaround until it is fixed
How could this ticket be a duplicate when it was created 3 months earlier than the referred one?
Last edit: Hipska 2017-01-24
ok, it's the other one which is a duplicate.
So, let me put again the workaround:
I suspect it is related to a known issue on the datamodel of the Document Abstract Class, where we have a empty code for the only reconciliation key.
You need either to change the 'itop-config-mgmt' module datamodel file to add directly the bold rows or customize it through another module:
<class id="Document" _created_in="itop-config-mgmt" _delta="must_exist">
<properties>
<reconciliation>
<attributes _delta="redefine">
<attribute id="name"/>
<attribute id="org_id"/>
<attribute id="org_name"/>
</attributes>
</reconciliation>
</properties>
</class>
I can confirm this workaround works. And it seems to be resolved with commit [r4576].
Related
Commit: <Commit _id='5358055aa02bb175d1406271:4576' tree_id='8900f0f03e21aa1bab7e3d25b9708465dd9ceb01' committed=I{'date': datetime.datetime(2017, 3, 13, 16, 56, 3, 261000), 'email': '', 'name': 'cisou'} authored=I{'date': datetime.datetime(2017, 3, 13, 16, 56, 3, 261000), 'email': '', 'name': 'cisou'} message='#1314 (N°585,586,591) allow to use finalclass (sub-class name) as reconciliation key when loading by CSV import, relationship defined on an abstract class.\n#1387 (N°577) fixing old issue with CSV import of relationship with Documents' parent_ids=I['5358055aa02bb175d1406271:4575'] child_ids=I['5358055aa02bb175d1406271:4577'] repo_ids=I[ObjectId('5358055aa02bb175d1406271')]>
Last edit: Hipska 2017-03-20