Closed zJaaal closed 2 weeks ago
We have to test this again, could possibly be fixed in this card https://github.com/dotCMS/core/issues/28947
https://github.com/user-attachments/assets/f9fa4bcb-aabc-4bb7-82cf-52f2f172b77a
This is working now, however I'm getting a NPE in the log every time that I call the chain of vanities, https://gist.github.com/bryanboza/7d7729859e44f2e745fe39f225ff4a6d
We need to tale look of this error and make sure will not affect any other feature when I'm navigating into the final page.
This is working now, however I'm getting a NPE in the log every time that I call the chain of vanities, https://gist.github.com/bryanboza/7d7729859e44f2e745fe39f225ff4a6d
We need to tale look of this error and make sure will not affect any other feature when I'm navigating into the final page.
The exception is not related to UVE or vanity URLs. The NPE was reproducible with the 20240807
starter, which lacks vanity URLs pointing to the pages where the exception occurs. Specifically, the problem arises in the ShortyServlet
when it tries to retrieve the inodePath
of an image. It fails because some images in the starter have a null
liveInode
, while the method assumes the presence of a live version, leading to the failure.
20240807
starter./
or /index
.As the exception is related to data, we are catching the NPE and throwing and logging a dotCMS checked exception
dotcms/dotcms:trunk_3ecd733
]https://github.com/user-attachments/assets/9673e2a9-3da9-46f1-9abe-6982fa229b89
We need to take look the following case here:
@bryanboza please share more details to reproduce this error. Are you using full starter data? what page are you using? did you create a new one?
Sorry guys, it seems the error is related to the page I selected for the example, so it's not associated with the vanity chain. We can pass on this one for now, and I'll create a new card for it since it's out of the scope of this card.
Parent Issue
TBD
Problem Statement
If we create a Vanity URL that is a redirect (Permanent or Temporary) that points to another Vanity URL (Permanent or Temporary) it will never get to the final page inside of the UVE.
Steps to Reproduce
All vanity URLs should be permanent or temporary redirects.
https://github.com/dotCMS/core/assets/63567962/ad8e88bf-1af5-4bfd-81cd-976966e2fdf5
Acceptance Criteria
We should be able to handle N redirects using the Vanity URL since is a possible behavior.
dotCMS Version
trunk-latest
Proposed Objective
Technical User Experience
Proposed Priority
Priority 2 - Important
Assumptions & Initiation Needs
Quality Assurance Notes & Workarounds
No workarounds at the moment.