UVE: Unexpected client-side requests to /api/v1/ema from the backend
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 970
- Forks
- 486
- Avg merge
- 3d 33m
- Merged PRs (30d)
- 170
Description
Problem Statement
When editing a PageAsset in the backend, dotCMS sends several requests to /api/v1/ema even when there are no EMA App configurations.
Steps to Reproduce
- Open the browser inspector -> Network tab
- Edit a PageAsset like https://demo.dotcms.com/dotAdmin/#/edit-page/content?url=%2Findex&language*id=1&mode=EDIT*MODE
- See 404 requests to
/api/v1/ema - Also see corresponding errors in the dotCMS log
INFO util.SecurityLogger: class com.dotcms.rest.exception.mapper.DoesNotExistExceptionMapper : No configuration was found for EMA on the current site
Acceptance Criteria
Not sure
dotCMS Version
latest
Proposed Objective
Core Features
Proposed Priority
Priority 3 - Average
External Links... Slack Conversations, Support Tickets, Figma Designs, etc.
https://dotcms.slack.com/archives/C028Z3R2D/p1744406997189219
Assumptions & Initiation Needs
No response
Quality Assurance Notes & Workarounds
No response
Sub-Tasks & Estimates
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the issue by editing a PageAsset at the linked demo URL and watching the Network tab for requests to /api/v1/ema. Check the corresponding dotCMS log entry and trace which PageAsset editing entry point triggers the requests. Done means requests are not sent when no EMA configuration exists, with no related 404s or log errors.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- api, backend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 32/100