]> gitweb.erp-flowers.ru Git - erp24_rep/yii-erp24/.git/commit
fix(ERP-245): separate broken-file marker from image src URL origin/feature_filippov_ERP-245_fix_domru_cams_type_error
authorAleksey Filippov <Aleksey.Filippov@erp-flowers.ru>
Sat, 28 Feb 2026 08:17:53 +0000 (11:17 +0300)
committerAleksey Filippov <Aleksey.Filippov@erp-flowers.ru>
Sat, 28 Feb 2026 08:17:53 +0000 (11:17 +0300)
commitadec94bff6bdd558682f2e609c9e67d32b3d5b49
treee488dade8fe336d6c4cc8a6d8e9a6087597a0d64
parent2440862383f4a73373e141897d1a0dea7d2aa6c0
fix(ERP-245): separate broken-file marker from image src URL

- WriteOffsErp::getImagesList() previously set $imageThumbRow='broken_file-error'
  as sentinel, then built src="/broken_file-error" causing Yii2 to try routing
  it as a controller action → repeated 404 errors in production logs
- Separated marker (kept in $relaFileName for alt/debug) from URL (now points
  to valid static placeholder /images/no-image.svg)
- Added erp24/web/images/no-image.svg: lightweight SVG fallback served by nginx

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
docs/jira/ERP-245/plan.md [new file with mode: 0644]
docs/jira/ERP-245/report.md [new file with mode: 0644]
docs/jira/ERP-245/spec.md [new file with mode: 0644]
erp24/records/WriteOffsErp.php
erp24/web/images/no-image.svg [new file with mode: 0644]