Repository navigation
Task/FOUR-34428: Move created vue components to plugin project - #9183
Conversation
Include preview presets in screen YAML exports and normalize imported preset data so JSON strings and YAML mappings persist consistently. Add coverage for deploy, update, and pull workflows.
PR SummaryMedium Risk Overview Collection MCP catalog tolerates MySQL error 1412 when counting records on dynamic Tests: New deploy-screen coverage for preset create/update/pull and empty-map encoding; deploy-script test prefers the seeded Reviewed by Cursor Bugbot for commit 454eea0. Bugbot is set up for automated code reviews on this repo. Configure here. |
Convert empty arrays to objects before JSON encoding preset data so empty YAML mappings persist as . Add coverage for top-level and nested mappings.
Ignore MySQL error 1412 when reading collection counts while allowing other query errors to propagate. Stabilize script executor and duplication tests, and remove the duplicate process request test.
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes using default effort and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit 454eea0. Configure here.
| // MySQL 1412: DDL that created collection_* inside an open txn invalidates the table cache. | ||
| if (!str_contains($e->getMessage(), '1412')) { | ||
| throw $e; | ||
| } |
There was a problem hiding this comment.
Exception matcher swallows unrelated errors
Low Severity
The 1412 guard uses str_contains on the exception message, and Laravel embeds the SQL (including collection_{id}) in that message. Any QueryException for a collection whose id contains 1412 is treated as the DDL cache issue, so record_count stays 0 and real failures are hidden.
Reviewed by Cursor Bugbot for commit 454eea0. Configure here.
|






Description
Include preview presets in screen YAML exports and normalize imported preset data so JSON strings and YAML mappings persist consistently. Add coverage for deploy, update, and pull workflows.
Related Tickets and PRs
https://processmaker.atlassian.net/browse/FOUR-34428