Project

General

Profile

Actions

Bug #12395

open

QFQ Function: Result two times shown

Added by Carsten Rose over 1 year ago. Updated 24 days ago.

Status:
Priorize
Priority:
High
Assignee:
Carsten Rose
Target version:
Start date:
29.04.2021
Due date:
% Done:

0%

Estimated time:
Discuss:
Prio Planung:
No

Description

Bei QFQ-Function scheint es so zu sein, das das result set zweimal ausgegben wird wird function und sql in einem Level vorkommen:

                           
    # Individual application                                                                                         
    70 {
      function = FtgApplicationPdf(apId) => commandPdf
      sql = SELECT CONCAT('p:{{pageAlias:T}}&form=ap_ftg_dekanat&r=', ap.id, '|s|b|t:<span class="badge">', ap.id, '</span>') AS _page
                  # Action
                  , CONCAT( 'z'
                      , CONCAT('||p:{{pageAlias:T}}&form=ap_ftg&r=', ap.id, '&formModeGlobal=requiredOff|t:Edit|s|q:Really Edit the Application?') 
 #                     , CONCAT('||{{commandPdf:R}}|b:0') 
                      , CONCAT('||p:printview_ftg&type=1&apId=', ap.id, '|s|t:PrintView (debug)', IF({{isDev:R}}, '','|r:5'))
                    ) AS _link
                  , CONCAT(p.lastName, ', ', p.firstName)

 
Actions #1

Updated by Carsten Rose over 1 year ago

  • Tracker changed from Support to Bug
Actions #2

Updated by Carsten Rose over 1 year ago

  • Target version changed from next5 to next4
Actions #3

Updated by Carsten Rose over 1 year ago

  • Target version changed from next4 to next3
Actions #4

Updated by Carsten Rose over 1 year ago

  • Priority changed from High to Normal
Actions #5

Updated by Carsten Rose over 1 year ago

  • Status changed from New to ToDo
Actions #6

Updated by Carsten Rose 12 months ago

  • Assignee changed from Carsten Rose to Enis Nuredini
  • Priority changed from Normal to High
Actions #7

Updated by Carsten Rose 12 months ago

  • Target version changed from next3 to next2
Actions #8

Updated by Carsten Rose 12 months ago

  • Target version changed from next2 to 22.12.0
Actions #9

Updated by Enis Nuredini 12 months ago

  • Status changed from ToDo to Priorize
Actions #10

Updated by Enis Nuredini 12 months ago

  • Status changed from Priorize to ToDo
Actions #11

Updated by Enis Nuredini 12 months ago

  • Assignee changed from Enis Nuredini to Carsten Rose

Ich hab mich in die Logik reingearbeitet und wurde nicht ganz schlau daraus. Hilfreiche Breakpoints könnten folgende sein:
Report.php-> public function process(Zeile 240) | private function triggerReport ( Zeilen 536, 557, 583, 793)

$indexArray sollte beobachtet werden, wird jedoch mehrmals neu generiert. Wird auch in Schleife mit counter-Variable verglichen.

$indexArray steht wiederum in Zusammenhang mit $ttLineArray welches aus dem $bodyText (Report Seite) erzeugt wird.

Actions #12

Updated by Carsten Rose 9 months ago

Muss von CR angeschaut werden

Actions #13

Updated by Carsten Rose 3 months ago

  • Target version changed from 22.12.0 to 22.11.1
Actions #14

Updated by Carsten Rose 3 months ago

  • Status changed from ToDo to Priorize
Actions #15

Updated by Carsten Rose 24 days ago

  • Target version changed from 22.11.1 to 22.11.0
  • Prio Planung set to No
Actions

Also available in: Atom PDF