Closed jgambarios closed 6 months ago
On this ticket, the getContentUnderParentFromDB
and selectQuery
methods in BrowserAPIImpl
class have been refactored to remove the unnecessary dependency with Elasticsearch, leaving only the DB lookup.
For reference, the removed ES changes were introduced based on https://github.com/dotCMS/core/issues/23449#issuecomment-1456592701 and in this commit https://github.com/dotCMS/core/commit/a3030c6a7da9d72c46122c08c3c6b0e0853dea67
Note to QA: Please test again this card #23449
I tested this against a local copy of our authoring server (where the issue was originally found). Before testing a full reindex was run. My test was:
I did this always trying to pull/push several files at once I did it for live and working items.
Also tried this using the --removeFolder option
in none of the attempts I got a 404 error like the one described above. I also verified this card as requested
Fixed, tested following the provided steps and I'm unable to reproduce
Problem Statement
Deleting content using the CLI with the
--removeAssets
flag, and then pulling content, results in 404 errors. It appears that we are not excluding the removed assets (which are now archived on the server), leading to the 404 errors.Steps to Reproduce
--removeAssets
flag.Acceptance Criteria
Archived contents should be ignored, and no error should be thrown.
Proposed Objective
Core Features
Proposed Priority
Priority 2 - Important