Commit c2a07de
fix: resolve PDF download issues (#1256)
* fix: resolve PDF download issues #1245 #1247
- Fix duplicate .pdf extension in ticket filenames by removing redundant provider identifier
- Add defensive null checks for order_position to prevent HTTP 500 errors
- Apply consistent filename format across presale, control, and API views
- Filenames now follow clean pattern: EVENT-CODE-POSITION.pdf
Fixes #1245: HTTP 500 error on confirmation page PDF download
Fixes #1247: Duplicate .pdf extension in ticket filename
* fix: correct extra closing brace in filename format string
Fixes syntax error where fallback filename
had an extra '}' character causing malformed filenames.
* fix: remove unnecessary null checks in PDF download
---------
Co-authored-by: Mario Behling <mb@mariobehling.de>
Co-authored-by: Srivatsav Auswin <75414859+Sak1012@users.noreply.github.com>1 parent de46975 commit c2a07de
3 files changed
+7
-14
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
296 | 296 | | |
297 | 297 | | |
298 | 298 | | |
299 | | - | |
| 299 | + | |
300 | 300 | | |
301 | 301 | | |
302 | | - | |
303 | 302 | | |
304 | 303 | | |
305 | 304 | | |
| |||
1094 | 1093 | | |
1095 | 1094 | | |
1096 | 1095 | | |
1097 | | - | |
| 1096 | + | |
1098 | 1097 | | |
1099 | 1098 | | |
1100 | 1099 | | |
1101 | | - | |
1102 | 1100 | | |
1103 | 1101 | | |
1104 | 1102 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
510 | 510 | | |
511 | 511 | | |
512 | 512 | | |
513 | | - | |
| 513 | + | |
514 | 514 | | |
515 | 515 | | |
516 | 516 | | |
517 | | - | |
518 | 517 | | |
519 | 518 | | |
520 | 519 | | |
521 | 520 | | |
522 | 521 | | |
523 | | - | |
| 522 | + | |
524 | 523 | | |
525 | 524 | | |
526 | | - | |
527 | 525 | | |
528 | 526 | | |
529 | 527 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1087 | 1087 | | |
1088 | 1088 | | |
1089 | 1089 | | |
1090 | | - | |
| 1090 | + | |
1091 | 1091 | | |
1092 | 1092 | | |
1093 | 1093 | | |
1094 | 1094 | | |
1095 | | - | |
1096 | 1095 | | |
1097 | 1096 | | |
1098 | 1097 | | |
1099 | | - | |
| 1098 | + | |
1100 | 1099 | | |
1101 | 1100 | | |
1102 | 1101 | | |
1103 | | - | |
1104 | 1102 | | |
1105 | 1103 | | |
1106 | 1104 | | |
1107 | 1105 | | |
1108 | 1106 | | |
1109 | | - | |
| 1107 | + | |
1110 | 1108 | | |
1111 | 1109 | | |
1112 | | - | |
1113 | 1110 | | |
1114 | 1111 | | |
1115 | 1112 | | |
| |||
0 commit comments