Skip to content

Power Up: Tools 'Get Email Templates' returning incomplete list of HTML templates #304

@HaveSec

Description

@HaveSec

Describe the bug
I am reporting an issue with the Tools Power Up after updating to the latest version. The "Get Email Templates" Action appears to be broken, as it fails to retrieve the full list of resources.
When querying for HTML templates, the action only retrieves 33 templates, missing 3 critical templates from the expected total of 36.
This issue may be reproducible when querying non-HTML templates, but further testing is required to confirm."

To Reproduce
Create more than 33 HTML Mail Templates
Run the current "Get Email Templates" version with "Template Type" set to HTML

Expected behavior
Return all of my HTML templates, even if the numer of templates is larger than 33.

Additional context
I noticed the API endpoint has changed from /external/v1/settings/GetEmailTemplateRecords to 1p external/v1/system/settings/emailTemplates

Metadata

Metadata

Labels

BugSomething isn't workingStale

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions