Project

General

Profile

Actions

Bug #12395

open

QFQ Function: Result two times shown

Added by Carsten Rose about 3 years ago. Updated 4 months 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
Vote:

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 about 3 years ago

  • Tracker changed from Support to Bug
Actions #2

Updated by Carsten Rose about 3 years ago

  • Target version changed from next5 to next4
Actions #3

Updated by Carsten Rose about 3 years ago

  • Target version changed from next4 to next3
Actions #4

Updated by Carsten Rose about 3 years ago

  • Priority changed from High to Normal
Actions #5

Updated by Carsten Rose about 3 years ago

  • Status changed from New to ToDo
Actions #6

Updated by Carsten Rose over 2 years ago

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

Updated by Carsten Rose over 2 years ago

  • Target version changed from next3 to next2
Actions #8

Updated by Carsten Rose over 2 years ago

  • Target version changed from next2 to 355
Actions #9

Updated by Enis Nuredini over 2 years ago

  • Status changed from ToDo to Priorize
Actions #10

Updated by Enis Nuredini over 2 years ago

  • Status changed from Priorize to ToDo
Actions #11

Updated by Enis Nuredini over 2 years 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 over 2 years ago

Muss von CR angeschaut werden

Actions #13

Updated by Carsten Rose almost 2 years ago

  • Target version changed from 355 to 385
Actions #14

Updated by Carsten Rose almost 2 years ago

  • Status changed from ToDo to Priorize
Actions #15

Updated by Carsten Rose over 1 year ago

  • Target version changed from 385 to 24.10.0
  • Prio Planung set to No
Actions #16

Updated by Carsten Rose over 1 year ago

  • Target version changed from 24.10.0 to 411
Actions #17

Updated by Carsten Rose over 1 year ago

  • Target version changed from 411 to 22.12.1
Actions #18

Updated by Carsten Rose over 1 year ago

  • Target version changed from 22.12.1 to 24.9.0
Actions #19

Updated by Carsten Rose 4 months ago

  • Target version changed from 24.9.0 to 24.6.0
Actions

Also available in: Atom PDF