getMessagesCount not returning correct count of error messages
The error message displayed when a flow fails to advance because of multiple page-level errors has extra asterisks.
In addition, pyOutput Clipboard page, generated when the flow fails to advance, must contain pyMessages array of all messages. When distortion of the message appears as shown in the image, this array misses everything except the first message.
Steps to Reproduce
Submit a form that has multiple errors, which prevent the flow from advancing.
When the flow is rewound, the activity restoreAssignment must recreate the original assignment. With the errors present, the flow transitioned to the next assignment. Moving the errors from the second assignment to the first assignment corrupts the messages.