Bug 47705 - Pass entry_counter to format hooks
Pass entry_counter to format hooks
Status: CLOSED WONTFIX
Product: UCS@school
Classification: Unclassified
Component: Import scripts
UCS@school 4.3
Other Linux
: P5 normal (vote)
: ---
Assigned To: UCS@school maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2018-08-31 10:50 CEST by Sönke Schwardt-Krummrich
Modified: 2023-06-12 15:39 CEST (History)
0 users

See Also:
What kind of report is it?: Bug Report
What type of bug is this?: 1: Cosmetic issue or missing function but workaround exists
Who will be affected by this bug?: 2: Will only affect a few installed domains
How will those affected feel about the bug?: 2: A Pain – users won’t like this once they notice it
User Pain: 0.023
Enterprise Customer affected?:
School Customer affected?: Yes
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sönke Schwardt-Krummrich univentionstaff 2018-08-31 10:50:19 CEST
Current problem in a customer environment:

Currently the number of the current input record is not passed to format hooks.
So if a format hook intentionally raises an exception (e.g. due to an invalid character), the exception does not contain a line number/record number.

This requires a manual search for the traceback within a 2.2 GB log file (~80.000 user).
Comment 1 Jan-Luca Kiok univentionstaff 2023-06-12 15:32:10 CEST
This issue has been filed against UCS@school 4.3 or earlier.

UCS 4.3 is out of maintenance and UCS components have vastly changed in later releases. Thus, this issue is now being closed.

If this issue still occurs in newer UCS versions, please use "Clone this bug" or reopen this issue. In this case please provide detailed information on how this issue is affecting you.