Skip to content

FOUR-31894 SCREEN BUILDER >> Repeated calls of vocabularies#1915

Merged
caleeli merged 3 commits into
feature/FOUR-30918from
FOUR-31894
Jun 18, 2026
Merged

FOUR-31894 SCREEN BUILDER >> Repeated calls of vocabularies#1915
caleeli merged 3 commits into
feature/FOUR-30918from
FOUR-31894

Conversation

@devmiguelangel

@devmiguelangel devmiguelangel commented Jun 16, 2026

Copy link
Copy Markdown
Contributor

Issue & Reproduction Steps

SCREEN BUILDER >> Repeated calls of vocabularies

Solution

Moved the vocabulary schema URL setup in task.vue into setVocabulariesSchemaUrl(), which invalidates the cache only when the task changes. Updated ScreenBase.js to use window.ProcessMaker.VocabulariesSchemaCache, keyed by VocabulariesSchemaUrl, so nested renderers share one schema request instead of triggering duplicate calls.

FOUR-31894

Related Tickets & Packages

FOUR-31894

Code Review Checklist

  • I have pulled this code locally and tested it on my instance, along with any associated packages.
  • This code adheres to ProcessMaker Coding Guidelines.
  • This code includes a unit test or an E2E test that tests its functionality, or is covered by an existing test.
  • This solution fixes the bug reported in the original ticket.
  • This solution does not alter the expected output of a component in a way that would break existing Processes.
  • This solution does not implement any breaking changes that would invalidate documentation or cause existing Processes to fail.
  • This solution has been tested with enterprise packages that rely on its functionality and does not introduce bugs in those packages.
  • This code does not duplicate functionality that already exists in the framework or in ProcessMaker.
  • This ticket conforms to the PRD associated with this part of ProcessMaker.

@devmiguelangel devmiguelangel self-assigned this Jun 16, 2026
@cypress

cypress Bot commented Jun 16, 2026

Copy link
Copy Markdown

screen-builder    Run #2271

Run Properties:  status check passed Passed #2271  •  git commit 249c77b13b: FOUR-31894 SCREEN BUILDER >> Repeated calls of vocabularies
Project screen-builder
Branch Review FOUR-31894
Run status status check passed Passed #2271
Run duration 43m 11s
Commit git commit 249c77b13b: FOUR-31894 SCREEN BUILDER >> Repeated calls of vocabularies
Committer Miguel Angel
View all properties for this run ↗︎

Test results
Tests that failed  Failures 0
Tests that were flaky  Flaky 0
Tests that did not run due to a developer annotating a test with .skip  Pending 19
Tests that did not run due to a failure in a mocha hook  Skipped 0
Tests that passed  Passing 389
View all changes introduced in this branch ↗︎

@processmaker-sonarqube

Copy link
Copy Markdown

@devmiguelangel devmiguelangel requested a review from caleeli June 17, 2026 17:41
@caleeli caleeli merged commit bbea888 into feature/FOUR-30918 Jun 18, 2026
70 of 89 checks passed
@caleeli caleeli deleted the FOUR-31894 branch June 18, 2026 21:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants