Important
Starting from version 1.0.0 only latest version of Polarion is supported. Right now it is Polarion 2606.
The latest version of the extension can be downloaded from the releases page and installed to Polarion instance without necessity to be compiled from the sources.
The extension should be copied to <polarion_home>/polarion/extensions/ch.sbb.polarion.extension.xml-repair/eclipse/plugins and changes will take effect after Polarion restart.
Important
Don't forget to clear <polarion_home>/data/workspace/.config folder after extension installation/update to make it work properly.
To install this extension, copy the JAR file ch.sbb.polarion.extension.xml-repair-<version>.jar to your Polarion installation directory at:
<polarion_home>/polarion/extensions/ch.sbb.polarion.extension.xml-repair/eclipse/plugins
Restart Polarion for the changes to take effect.
Note: For detailed build and installation instructions, including automated installation options, see the Development Guide.
<topics> element:
…
<topic id="xml-repair"/>
…
After Polarion restart, the "XML-Repair" item will appear in the project's left navigation panel. The single
<topic id="xml-repair"/> entry enables it together with the two pages below it:
| Page | What it does |
|---|---|
| General checks | Scans WorkItems, Documents and Collections for XML issues and repairs the selected ones. |
| Purge outdated data | Finds attributes which are filled on the scanned entities but no longer defined in their custom fields configuration, and clears the selected ones. |
Clicking "XML-Repair" itself opens an entry page that links to both.
An attribute counts as outdated when it holds a value on an entity but is not part of the custom fields configuration for that entity's type. Removing a custom field definition leaves such values behind.
Scan.Purge.Purging writes through the same path as a repair, so it obeys the Repair Authorization setting below and is
refused for a scan pinned to a revision or baseline.
XML Repair. There is Repair Authorization sub-menu where you can restrict which users should have access to repair functionality. Quick Help section of this page contains short description about restriction logic.Save button.This extension provides REST API. OpenAPI Specification can be obtained here.