Repository navigation
Conversation
Screen preview was migrated to Vite via loaderScreenPreview.js, which calls setupMain() but did not initialize ProcessMaker.screen or initializeScreenCache(). DataProvider.getDataSource() reads ProcessMaker.screen.cacheEnabled/cacheTimeout and threw when screen was undefined. The error was swallowed in FormSelectList, so Data Connector Select Lists showed "No Data Available" even when the connector endpoint returned HTTP 200 (FOUR-33688, FOUR-33644). Initialize screen cache settings from meta tags and call initializeScreenCache() after setupMain(), matching bootstrap.js and screenBuilder.js behavior. Also remove accidental debug text from previewscreennextvite.blade.php. https://processmaker.atlassian.net/browse/FOUR-33688 https://processmaker.atlassian.net/browse/FOUR-33644
Extract initializeScreenCacheFromMeta to read screen cache settings from meta tags, set ProcessMaker.screen, and call initializeScreenCache(). Use the helper in Vite entry points that call Vue.use(ScreenBuilder) or mount forms before screenBuilder async init runs, where bootstrap.js is not loaded. This fixes Data Connector Select Lists showing "No Data Available" when ProcessMaker.screen was undefined (FOUR-33688, FOUR-33644). - Add resources/js/next/initializeScreenCacheFromMeta.js (idempotent) - Refactor resources/js/next/screenBuilder.js to use the helper - Update loaderScreenPreview, loaderScreen, loaderRequestsShow, loaderRequestsPreview, loaderTasks, and vite/tasks/loaderTasks https://processmaker.atlassian.net/browse/FOUR-33688 https://processmaker.atlassian.net/browse/FOUR-33644
This comment was marked as resolved.
This comment was marked as resolved.
|
henryjonathanquispe
approved these changes
Oct 6, 2026
henryjonathanquispe
approved these changes
Oct 8, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.





Screen preview was migrated to Vite via loaderScreenPreview.js, which calls setupMain() but did not initialize ProcessMaker.screen or initializeScreenCache(). DataProvider.getDataSource() reads ProcessMaker.screen.cacheEnabled/cacheTimeout and threw when screen was undefined. The error was swallowed in FormSelectList, so Data Connector Select Lists showed "No Data Available" even when the connector endpoint returned HTTP 200 (FOUR-33688, FOUR-33644).
Initialize screen cache settings from meta tags and call initializeScreenCache() after setupMain(), matching bootstrap.js and screenBuilder.js behavior.
Also remove accidental debug text from previewscreennextvite.blade.php.
https://processmaker.atlassian.net/browse/FOUR-33688
https://processmaker.atlassian.net/browse/FOUR-33644
ci:deploy