-
Notifications
You must be signed in to change notification settings - Fork 470
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
fix(hosts) : cache non existing hosts (#27366) #29390
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Where does the 404Cache get cleared?
It should be cleared on every save of a host
dotCMS/src/main/java/com/dotmarketing/portlets/contentlet/business/HostCacheImpl.java
Outdated
Show resolved
Hide resolved
dotCMS/src/main/java/com/dotmarketing/portlets/contentlet/business/HostAPIImpl.java
Outdated
Show resolved
Hide resolved
dotCMS/src/main/java/com/dotmarketing/portlets/contentlet/business/HostAPIImpl.java
Outdated
Show resolved
Hide resolved
dotCMS/src/main/java/com/dotmarketing/portlets/contentlet/business/HostAPIImpl.java
Outdated
Show resolved
Hide resolved
dotCMS/src/main/java/com/dotmarketing/portlets/contentlet/business/HostAPIImpl.java
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
All the same issue, use UtilMethods.isSet(()->object.method())
dotCMS/src/main/java/com/dotmarketing/portlets/contentlet/business/HostFactoryImpl.java
Outdated
Show resolved
Hide resolved
dotCMS/src/main/java/com/dotmarketing/portlets/contentlet/business/HostFactoryImpl.java
Outdated
Show resolved
Hide resolved
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have already approved the changes in the past, however new changes were added and re-review were asked to do, again, changes looks good
Will is too busy :) Sanchez and I double checked the PR and looks good, and tests are good
Proposed Changes
Checklist
This PR fixes: #27366