<div class="markdown_content"><ul>
<li><strong>labels</strong>: IDLinks, u_who, BNC2014_spoken, speaker metadata, cqpweb --> IDLinks, cqpweb</li>
<li><strong>status</strong>: open --> closed-fixed</li>
<li><strong>assigned_to</strong>: Andrew Hardie</li>
<li><strong>Comment</strong>:</li>
</ul>
<p>Fixed in commit 1849.</p>
<p>This is one of those embarrassing bugs that I would have spotted years ago if I used the embiggenable forms much myself - but I normally use templates. Alas. In any case, thanks to Fabian for the bug report. </p>
<hr/>
<p><strong><a class="alink strikethrough" href="https://sourceforge.net/p/cwb/bugs/79/">[bugs:#79]</a> Error when setting up speaker metadata via IDlinks for BNC2014 spoken</strong></p>
<p><strong>Status:</strong> closed-fixed<br/>
<strong>Group:</strong> TODO-3.5<br/>
<strong>Labels:</strong> IDLinks cqpweb <br/>
<strong>Created:</strong> Thu Aug 24, 2023 10:00 AM UTC by Fabian Vetter<br/>
<strong>Last Updated:</strong> Thu Aug 24, 2023 10:00 AM UTC<br/>
<strong>Owner:</strong> Andrew Hardie</p>
<p>Hi,</p>
<p>I was trying to add the speaker metadata for the utterance regions in the BNC2014_spoken and noticed two bugs :</p>
<ol>
<li>In corpus-admin-forms.php:1931</li>
</ol>
<p>echo print_embiggenable_metadata_form($n_embiggenable_rows, false, 'createXmlIdlinkTableForm'.$x->handle); </p>
<p>=> the input elements for the categories get assigned to the form 'createXmlIdlinkTableFormu_who', whereas the the submit button referst to 'createXlIdlinkTableForm:u_who' </p>
<p>This resulted in the error message "Input file line 1: ERROR, incorrect number of columns (expected 1, got 25)."</p>
<p>Fix: Add colon after 'createXmlIdlinkTableForm<br/>
echo print_embiggenable_metadata_form($n_embiggenable_rows, false, 'createXmlIdlinkTableForm:'.$x->handle); </p>
<ol>
<li>The embiggen button does not assign the form name, so that the additionally created categories for the utterance regions are not passed on. My dirty workaround was to temporarily set $n_embiggenable_rows to the value I needed (24) in corpus-admin-forms.php:1850. Apologies that I didn't come up with a proper fix.</li>
</ol>
<p>CQPweb v. 3.3.17<br/>
CWB 3.5.0</p>
<p>Best wishes,<br/>
Fabian</p>
<hr/>
<p>Sent from sourceforge.net because cwb@sslmit.unibo.it is subscribed to <a href="https://sourceforge.net/p/cwb/bugs/">https://sourceforge.net/p/cwb/bugs/</a></p>
<p>To unsubscribe from further messages, a project admin can change settings at <a href="https://sourceforge.net/p/cwb/admin/bugs/options.">https://sourceforge.net/p/cwb/admin/bugs/options.</a> Or, if this is a mailing list, you can unsubscribe from the mailing list.</p></div>