Project @ iMath: Issueshttps://project.math.uzh.ch/https://project.math.uzh.ch/favicon.ico?16668783892024-03-06T19:06:54ZProject @ iMath
Redmine QFQ - Bug #18094 (Ready to sync (develop)): Loading Fabric without Form not working anymorehttps://project.math.uzh.ch/issues/180942024-03-06T19:06:54ZBenjamin Baerbenjamin.baer@math.uzh.ch
<p>Multi Form has broken the old way to load fabric without form.</p>
<p>Adding a new way to load fabric without any forms.</p> QFQ - Bug #18058 (Ready to sync (develop)): Monitor not working: missing JS filehttps://project.math.uzh.ch/issues/180582024-03-05T07:39:47ZElias Villiger
<p>Console Error: Failed to load resource <code>/typo3conf/ext/qfq/Resources/Public/JavaScript/GetFileContent.js</code></p>
<p>Datei wird durch npm run build nicht in <code>Resources/Public/JavaScript</code> kopiert, vermutlich sonst irgendwo integriert oder gar nicht mehr eingebunden?</p> QFQ - Support #18057 (New): {{sqlLog:Y}} returns empty string when not configuredhttps://project.math.uzh.ch/issues/180572024-03-05T07:31:43ZElias Villiger
<p>When the QFQ config for <code>sqlLog</code> (or <code>qfqLog</code>, <code>mailLog</code>) is empty, the default log directory (<code>fileadmin/protected/qfqProject/log/sql.log</code>) is used.</p>
<p>When retrieving <code>{{sqlLog:Y}}</code> from the System Store, this returns an empty string (corresponding to the config value).</p>
<p>Expected behavior: When there's no specific log path configured, I would expect it to return the default/actual path to the log file.</p>
<p>Example use case: <a class="external" href="https://docs.qfq.io/en/master/Report.html#monitor">https://docs.qfq.io/en/master/Report.html#monitor</a></p> QFQ - Support #18048 (New): Upload (filepond): FE.downloadButton missing tooltiphttps://project.math.uzh.ch/issues/180482024-03-03T22:31:55ZCarsten Rosecarsten.rose@math.uzh.ch
<p>QFQ Version 24.3.0</p>
<a name="In-v1-funktioniert-die-Anzeige-des-Tooltips"></a>
<h2 >In 'v1' funktioniert die Anzeige des Tooltips<a href="#In-v1-funktioniert-die-Anzeige-des-Tooltips" class="wiki-anchor">¶</a></h2>
<pre>
downloadButton = t:Download|o:check file
</pre>
<p><img src="https://project.math.uzh.ch/attachments/download/9401/clipboard-202403032329-8x1vp.png" alt="" /></p>
<a name="In-v2-funktioniert-die-Anzeige-des-Tooltips-nicht-nicht-als-Tooltip"></a>
<h2 >In 'v2' funktioniert die Anzeige des Tooltips nicht (nicht als Tooltip)<a href="#In-v2-funktioniert-die-Anzeige-des-Tooltips-nicht-nicht-als-Tooltip" class="wiki-anchor">¶</a></h2>
<p>Es wird der ganze Text gerendert - d.h. vermutlich werden die Angaben wie tooltip, glyphicon nicht ausgewertet. Aktuell weiss ich nicht was noch alles verwendet werden kann - am besten bei V1 nachschauen.</p>
<p><img src="https://project.math.uzh.ch/attachments/download/9402/clipboard-202403032330-ki9qk.png" alt="" /></p>
<p>Laut Doku (<a class="external" href="https://docs.qfq.io/en/master/Form.html#id14">https://docs.qfq.io/en/master/Form.html#id14</a>):</p>
<p><img src="https://project.math.uzh.ch/attachments/download/9403/clipboard-202403032331-l8bqw.png" alt="" /></p> QFQ - Bug #18031 (In Progress): PHPUnit-Tests funktionieren nicht mit der neuen PHP-Versionhttps://project.math.uzh.ch/issues/180312024-03-01T13:15:04ZZhoujie Li
<p>Wir sind auf ein Problem gestossen, bei dem unsere bestehenden PHPUnit-Tests nach dem Update auf die neueste PHP-Version nicht wie erwartet ausgeführt werden. Dies hat zu mehreren Testfehlern geführt.</p>
<p>Es wäre sinnvoll, die Tests zu überarbeiten und zu refaktorisieren.</p> QFQ - Bug #17992 (New): filepond: Filter on file extension is case dependent https://project.math.uzh.ch/issues/179922024-02-25T10:45:48ZCarsten Rosecarsten.rose@math.uzh.ch
<ul>
<li>In <code>Form.parameter.accept = image/*,application/pdf,text/plain,.R,.r,.m,.rmd,.rnw,.zip</code> gesetzt.</li>
<li>Eine Datei ausgewaehlt <code>test01.R</code> (das '.R' ist gross geschrieben)</li>
</ul>
<p><img src="https://project.math.uzh.ch/attachments/download/9328/clipboard-202402251137-qeppx.png" alt="" /></p>
<ul>
<li>Macht filepond wirklich eine Konvertierung auf mimetype? In dem Fall haette `text/plain` greifen muessen!</li>
</ul>
<p><img src="https://project.math.uzh.ch/attachments/download/9329/clipboard-202402251143-gqmnf.png" alt="" /></p>
<p>Im <code>accept</code> zusaetzlich `.R` anzugeben loesst das Problem nicht (es ist kein Mimetype in QFQ hinterlegt).</p>
<p>Achtung: fuer die rmd, rnw, r - Files gibt es alle moeglichen Schreibweisen, die User sind sehr kreativ.</p> QFQ - Bug #17991 (New): filepond: broken filter in file dialog boxhttps://project.math.uzh.ch/issues/179912024-02-25T10:30:21ZCarsten Rosecarsten.rose@math.uzh.ch
<p><img src="https://project.math.uzh.ch/attachments/download/9323/clipboard-202402251120-9qtxg.png" alt="" /><br /><pre>
accept = image/*,application/pdf,text/plain,.r,.m,.nb,.rmd,.rnw,.zip,.dat
</pre></p>
<p>Brave: Die Files werden nicht angezeigt:</p>
<p><img src="https://project.math.uzh.ch/attachments/download/9324/clipboard-202402251121-gc9vx.png" alt="" /></p>
<p>Wird der Filter auf 'All Files' gesetzt koennen die Files ausgewaehlt werden:</p>
<p><img src="https://project.math.uzh.ch/attachments/download/9325/clipboard-202402251123-9xavd.png" alt="" /></p>
<p>Firefox das gleiche:</p>
<p><img src="https://project.math.uzh.ch/attachments/download/9326/clipboard-202402251125-2i1lx.png" alt="" /></p>
<p>Mit <code>uploadType=v1</code> werden die Files korrekt angezeigt (Brave & FF)</p>
<p><img src="https://project.math.uzh.ch/attachments/download/9327/clipboard-202402251128-aluit.png" alt="" /></p> QFQ - Support #17880 (New): QFQ Exception: a) stacktrace not in support, b) Underline SQL error https://project.math.uzh.ch/issues/178802024-02-12T19:56:47ZCarsten Rosecarsten.rose@math.uzh.ch
<p><img src="https://project.math.uzh.ch/attachments/download/9220/clipboard-202402122055-9vcu4.png" alt="" /></p> QFQ - Bug #17785 (New): undefined: Download::$storeSystemhttps://project.math.uzh.ch/issues/177852024-02-01T17:06:09ZCarsten Rosecarsten.rose@math.uzh.chQFQ - Bug #17725 (New): Form > forwardPage - value from a FE, FE column not in primary table, the...https://project.math.uzh.ch/issues/177252024-01-28T18:21:23ZCarsten Rosecarsten.rose@math.uzh.ch
<p>Fuer einen Wizard haette CR gerne ein paar Checkboxen in einem Form uebergeben an einen Page/Action Report.</p>
<p>Das scheint aber nicht wie erwartet zu funktionieren<br /><pre>
{{pageSlug:T}}?action=duplicate&v_id_new={{id:R}}&m_id={{m_id:S0}}&v_id_src={{v_id_src:S0}}
</pre></p> QFQ - Bug #17693 (New): Multi DB Setup (MY): Form > Exception > Edit Form Element: record lock mi...https://project.math.uzh.ch/issues/176932024-01-24T12:48:53ZCarsten Rosecarsten.rose@math.uzh.ch
<p>Wird in einer Form bei einer Fehlermeldung auf 'Edit FormElement' geklickt, kann das aufgerufene Form anschliessend nicht gespeichert werden:</p>
<p><img src="https://project.math.uzh.ch/attachments/download/9071/clipboard-202401241348-ihhpz.png" alt="" /></p> QFQ - Bug #17569 (New): Form.title text/children not centeredhttps://project.math.uzh.ch/issues/175692024-01-12T10:12:13ZJan Haller
<p>Normalerweise ist reiner Text in <em>form.title</em> vertikal zentriert:<br /><img src="https://project.math.uzh.ch/attachments/download/8973/clipboard-202401121036-p0kxs.png" alt="" /></p>
<p>Sobald ein z.B. ein <em>qfq-badge</em> in <em>form.title</em> verwendet wird, vergrössert sich die Höhe des Titel-Elements und der Text ist nicht mehr vertikal zentriert:<br /><img src="https://project.math.uzh.ch/attachments/download/8974/clipboard-202401121043-djwxs.png" alt="" /></p>
<p>Wird jedoch z.B. <em>pull-right</em> in <em>form.title</em> verwendet, bleibt die Höhe des Titel-Elements gleich und der Text ist vertikal zentriert. Das <em>pull-right</em> jedoch nicht:<br /><img src="https://project.math.uzh.ch/attachments/download/8975/clipboard-202401121048-o6uwb.png" alt="" /><br /><img src="https://project.math.uzh.ch/attachments/download/8976/clipboard-202401121049-65fpx.png" alt="" /></p>
<p>Durch Ergänzung der CSS-Klassen können alle children (inkl. Text) von <em>qfq-form-title</em> vertikal zentriert werden:<br /><pre><code class="css syntaxhl"><span class="nc">.qfq-form-title</span> <span class="p">{</span>
<span class="nl">display</span><span class="p">:</span> <span class="n">flex</span><span class="p">;</span>
<span class="nl">align-items</span><span class="p">:</span> <span class="nb">center</span><span class="p">;</span>
<span class="p">}</span><span class="o">;</span>
<span class="nc">.pull-right</span> <span class="p">{</span>
<span class="nl">margin-left</span><span class="p">:</span> <span class="nb">auto</span><span class="p">;</span>
<span class="p">}</span>
</code></pre></p>
<p>Resultat: <em>qfq-badge</em> und Text vertikal zentriert:<br /><img src="https://project.math.uzh.ch/attachments/download/8977/clipboard-202401121055-m2jmp.png" alt="" /></p>
<p>Resultat: <em>pull-right</em> und Text vertikal zentriert:<br /><img src="https://project.math.uzh.ch/attachments/download/8978/clipboard-202401121057-yjx9h.png" alt="" /></p>
<p>Ist dieser Lösungsansatz der richtige? Gibt es weitere Klassen die angepasst werden müssen? Wird nichts bestehendes kaputt gemacht?</p> QFQ - Bug #17384 (New): Thumbnail: touch(): Unable to create filehttps://project.math.uzh.ch/issues/173842023-11-29T15:20:10ZCarsten Rosecarsten.rose@math.uzh.ch
<ul>
<li>Es fehlte einfach das Verzeichnis <code>/var/www/html/uplan/fileadmin/protected/qfqThumbnail</code>.</li>
</ul>
<pre>
UniqId:: 656738c8aceb0
------------------------------------------------
toUser:: General error - please report.
support:: File: /var/www/html/uplan/typo3conf/ext/qfq/Classes/Core/Report/Thumbnail.php / Line: 178 / touch(): Unable to create file /var/www/html/uplan/fileadmin/protected/qfqThumbnail/e69da330fa0d81e6488fdcb245704208.png because No such file or directory
Timestamp:: 2023.11.29 14:12:40 +0100
Code:: 2
Message:: General error - please report.
Type:: Code Exception
current sip:: array (
'_b64_download' => 'F:/var/www/html/uplan/fileadmin/protected/qfqThumbnail/e69da330fa0d81e6488fdcb245704208.png|T:fileadmin/protected/application/25/_fk.CVProjektleiter.pdf|W:500x|r:7|s',
'mode' => 'thumbnail',
'r' => '0',
's' => '656738c86369f',
'urlparam' => '_b64_download=RjovdmFyL3d3dy9odG1sL3VwbGFuL2ZpbGVhZG1pbi9wcm90ZWN0ZWQvcWZxVGh1bWJuYWlsL2U2OWRhMzMwZmEwZDgxZTY0ODhmZGNiMjQ1NzA0MjA4LnBuZ3xUOmZpbGVhZG1pbi9wcm90ZWN0ZWQvYXBwbGljYXRpb24vMjUvX2ZrLkNWUHJvamVrdGxlaXRlci5wZGZ8Vzo1MDB4fHI6N3xz&mode=thumbnail&r=0',
)
Page Id:: -
Content Id:: -
FE User:: crose
File:: /var/www/html/uplan/typo3conf/ext/qfq/Classes/Core/Exception/ErrorHandler.php
Line:: 42
CWD:: /var/www/html/uplan
IP Address:: 192.168.133.208
Stacktrace::
#1 /var/www/html/uplan/typo3conf/ext/qfq/Classes/Core/Report/Thumbnail.php(178): touch()
#2 /var/www/html/uplan/typo3conf/ext/qfq/Classes/Core/Report/Thumbnail.php(153): IMATHUZH\Qfq\Core\Report\Thumbnail->createThumbnail()
#3 /var/www/html/uplan/typo3conf/ext/qfq/Classes/Core/Report/Thumbnail.php(92): IMATHUZH\Qfq\Core\Report\Thumbnail->getOrCreateThumbnail()
#4 /var/www/html/uplan/typo3conf/ext/qfq/Classes/Core/Report/Download.php(864): IMATHUZH\Qfq\Core\Report\Thumbnail->process()
#5 /var/www/html/uplan/typo3conf/ext/qfq/Classes/Core/Report/Download.php(724): IMATHUZH\Qfq\Core\Report\Download->doThumbnail()
#6 /var/www/html/uplan/typo3conf/ext/qfq/Classes/Core/Report/Download.php(973): IMATHUZH\Qfq\Core\Report\Download->doElements()
#7 /var/www/html/uplan/typo3conf/ext/qfq/Classes/Api/download.php(29): IMATHUZH\Qfq\Core\Report\Download->process()
==================================================
</pre> QFQ - Bug #17291 (New): FE CodeMirror nicht scrollable je nach Setuphttps://project.math.uzh.ch/issues/172912023-11-16T09:46:58ZElias Villiger
<p>Auf meiner eigenen Webseite war der FrontEnd Code Editor nicht scrollbar. Ursächlich scheint zu sein, dass bei der QFQ-eigenen Ausgabe der Seite keine volle Typo3-Seite aufgebaut wird und dadurch ein Teil des Typo3-Templating verloren geht. Konkret hat sich bei mir die parent height (body) bis über den Seitenrand erstreckt (4000px), sodass ein scrolling als nicht notwendig interpretiert wurde.</p>
<p>Durch setzen von<br /><pre><code class="css syntaxhl"><span class="nt">body</span> <span class="p">{</span> <span class="nl">height</span><span class="p">:</span> <span class="m">100vh</span><span class="p">;</span> <span class="p">}</span>
</code></pre><br />ist das Problem gelöst.</p>
<p>Evtl. ist das bisher nicht aufgefallen, da im UZH-CD schon entsprechendes CSS vorhanden.</p>
<p>Vorschlag: Zwischen body und dem gerenderten CodeMirror ein div einbauen:<br /><pre><code class="html syntaxhl"><span class="nt"><div</span> <span class="na">style=</span><span class="s">"height:100vh;"</span><span class="nt">></div></span>
</code></pre></p> QFQ - Bug #17257 (New): Migrate QFQ system tables: set default valuehttps://project.math.uzh.ch/issues/172572023-11-09T20:42:54ZCarsten Rosecarsten.rose@math.uzh.chQFQ - Bug #17215 (New): QFQ Doku: Encode ‘none’, ‘specialchar’ - 'single tick' fehlthttps://project.math.uzh.ch/issues/172152023-10-31T14:40:45ZCarsten Rosecarsten.rose@math.uzh.ch
<p><img src="https://project.math.uzh.ch/attachments/download/8698/clipboard-202310311539-0oqxi.png" alt="" /></p>
<p><img src="https://project.math.uzh.ch/attachments/download/8699/clipboard-202310311540-zhejw.png" alt="" /></p> QFQ - Bug #17160 (Ready to sync (develop)): TinyMCE: Do not convert to auto urlhttps://project.math.uzh.ch/issues/171602023-10-24T11:56:08ZBenjamin Baerbenjamin.baer@math.uzh.ch
<p>Problem: #17159</p>
<p>Can be configured in url-handling:<br /><a class="external" href="https://www.tiny.cloud/docs/configure/url-handling/">https://www.tiny.cloud/docs/configure/url-handling/</a></p>
<p>Updated tinymce helper to always set it to to false:</p>
<p><a class="external" href="https://git.math.uzh.ch/typo3/qfq/-/merge_requests/628">https://git.math.uzh.ch/typo3/qfq/-/merge_requests/628</a></p> QFQ - Bug #16994 (New): Stacktrace in QFQ error messagehttps://project.math.uzh.ch/issues/169942023-10-04T19:21:08ZCarsten Rosecarsten.rose@math.uzh.ch
<p><img src="https://project.math.uzh.ch/attachments/download/8519/clipboard-202310042120-brzfz.png" alt="" /></p> QFQ - Bug #16965 (New): Unhandled exception on SQL queryhttps://project.math.uzh.ch/issues/169652023-09-28T12:36:23ZCarsten Rosecarsten.rose@math.uzh.chQFQ - Bug #16900 (New): Error display behaviourhttps://project.math.uzh.ch/issues/169002023-09-19T14:12:18ZBenjamin Baerbenjamin.baer@math.uzh.ch
<p>Error reporting in QFQ with setting production = yes; and the debug display error values set to auto:</p>
<p>when not loggend in to the backend:<br /><img src="https://project.math.uzh.ch/attachments/download/8421/error_notloggedin.png" alt="" /></p>
<p>when logged in:<br /><img src="https://project.math.uzh.ch/attachments/download/8420/error_loggedin.png" alt="" /></p>
<p>Also maybe an example of the stack trace showing. Here to cause the error I simply added an i before the first select statement.</p> QFQ - Bug #16830 (Feedback): restClient Special Column Exception Handlinghttps://project.math.uzh.ch/issues/168302023-09-05T14:06:51ZPhilipp Gröbelbauer
<p>The _restClient special column throws an exception if the call fails (e.g. server not reachable/ wrong url).</p>
<p>Example Call:</p>
<p><code>SELECT CONCAT('n:{{MY_URL:Y}}/typo3conf/ext/qfq/Classes/Api/rest.php/lectureREST|content:{"module": "', ev.module, '", "semester":"', sem.short, '", "eventType":"', IF(ev.eventType = 'Lecture', 'VL', IF(ev.eventType = 'Exercise', 'UE', '')),'"}|method:GET') AS '_restClient|_hide'</code></p>
<p>Can lead to an exeption that will take up the whole page:</p>
<p><img src="https://project.math.uzh.ch/attachments/download/8342/clipboard-202309051600-0p7po.png" alt="" /></p>
<p>The exception should not interfere with the rest of the page!<br />The user can already read if success/error from {{http-status:C}} and react to that. The exception could result in a status 500.</p> QFQ - Bug #16506 (In Progress): Error sendmail failed: Umlaute in FROM ADDRESShttps://project.math.uzh.ch/issues/165062023-06-30T07:34:07ZCarsten Rosecarsten.rose@math.uzh.ch
<ul>
<li>Wenn QFQ Mails sendet und in der FROM Adresse im Realname ein Umlaut vorkommt, verweigert Oultook die Annahme.</li>
<li>QFQ anpassen das alles Felder (TO, CC, BCC, From) auch UTF8 kodiert werden.</li>
</ul>
<pre>
UniqId:: 6486fd7720bd5
------------------------------------------------
toUser:: "Error sendmail failed
support:: [cmd=/var/www/html/typo3conf/ext/qfq/Classes/External/sendEmail -f "Universitäre Lehrförderung <lehrkredit-smtp@math.uzh.ch>" -t "sabine.schneider@ds.uzh.ch" -o message-charset="utf-8" -l "/var/www/html/fileadmin/protected/log/mail.log" -u "=?UTF-8?Q?Bitte=20um=20Best=C3=A4tigung:=20=20Antrag=20Lehrkredit?=
=?UTF-8?Q?=20durch=20Frau=20Dr.=20Daniela=20Fuhrmann?=" -m "Sehr geehrte Frau/Herr Sabine Schneider
Wir möchten Sie bitten den Lehrkredit Antrag von Frau Dr. Daniela Fuhrmann zu begutachten und zu bestätigen oder abzulehnen.
Bitte loggen Sie sich dazu auf der Lehrkredit Homepage ein unter:
</pre> QFQ - Bug #16345 (ToDo): TinyMCE: size / min-height scheint in QFQ V23.3.0 nicht zu funktionierenhttps://project.math.uzh.ch/issues/163452023-06-02T15:15:54ZCarsten Rosecarsten.rose@math.uzh.ch
<p>Bitte anschauen / fixen:</p>
<ul>
<li>TinyMCE / Codemirror</li>
<li>Gibt es eine Moeglickeit 'autogrow' zu implementieren?</li>
<li>In der Doku bei Editor (TinMCE, CodeMirror) ist gar nichts zur Groesse bechrieben (zumindest habe ich es nicht gefunden) - dort bitte dokumentieren. Ggfs. muss dann bei 'FE.typ=Text' eine Anmerkung gemacht werden falls sich die Notation unterscheidet.</li>
</ul>
<p><img src="https://project.math.uzh.ch/attachments/download/7997/clipboard-202306021607-rahke.png" alt="" /></p> QFQ - Bug #16344 (New): 'M:file' hat keinen Einfluss im sendmail (.xlsx / .docx kommt als .zip an)https://project.math.uzh.ch/issues/163442023-06-02T14:50:47ZPhilipp Gröbelbauer
<p>Auf webwork16/grc wurden Mail Templates angelegt mit mehreren Attachments.<br />Wird das Mail versendet, dann kommt ein .docx Attachment als .zip Datei an. <br />Das M:file hat dabei keinen Einfluss.<br />Das verarbeitete sendmail lautet:</p>
<pre>
'f:Marco Toscano
|t:philipp.groebelbauer@math.uzh.ch
||s:Travel Grant accepted!
|b:Dear Mr. Gröbelbauer...
|d:DecisionLetter.pdf
|p:id=letterbody&noId=9397&pdIdReceiver=1982&reId=1309&_sip=1&--margin-top=50mm&--margin-bottom=20mm&--header-html=https://webwork16.math.uzh.ch/grc/dev/?id=letterheade&--footer-right="Page: [page]/[toPage]"&--footer-font-size=8&--footer-spacing=10
|d:Expenses_Form_Travel_Grant.xlsx
|M:file
|F:fileadmin/protected/mailing/travelgrants/9394_10569_Expenses_form_Travel_Grant.xlsx
|d:Flightrecord_Travel Grant
|M:file
|F:fileadmin/protected/mailing/travelgrants/9395_10584_Flightrecord_Travel_Grant.docx
|d:Instructions_expense_form_extern
|M:file
|F:fileadmin/protected/mailing/travelgrants/9396_10589_Instructions_expense_form_extern.png
|g:615
|x:1309' AS _sendmail
</pre> QFQ - Bug #16343 (New): QFQ/GMX: smtp recjects if subject contains umlaut and is not proper encodedhttps://project.math.uzh.ch/issues/163432023-06-02T14:50:23ZCarsten Rosecarsten.rose@math.uzh.ch
<p><img src="https://project.math.uzh.ch/attachments/download/7998/clipboard-202306021647-yhc8l.png" alt="" /></p>
<p><img src="https://project.math.uzh.ch/attachments/download/7999/clipboard-202306021647-sv9ak.png" alt="" /></p> QFQ - Bug #16074 (New): Image missing in PDFhttps://project.math.uzh.ch/issues/160742023-04-24T14:38:55ZJan Haller
<p>SVG-Datei wird teilweise nicht in PDF eingesetzt.<br />10 PDFs generiert im Abstand von 10 Sek.</p>
<table>
<tr>
<td>PDF</td>
<td>Page</td>
<td>Img</td>
<td>Text</td>
</tr>
<tr>
<td>1</td>
<td>1</td>
<td>X</td>
<td>X</td>
</tr>
<tr>
<td>1</td>
<td>2</td>
<td>X</td>
<td>X</td>
</tr>
<tr>
<td>2</td>
<td>1</td>
<td>O</td>
<td>X</td>
</tr>
<tr>
<td>2</td>
<td>2</td>
<td>O</td>
<td>X</td>
</tr>
<tr>
<td>3</td>
<td>1</td>
<td>O</td>
<td>X</td>
</tr>
<tr>
<td>3</td>
<td>2</td>
<td>O</td>
<td>X</td>
</tr>
<tr>
<td>4</td>
<td>1</td>
<td>O</td>
<td>X</td>
</tr>
<tr>
<td>4</td>
<td>2</td>
<td>O</td>
<td>X</td>
</tr>
<tr>
<td>5</td>
<td>1</td>
<td>O</td>
<td>X</td>
</tr>
<tr>
<td>5</td>
<td>2</td>
<td>O</td>
<td>X</td>
</tr>
<tr>
<td>6</td>
<td>1</td>
<td>X</td>
<td>X</td>
</tr>
<tr>
<td>6</td>
<td>2</td>
<td>X</td>
<td>X</td>
</tr>
<tr>
<td>7</td>
<td>1</td>
<td>O</td>
<td>X</td>
</tr>
<tr>
<td>7</td>
<td>2</td>
<td>O</td>
<td>X</td>
</tr>
<tr>
<td>8</td>
<td>1</td>
<td>X</td>
<td>X</td>
</tr>
<tr>
<td>8</td>
<td>2</td>
<td>X</td>
<td>X</td>
</tr>
<tr>
<td>9</td>
<td>1</td>
<td>X</td>
<td>X</td>
</tr>
<tr>
<td>9</td>
<td>2</td>
<td>X</td>
<td>X</td>
</tr>
<tr>
<td>10</td>
<td>1</td>
<td>X</td>
<td>X</td>
</tr>
<tr>
<td>10</td>
<td>2</td>
<td>X</td>
<td>X</td>
</tr>
</table>
<p>X: vorhanden; O: fehlt<br />PDFs unter: /scratch/tmp/180/16074</p>
<p>Es kommt auch vor, dass das Bild nur auf einer Seite gerendert wird. Seltener kann es vorkommen, dass der Header-Text nicht gerendert wird.<br />Wird das PDF gespeichert und erneut geöffnet, kann es vorkommen, dass das Bild plötzlich vorhanden ist (vgl. gespeicherte PDFs).</p>
<p>Setup:</p>
<ul>
<li>Medtool Dev</li>
<li>Body: QFQ tt_content</li>
<li>Header: HTML tt_content</li>
</ul>
<p>Anmerkung: Der Fehler wurde auf Medtool Preview und QFQ-Dev noch nicht beobachtet.</p> QFQ - Bug #15795 (New): Upload: download button not shown after pressing savehttps://project.math.uzh.ch/issues/157952023-03-14T13:02:17ZCarsten Rosecarsten.rose@math.uzh.ch
<ul>
<li>Bei r=0: alles ok</li>
<li>Bei r>0: Fehler wie beschrieben.</li>
</ul>
<p><img src="https://project.math.uzh.ch/attachments/download/7498/clipboard-202303141400-waqtc.png" alt="" /></p>
<p>Before pressing save:</p>
<p><img src="https://project.math.uzh.ch/attachments/download/7499/clipboard-202303141400-zzrl9.png" alt="" /></p>
<p>After pressing save:</p>
<p><img src="https://project.math.uzh.ch/attachments/download/7500/clipboard-202303141401-v6ybl.png" alt="" /></p> QFQ - Bug #15794 (Feedback): Tablesorter filter funktionieren nach Reload nicht mehrhttps://project.math.uzh.ch/issues/157942023-03-14T10:08:07ZNicola Chiapolini
<p>Wenn ich in meinen Filtern eine Suche eintrage funktioniert zuerst alles korrekt.</p>
<p><img src="https://project.math.uzh.ch/attachments/download/7489/screenshot1.png" alt="" /></p>
<p>Wenn ich danach aber die Seite neu Lade, verschwinden die view-saver funktionen und die Suche hat keinen Effekt mehr.<br />Das Problem scheint der unten markierte Eintrag im local storage. Wird dieser Gelöscht, funktioniert wieder alles korrekt.</p>
<p><img src="https://project.math.uzh.ch/attachments/download/7490/screenshot2.png" alt="" /></p> QFQ - Bug #15317 (New): view-saver (tablesorter) is blocking header if header column contains lin...https://project.math.uzh.ch/issues/153172023-01-05T10:13:53ZJan Haller
<p>Beinhaltet der Header einer Tabelle eine Spalte mit linebreak/<br>, überlappt der view-saver den Header.</p>
<p><img src="https://project.math.uzh.ch/attachments/download/7099/clipboard-202301051111-bqhsm.png" alt="" /></p> QFQ - Bug #15108 (New): Wert in Note nach speichern nicht aktualisierthttps://project.math.uzh.ch/issues/151082022-12-05T15:46:11ZJan Haller
<p>Testformular: Medtool>Admin>Setup>Form>note_test</p>
<p>Text in Note (Notiz) wird mit Query abgefragt. Liefert die Query kein Resultat, bleibt nach dem Speichern der vorherige Wert erhalten. Die Seite muss neu geladen werden, damit der Inhalt entfernt wird.</p> QFQ - Bug #15050 (New): Farbe Textfeld grau bei Wechsel von readonly auf show https://project.math.uzh.ch/issues/150502022-11-18T15:05:39ZJan Haller
<p>Textfeld mit TypeAhead bleibt grau, wenn mit Dynamic Update von readonly auf show gewechselt wird. Ursache <input background-color:"transparent"> (siehe Screenshot).</p> QFQ - Bug #15047 (New): {{allRequiredGiven:V}} = 0, wenn Note Formelement auf required isthttps://project.math.uzh.ch/issues/150472022-11-18T10:11:34ZPascal Rössler
<p>Wenn ein Note Formelement auf mode=required hat, ist {{allRequiredGiven:V}} immer = 0. Da man ein Formelement vom Typ Note gar nicht ausfüllen kann.</p> QFQ - Bug #15013 (New): Excel Import does not work with multiple importRegionhttps://project.math.uzh.ch/issues/150132022-11-10T15:56:12ZPhilipp Gröbelbauer
<p>Aus einem Excel sollen die Spalten A,B und D importiert werden.</p>
<p>A soll in die Spalte 'klasse', B in die Spalte 'stufe' und D in die Spalte 'grundlohn'.<br />Formelement.parameter wurde wie folgt gesetzt:</p>
<p>importToTable = lohn<br />importToColumns = klasse, stufe, grundlohn<br />importRegion = 1,A,6,B,904|1,D,6,D,904<br />importMode = append <br />importType = auto<br />accept = *<br />fileDestination = fileadmin/protected/imports/pay_regulations.xlsx<br />fileReplace = always</p>
<p>Spalten A und B funktionieren korrekt. Die Spalte D, welche in einer zweiten 'importRegion' angegeben wurde, wird jedoch nach 'klasse' importiert, anstatt nach 'grundlohn'.<br />Wenn eine 2. importRegion angegeben wird, dann sollte nicht auf die 1. angegebene DB-Spalte zurückgesprungen werden!</p> QFQ - Bug #14999 (New): FormElement 'text'/'select': horizontal alignment of symbol 'dropdown', '...https://project.math.uzh.ch/issues/149992022-11-06T16:18:24ZCarsten Rosecarsten.rose@math.uzh.ch
<p><img src="https://project.math.uzh.ch/attachments/download/6847/clipboard-202211061716-4merq.png" alt="" /></p> QFQ - Bug #14998 (New): Default Escape-Type different between `sql`and `head|tail`https://project.math.uzh.ch/issues/149982022-11-06T14:39:18ZCarsten Rosecarsten.rose@math.uzh.ch
<pre>
10 {
sql = SELECT CHAR(10) AS _lf
}
20 {
sql = SELECT '{{lf:R}}', '[hello 1]', '{{lf:R}}'
head = '{{lf:R}}[hello 2]{{lf:R}}'
# head = '{{lf:R::-}}[ hello 2]{{lf:R::-}}'
}
# Das kommt heraus:
\n[ hello 2]\n
[hello 1]
# Folgendes sollte heraus kommen
[hello 2]
[hello 1]
# Das gewuenschte kann erreicht werden, in dem die erste head Zeile durch die zweite ersetzt wird.
</pre>
<ul>
<li>Es ist schlecht das unterschiedliche Defaults beim escapen gelten. </li>
<li>Bitte nachschauen woran das liegt und mit CR beschrechen.</li>
<li>Wenn wir das einfach umstellen wird es Probleme mit mit alten Instanzen geben.</li>
<li>Bitte check was fuer <code>rbeg,rend,fbeg,fend,rsep,fsep,althead,altsql</code> gilt.</li>
</ul> QFQ - Bug #14636 (New): UI Design: Clear X is over up/down (step)https://project.math.uzh.ch/issues/146362022-08-31T08:19:54ZCarsten Rosecarsten.rose@math.uzh.chQFQ - Bug #14625 (ToDo): WebPass Import: User with ' in name - Form ist incompletehttps://project.math.uzh.ch/issues/146252022-08-29T12:01:13ZCarsten Rosecarsten.rose@math.uzh.ch
<p><img src="https://project.math.uzh.ch/attachments/download/6475/clipboard-202208291353-i1gdq.png" alt="" /></p>
<ul>
<li><a class="external" href="https://webwork16.math.uzh.ch/crose/qfq/index.php?id=typeahead">https://webwork16.math.uzh.ch/crose/qfq/index.php?id=typeahead</a> > Import Webpass user</li>
<li>Problematischer User: Simon d'Aquin, <a class="email" href="mailto:simon.daquin@pharma.uzh.ch">simon.daquin@pharma.uzh.ch</a>, sdaqui</li>
<li>Bei Klick auf Save erscheint 'Form Incomplete'. In dem Moment findet keine Kommunikation mit dem Server statt.</li>
</ul>
<p><img src="https://project.math.uzh.ch/attachments/download/6476/clipboard-202208291400-7bawn.png" alt="" /></p>
<ul>
<li>Vermutung: im Client stimmt etwas nicht. </li>
<li>Die Typeahead Antwort: `[{"key":"sdaqui","value":"Simon d'Aquin, <a class="email" href="mailto:simon.daquin@pharma.uzh.ch">simon.daquin@pharma.uzh.ch</a>, sdaqui"}]`</li>
</ul> QFQ - Bug #14531 (New): slaveId, sqlInsert and sqlUpdate should be renamedhttps://project.math.uzh.ch/issues/145312022-07-28T16:06:41ZNicola Chiapolini
<p><code>slaveId</code> , <code>sqlInsert</code> and <code>sqlUpdate</code> are a lot more generic then their name suggests. They should probably be called <code>condition</code>, <code>sqlIf</code>, <code>sqlElse</code></p> QFQ - Bug #14530 (New): Variables: Action 'X' does not output Type messagehttps://project.math.uzh.ch/issues/145302022-07-26T18:41:06ZNicola Chiapolini
<p>Subject says it all - makes debugging really annoying...</p>
<p><code>4.sql = SELECT "{{la_supervisr:R::X::hallo}}"</code></p>
<p>gives<br /><img src="https://project.math.uzh.ch/attachments/download/6414/clipboard-202207262040-ssmzv.png" alt="" /></p> QFQ - Bug #14508 (New): _exec: output will not be passed downhttps://project.math.uzh.ch/issues/145082022-07-12T10:48:54ZBenjamin Baerbenjamin.baer@math.uzh.ch
<p>The output of _exec can't be passed down to fields below, even with AS '_exec|column'</p>
<p>{{column}} will return the command, not the output
{{&column}} will return empty, not the output</p>
<p>BTW: folgender Code verhaelt sich korrekt</p>
<pre>
10.sql = SELECT 'echo "Hello World"' AS '_exec'
20.sql = SELECT '{{10.exec}}'
</pre> QFQ - Bug #14377 (New): Documentation > General Tips: white page after migrationhttps://project.math.uzh.ch/issues/143772022-06-17T13:28:54ZCarsten Rosecarsten.rose@math.uzh.ch
<p>Bitte die Fehlersuche beschreiben und (hoffentlich) den Fix.</p>
<ul>
<li>Apache / nginx Logfile</li>
<li>fuer FPM-PHP gibt es in der Regel ein eigenes Logfile.</li>
<li>Funktioniert das Backend</li>
<li>Funktioniert das Installtool</li>
<li>Funktioniert PHP</li>
<li>Wo loggt QFQ wenn es zu einem ganz fruehen Zeitpunkt crasht</li>
<li>Kannst Du den Debugger schon benutzen?</li>
<li>Cache loeschen</li>
<li>BaseUrl korrekt?</li>
<li>...</li>
</ul> QFQ - Bug #14322 (New): Form Load: by default no scroll (save & close should be visible)https://project.math.uzh.ch/issues/143222022-06-14T12:14:04ZCarsten Rosecarsten.rose@math.uzh.ch
<p>Wird ein Form geoeffnet (egal ob mit/ohne 'remember pill'), scrollt der Browser automatisch den Anker an die obere Browserfensterkante.</p>
<p>Das ist nervig (User fragt sich 'warum scrollt der Browser') und vor allem sieht man die Bedienelemente Save/Close nicht und wird damit gezwungen zurueck nach oben zu scrollen.</p>
<p>Bitte moegliche Loesungen überlegen und diese mit CR besprechen.</p>
<p>Dieses Verhalten ist vermutlich reingekommen als wir das Feature 'bring pill with missing required to front' implementiert haben (<a class="issue tracker-1 status-5 priority-4 priority-high2 closed behind-schedule" title="Bug: Missing required: Pill/Input not 'bring to front' (Closed)" href="https://project.math.uzh.ch/issues/6232">#6232</a>).</p> QFQ - Bug #14283 (Priorize): HEIC / HEIF convert doesn't triggerhttps://project.math.uzh.ch/issues/142832022-06-07T11:52:16ZBenjamin Baerbenjamin.baer@math.uzh.ch
<p>Related to #14255 - Konvertierung wird nicht angestossen nach upload.</p>
<p>Beispiel auf: <a class="external" href="https://exam.math.uzh.ch">https://exam.math.uzh.ch</a> > Test Exam (als User bbaer)<br />Uploaded file location: fileadmin/protected/exam/2/student/1/22014.HEIC</p>
<p>File wird nicht angezeigt. Beim ersten laden der Seite die die Thumbnails anzeigt, dauert das laden ewig (evtl haengt da was im konvertierungsprozess?)</p>
<p>Konvertieren von hand per heic-convert hat funktioniert bei allen dateien aus #14255 - angehaengte Beispiele sind umbenannt von jpg -> heic und heif.</p>
<p>Falls problem behoben wird / gefunden wird, muss ich danach auf exam noch den Standard Upload anpassen und .heic/.heif anfuegen, bitte Ticket zurueck geben.</p> QFQ - Bug #14175 (Priorize): Opening a form with no QFQ Session cookie failshttps://project.math.uzh.ch/issues/141752022-05-08T21:39:32ZCarsten Rosecarsten.rose@math.uzh.ch
<p>Wird eine Passwort Reset Mail mit einer URL+Token versendet, die direkt ein Form oeffnet, gibt es einen Fehler:</p>
<pre>
==================================================
UniqId:: 6278304af162c
------------------------------------------------
toUser:: General error - please report.
support:: File: /var/www/html/forkred/typo3conf/ext/qfq/Classes/Core/Form/Dirty.php / Line: 369 / Undefined index: cookieQfq
Timestamp:: 2022.05.08 23:04:10 +0200
Code:: 8
Message:: General error - please report.
Type:: Code Exception
current sip:: array (
'r' => '7322007',
'form' => 'setPassword',
's' => '6278304af0e35',
)
Page Id:: 68
Content Id:: 89
File:: /var/www/html/forkred/typo3conf/ext/qfq/Classes/Core/Exception/ErrorHandler.php
Line:: 42
CWD:: /var/www/html/forkred
IP Address:: 192.168.133.205
Stacktrace::
#0 /var/www/html/forkred/typo3conf/ext/qfq/Classes/Core/Form/Dirty.php(369): IMATHUZH\Qfq\Core\Exception\ErrorHandler::exception_error_handler(8, 'Undefined index...', '/var/www/html/f...', 369, Array)
#1 /var/www/html/forkred/typo3conf/ext/qfq/Classes/Core/QuickFormQuery.php(496): IMATHUZH\Qfq\Core\Form\Dirty->getCheckDirty('person', '7322007', Array, '')
#2 /var/www/html/forkred/typo3conf/ext/qfq/Classes/Core/QuickFormQuery.php(282): IMATHUZH\Qfq\Core\QuickFormQuery->doForm('form_load')
#3 /var/www/html/forkred/typo3conf/ext/qfq/Classes/Controller/QfqController.php(46): IMATHUZH\Qfq\Core\QuickFormQuery->process()
==================================================
</pre> QFQ - Bug #13943 (ToDo): unable to find formgrouphttps://project.math.uzh.ch/issues/139432022-03-23T07:18:13ZEnis Nuredini
<p>Im Console Log des Browsers erscheint bei Verwendung von Dynamic Update im Forms folgende message: "unable to find formgroup" <br />Darauf folgt "No element with name 's' found." (Bezieht sich 'sehr wahrscheinlich' auf die SIP die ebenfalls bei Aufruf der load.php Api zurückgegeben wird an den JS.)<br />Aktuell scheint es bisher keinen Impact auf den workflow zu haben. Wäre trotzdem von Vorteil dies zu beheben.</p>
<p><img src="https://project.math.uzh.ch/attachments/download/5962/unabletofindformgroup.png" alt="" /></p> QFQ - Bug #13899 (ToDo): Selenium: zum laufen bringenhttps://project.math.uzh.ch/issues/138992022-03-14T08:20:08ZEnis NurediniQFQ - Bug #13331 (New): Multi Form: Clear Icon misplacedhttps://project.math.uzh.ch/issues/133312021-11-07T11:39:51ZCarsten Rosecarsten.rose@math.uzh.chQFQ - Bug #12989 (Priorize): empty string does not trigger dynamic updatehttps://project.math.uzh.ch/issues/129892021-09-06T15:15:38ZMarc Egger
<p>A note whose value is rendered using dynamic update is not updated if the return value changes from "something" to "".</p>
<p>e.g.</p>
<p>In the "value" field of a dynamicly updated FormElement of type "note":</p>
<pre>
#!report
10.sql = SELECT "something" FROM (SELECT '') AS _fake WHERE "{{select:F}}"="a"
</pre>
<p>If "select" changes from "a" to "b" then the note still contains "something".</p>
<p>This bug was found by Philipp.</p> QFQ - Bug #11237 (New): Radiobutton / parameter.buttonClass= btn-default - kein dirty Triggerhttps://project.math.uzh.ch/issues/112372020-09-30T16:10:08ZElias Villiger
<p>Bei Radio buttons mit buttonClass=btn btn-default wird kein dirty-Event (mehr) getriggert (d.h. Save-Button wird nicht aktiviert). Ohne class="btn" funktioniert es.</p> QFQ - Bug #3613 (Some day maybe): note /note unchecked -> note div (col-md) wird weiterhin gerenderthttps://project.math.uzh.ch/issues/36132017-04-21T16:41:23ZElias Villiger
<p>FormElement - Tab Layout:</p>
<p>Wenn z.B. die Checkboxes note und /note deaktiviert werden, wird der note-div weiterhin gerendert, ausser man setzt die "BS Note Columns" explizit auf 0.</p>
Erwartet wäre:
<ul>
<li>Deaktivierung von note führt dazu, dass <div class='col-md-x qfq-note'> nicht gerendert wird</li>
<li>Deaktivierung von /note führt dazu, dass der entsprechende </div> nicht gerendert wird</li>
</ul>