Bug #42 | PCS-0001
closedExport to XML fails and the redmine gets blocked
100%
Description
This also happens when opening panels. If for any reason the PORIS tree is not correct, the routine to sort the PORIS items before serializing to XML never ends, because the remaining items list is never void.
Apart from checking what happened and try to see (https://dev.csys.cosmobots.eu/csys_poris/f-baudios/menu, exporting the PORIS XML) and fixing it, a mechanism to cancel the loop (and raise an exception) shall be implemented in order to prevent more redmine locks.
Updated by Txinto Vaz 2 months ago
- Status changed from New to Resolved
- % Done changed from 0 to 100
Found the issue in this commit
Root cause was using the ID of the cosmosys_issue object instead of the issue object (self.id instead of self.csys.id).
We also added that the iterations have to stop if the vector is not decreasing during the reordering function.