Parametrized approval is not started after choosing "Approved" or "Rejected" as re-approval statuses

Description

Steps to reproduce:

  1. Have Page versioning enabled in APFC Global Settings

  2. Open Approval Path modal on any page, proceed to “New” tab

  3. Click the parametrize button on any approval

  4. Enable “Approve the current version of the page” option

  5. Add any of the following statuses as “Re-approval statuses”

    • Approved

    • Rejected

  6. Try to start an approval

Actual result: An error without any text appears, approval is not started, and parametrize options are reset.

Expected result: Approval is started successfully with all of the parametrization applied.

Please note: “In progress” and “Incomplete” statuses are not affected.