-
Notifications
You must be signed in to change notification settings - Fork 465
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Reindex] : Perform Site check before Folder check #20722
Labels
Changelog: Documented
dotCMS : Content Management
Merged
QA : Approved
QA : Passed Internal
Release : 5.3.8.7
Included in LTS patch release 5.3.8.7
Release : 21.06.4
Included in LTS patch release 21.06.4
Release : 21.09
Type : Defect
Comments
jcastro-dotcms
added a commit
that referenced
this issue
Jul 28, 2021
…ite before checking the contentlet's folder.
fabrizzio-dotCMS
added a commit
that referenced
this issue
Aug 6, 2021
fabrizzio-dotCMS
added a commit
that referenced
this issue
Aug 10, 2021
fabrizzio-dotCMS
added a commit
that referenced
this issue
Aug 10, 2021
nollymar
pushed a commit
that referenced
this issue
Aug 11, 2021
…20723) * #20722 : Validating if the `contentlet.getHostId()` returns a valid Site before checking the contentlet's folder. * #20722 refactoring ESMappingAPIImpl * #20722 fixing issues starting up app * #20722 fixing test that reveled was failing Co-authored-by: Nollymar Longa <> Co-authored-by: fabrizzio-dotCMS <fabrizzio@dotCMS.com>
Passed internal QA:
|
Fixed, tested with the provided steps and now we have the same log that @nollymar put in her comment, tested on release-21.09 // Postgres // FF |
swicken-dotcms
added a commit
that referenced
this issue
Nov 19, 2021
…y required changes on commit 43fcf8d as the full refactoring changes are too extensive
jcastro-dotcms
added a commit
that referenced
this issue
Nov 25, 2021
…y required changes on commit 43fcf8d as the full refactoring changes are too extensive.
NOTE: The previous commit: 15f0186 refers to the dotCMS 5.3.8.7 LTS release instead. |
jcastro-dotcms
added
LTS: Released
Release : 5.3.8.7
Included in LTS patch release 5.3.8.7
and removed
LTS : Next
Ticket that will be added to LTS
labels
Nov 25, 2021
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Changelog: Documented
dotCMS : Content Management
Merged
QA : Approved
QA : Passed Internal
Release : 5.3.8.7
Included in LTS patch release 5.3.8.7
Release : 21.06.4
Included in LTS patch release 21.06.4
Release : 21.09
Type : Defect
Reported during customer upgrade.
Reproducible in all versions of dotCMS.
During the upgrade process for a customer -- coming from dotCMS 4.3.3 -- the full ES Reindex returned errors with several contents. For example:
After taking a deeper look at the actual data with @manuel-miranda , we figured out that the ID
88d50eff-98c9-4659-88a7-c71db9118b5e
is NOT a Site, but a simple contentlet. This is wrong as Contentlets can only live under System Host, a Site, or a folder. We noticed tat we are validating this scenario, but it's being called after validating the Contentlet's folder. Such a validation should happen after the Site has been validated.We haven't been able to determine how the customer ended up with Contentlets pointing to an invalid Site.
To Reproduce
Steps to reproduce the behavior:
Site or Folder
, andText
.SYSTEM HOST
.identifier
table, and change thehost_inode
column to any Identifier that IS NOT A VALID SITE.Expected behavior
The ES Reindex should indicate a problem with an invalid Site, and NOT an invalid folder.
Additional context
Misleading error messages take a toll on troubleshooting times for Support tickets.
The text was updated successfully, but these errors were encountered: