Welcome
Sign in to start your session
Login
Login
[app info]
Brief app info: ENV: [DEV] commitId: 9589f9de1fc2b50379e9d53cbc6a3bdf2af99f25 branch: develop build date: 2026-07-10T15:22:46Z build version: 2026.04.03-SNAPSHOT commit message: #37897 Fix report SQL placeholders '& XXX_BLOCK' -> '&XXX_BLOCK' (column "..._where_block" does not exist) SqlQuery.query() substitutes condition scopes via replaceAll(scope, ...) where scope is the exact no-space token (e.g. "&CURRENCY_WHERE_BLOCK"). Nine report SQLs added in #37678 wrote the placeholders with a space ("& CURRENCY_WHERE_BLOCK"), so the regex never matched, the token survived into the executed SQL, and Postgres parsed the leftover as a column -> ERROR: column "currency_where_block" does not exist (also where_block / fdi_where_block / player_where_block). This broke Traffic Quality, Monthly KPI and all Affiliate Partner reports since 2026-05-25. Removes the space in all 12 placeholders across 9 files. Verified: EXPLAIN plans all nine fixed queries against Postgres, and the original spaced SQL reproduces the exact error. The bare HAVING scope (EXTERNAL_TRANSACTION_HAVING_BLOCK, without '&') is left unchanged. UPTIME: 0d 0h 47m 33s Git log: f4354... | 2026-07-10T16:40:24+03:00 | Rodion | #37857 phase 2: role-gate the remaining no-lega... d1104... | 2026-07-10T14:37:08+03:00 | Rodion | #37857 Reconcile UI role rules with #37895: uni... 461f9... | 2026-07-10T15:04:58+03:00 | ostas | #37544 8e0fa... | 2026-07-10T13:34:27+03:00 | Rodion | #37689 admin fixes backported to develop (cohor... f5b32... | 2026-07-09T17:39:19+03:00 | Rodion | Add browser-discovered functional specification... 5be45... | 2026-07-09T15:30:44+03:00 | ostas | #37887 a61a6... | 2026-07-09T14:47:24+03:00 | ostas | #37574 7f61c... | 2026-07-09T14:12:57+03:00 | ostas | #37884 c3911... | 2026-07-09T14:10:27+03:00 | ostas | #37885 e631b... | 2026-07-09T13:53:42+03:00 | ostas | #37883
copy to clipboard