Symptom
Intermittent error "Cannot destructure property 'templateConfiguration' of 'a' as it is undefined" appears when adding or editing Goal via PM form.
If form page is refreshed or PM form is reopened, the error doesn't appear.
Environment
SAP SuccessFactors Performance & Goals
Reproducing the Issue
- Grant all the necessary goal plan permissions following the KBA 3528241 - When editing or creating goals on form, error is received: Cannot destructure property 'templateConfiguration' of 'r' as it is undefined.
- Launch a form, open it and access the Goals section.
- Attempt to edit or add a goal within the form.
- Observe the error message: "Cannot destructure property 'templateConfiguration' of 'a' as it is undefined".
- Refresh the page or leave the form and open it again.
- The error doesn't appear again.
Cause
Resolution
The solution of this issue is currently under investigation. Please follow this KBA for updates.
Workaround: Refresh the form or reopen it to bypass the error.
See Also
Refer to:
Keywords
PMGM, Performance form, Goal, goals, edit goal, add goal, templateConfiguration error, error, cannot destructure property, undefined error, goal editing issue, page refresh, reopen form, intermittent error. , KBA , LOD-SF-GM-TMP , Template Management , LOD-SF-PM-GM , Goals in PM Form , Bug Filed
SAP Knowledge Base Article - Public