<table><tr><td style="">rthomsen created this revision.<br />rthomsen added a reviewer: elvisangelaccio.<br />rthomsen set the repository for this revision to rARK Ark.<br />rthomsen added a project: Ark.<br />Restricted Application added a subscriber: kde-utils-devel.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D3142" rel="noreferrer">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>This diff changes <tt style="background: #ebebeb; font-size: 13px;">ExtractionFailedPatterns</tt> from a <tt style="background: #ebebeb; font-size: 13px;">QStringList</tt> to a <tt style="background: #ebebeb; font-size: 13px;">QHash<QString,QVariant></tt>. This way we show custom error messages to the user by passing an error message associated with the <tt style="background: #ebebeb; font-size: 13px;">QRegularExpression</tt> to <tt style="background: #ebebeb; font-size: 13px;">CliInterface</tt>.</p>

<p>A new pattern <tt style="background: #ebebeb; font-size: 13px;">ListFailedPatterns</tt> was added which is used for <tt style="background: #ebebeb; font-size: 13px;">ListJob</tt>, before it just used <tt style="background: #ebebeb; font-size: 13px;">ExtractionFailedPatterns</tt>.</p></div></div><br /><div><strong>TEST PLAN</strong><div><p>Test listing or extracting archives handled by CliPlugins with some error.</p>

<ul class="remarkup-list">
<li class="remarkup-list-item">Multi-volume archives with a missing volume.</li>
<li class="remarkup-list-item">Open Zip archive using Xz compression with clizip.</li>
</ul></div></div><br /><div><strong>REPOSITORY</strong><div><div>rARK Ark</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D3142" rel="noreferrer">https://phabricator.kde.org/D3142</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>kerfuffle/cliinterface.cpp<br />
kerfuffle/cliinterface.h<br />
plugins/cli7zplugin/cliplugin.cpp<br />
plugins/clirarplugin/cliplugin.cpp<br />
plugins/cliunarchiverplugin/cliplugin.cpp<br />
plugins/clizipplugin/cliplugin.cpp</div></div></div><br /><div><strong>EMAIL PREFERENCES</strong><div><a href="https://phabricator.kde.org/settings/panel/emailpreferences/" rel="noreferrer">https://phabricator.kde.org/settings/panel/emailpreferences/</a></div></div><br /><div><strong>To: </strong>rthomsen, elvisangelaccio<br /><strong>Cc: </strong>kde-utils-devel, tctara<br /></div>