https://project.math.uzh.ch/https://project.math.uzh.ch/favicon.ico?16668783892020-02-13T09:41:41ZProject @ iMathQFQ - Bug #10117: TypeAhead: After Save JSON is shown (not the tags)https://project.math.uzh.ch/issues/10117?journal_id=396092020-02-13T09:41:41ZCarsten Rosecarsten.rose@math.uzh.ch
<ul><li><strong>File</strong> <a href="/attachments/3453">ta2.png</a> <a class="icon-only icon-download" title="Download" href="/attachments/download/3453/ta2.png">ta2.png</a> added</li></ul><p>Test: <a class="external" href="http://webwork16.math.uzh.ch/crose/qfq/index.php?id=typeahead">http://webwork16.math.uzh.ch/crose/qfq/index.php?id=typeahead</a></p> QFQ - Bug #10117: TypeAhead: After Save JSON is shown (not the tags)https://project.math.uzh.ch/issues/10117?journal_id=396102020-02-13T10:03:24ZMarc Egger
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>In Progress</i></li></ul> QFQ - Bug #10117: TypeAhead: After Save JSON is shown (not the tags)https://project.math.uzh.ch/issues/10117?journal_id=396132020-02-13T13:01:32ZMarc Egger
<ul></ul><p>Sollte jetzt funktionieren. Schwierig vollstaendlig zu testen im Mockup.</p>
<p>Das Input Feld muss jetzt <strong>type="hidden" </strong>sein, nicht mehr "text" !!!</p>
<p>@Carsten: Kannst du es bei dir testen? Branch Name: B10117TypeAheadAfterSaveJSONIsShown</p>
<p><strong>Random Notes:</strong></p>
<p>Trigger fuer dirty passiert hier: this.form.on('form.changed', this.changeHandler.bind(this));</p> QFQ - Bug #10117: TypeAhead: After Save JSON is shown (not the tags)https://project.math.uzh.ch/issues/10117?journal_id=396142020-02-13T13:03:08ZMarc Egger
<ul><li><strong>Assignee</strong> changed from <i>Marc Egger</i> to <i>Carsten Rose</i></li></ul> QFQ - Bug #10117: TypeAhead: After Save JSON is shown (not the tags)https://project.math.uzh.ch/issues/10117?journal_id=396282020-02-13T14:25:38ZCarsten Rosecarsten.rose@math.uzh.ch
<ul></ul><p>Table: Person<br />Column: grade3<br /><pre>
typeAheadSql = SELECT f.name FROM Form AS f WHERE f.name LIKE ?
typeAheadMinLength=1
typeAheadTag=1
typeAheadTagDelimiter=9
</pre></p> QFQ - Bug #10117: TypeAhead: After Save JSON is shown (not the tags)https://project.math.uzh.ch/issues/10117?journal_id=396332020-02-13T18:09:55ZMarc Egger
<ul></ul><p>Revert war wahrscheinlich nicht noetig. Das Problem ist wahrscheinlich in dem code der durch `$element.trigger('qfqChange');` ausgeloest wird.</p> QFQ - Bug #10117: TypeAhead: After Save JSON is shown (not the tags)https://project.math.uzh.ch/issues/10117?journal_id=396412020-02-14T20:11:26ZMarc Egger
<ul></ul><p><strong>Branch</strong>: marcTagInputBugFix</p>
<p>Der neue Fehler sollte nicht mehr auftreten und das Formular wird auch nicht mehr beim laden auf 'dirty' gesetzt.</p>
<p>Das Input Feld muss weiterhin auf Type 'hidden' gesetzt werden. Ich habe im PHP Code (AbstractBuildForm.php) die Zeile </p>
<p><code>$formElement[FE_INPUT_TYPE] = 'hidden';</code></p>
<p>hinzugefuegt. Es gibt keine 'FE_TYPE_HIDDEN' Konstante, wusste nicht wesahlb, deshalb habe ich testeshalber <strong>'hidden'</strong> ausgeschrieben.</p> QFQ - Bug #10117: TypeAhead: After Save JSON is shown (not the tags)https://project.math.uzh.ch/issues/10117?journal_id=396422020-02-14T20:18:48ZCarsten Rosecarsten.rose@math.uzh.ch
<ul></ul><blockquote>
<p>Es gibt keine 'FE_TYPE_HIDDEN' Konstante, wusste nicht wesahlb, deshalb habe ich testeshalber <strong>'hidden'</strong> ausgeschrieben.</p>
</blockquote>
<p>Danke, das ist gut so.</p>
<p>FE_TYPE_... sind keine HTML Tags, sondern QFQ. Es gibt kein QFQ 'hidden' Element.</p>
<p>CU<br />Carsten</p> QFQ - Bug #10117: TypeAhead: After Save JSON is shown (not the tags)https://project.math.uzh.ch/issues/10117?journal_id=396432020-02-15T21:14:02ZCarsten Rosecarsten.rose@math.uzh.ch
<ul><li><strong>File</strong> <a href="/attachments/3456">tag1.png</a> <a class="icon-only icon-download" title="Download" href="/attachments/download/3456/tag1.png">tag1.png</a> added</li><li><strong>File</strong> <a href="/attachments/3458">tag2.png</a> <a class="icon-only icon-download" title="Download" href="/attachments/download/3458/tag2.png">tag2.png</a> added</li><li><strong>File</strong> <a href="/attachments/3457">tag3.png</a> <a class="icon-only icon-download" title="Download" href="/attachments/download/3457/tag3.png">tag3.png</a> added</li><li><strong>File</strong> <a href="/attachments/3459">tag4.png</a> <a class="icon-only icon-download" title="Download" href="/attachments/download/3459/tag4.png">tag4.png</a> added</li><li><strong>Status</strong> changed from <i>In Progress</i> to <i>New</i></li><li><strong>Assignee</strong> changed from <i>Carsten Rose</i> to <i>Marc Egger</i></li></ul><p>Hallo Marc</p>
<p>Danke fuer den Fix. Das JSON wird nun nicht mehr angezeigt. Ebenso ist dirty und Record Modify ok.</p>
<p>Neuer Effekt: nach dem Speichern fehlen Tags - nach einem F5 Reload sind alle da.</p>
<p>Form wird geladen mit 4 Tags:<br /><img src="https://project.math.uzh.ch/attachments/download/3456/tag1.png" alt="" /></p>
<p>Es wird ein 5 Tag hinzugefuegt:<br /><img src="https://project.math.uzh.ch/attachments/download/3458/tag2.png" alt="" /></p>
<p>Nach dem Save fehlen Tag1 & Tag4. Tag 2,3,5 sind da<br /><img src="https://project.math.uzh.ch/attachments/download/3457/tag3.png" alt="" /></p>
<p>Nach einem Reload sind alle 5 Tags da:<br /><img src="https://project.math.uzh.ch/attachments/download/3459/tag4.png" alt="" /></p> QFQ - Bug #10117: TypeAhead: After Save JSON is shown (not the tags)https://project.math.uzh.ch/issues/10117?journal_id=396482020-02-17T08:39:04ZMarc Egger
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>In Progress</i></li></ul> QFQ - Bug #10117: TypeAhead: After Save JSON is shown (not the tags)https://project.math.uzh.ch/issues/10117?journal_id=396512020-02-17T10:05:45ZMarc Egger
<ul></ul><p>Bug fixed, validator prevented tags to be shown. Turned validator off on form load.</p>
<p><strong>Branch</strong>: marcTagInputBugFix</p> QFQ - Bug #10117: TypeAhead: After Save JSON is shown (not the tags)https://project.math.uzh.ch/issues/10117?journal_id=396522020-02-17T10:06:24ZMarc Egger
<ul><li><strong>Status</strong> changed from <i>In Progress</i> to <i>New</i></li><li><strong>Assignee</strong> changed from <i>Marc Egger</i> to <i>Carsten Rose</i></li></ul> QFQ - Bug #10117: TypeAhead: After Save JSON is shown (not the tags)https://project.math.uzh.ch/issues/10117?journal_id=408112020-04-05T14:21:46ZCarsten Rosecarsten.rose@math.uzh.ch
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>Closed</i></li><li><strong>Target version</strong> changed from <i>next5</i> to <i>20.4.0</i></li></ul><p>CR: ich geh mal davon aus der Bug gefixt ist.</p>