Skip to content

FOUR-19402 Fix self_service_groups variable types#7430

Merged
ryancooley merged 1 commit intonextfrom
FOUR-19402
Sep 29, 2024
Merged

FOUR-19402 Fix self_service_groups variable types#7430
ryancooley merged 1 commit intonextfrom
FOUR-19402

Conversation

@caleeli
Copy link
Copy Markdown
Contributor

@caleeli caleeli commented Sep 27, 2024

Issue & Reproduction Steps

  • When the variable used in self_service_groups is a list of integer IDs it cause the webentry could not find the tasks self service assigned to the logged user.

Solution

  • Cast the self_service_groups variable types to array of strings.

How to Test

  • Import the process described in the ticket
  • Run the webentry with a logged user
  • Check that the second task does not show the self service task
  • Try to do a refresh and the problem persists

With the fix

  • Import the process described in the ticket
  • Run the webentry with a logged user
  • Check that the second task now shows a self service task
  • Try to do a refresh and self service remains

Related Tickets & Packages

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.

ci:next
ci:deploy

@ryancooley ryancooley merged commit 2196ed7 into next Sep 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants