fix #362
This commit is contained in:
parent
7166ab805c
commit
85e9590dfa
3 changed files with 3 additions and 5 deletions
|
@ -48,12 +48,11 @@ public class CacheAction extends FessSearchAction {
|
|||
// ==============
|
||||
@Execute
|
||||
public ActionResponse index(final CacheForm form) {
|
||||
validate(form, messages -> {}, () -> asHtml(path_Error_ErrorJsp));
|
||||
if (isLoginRequired()) {
|
||||
return redirectToLogin();
|
||||
}
|
||||
|
||||
validate(form, messages -> {}, () -> asHtml(path_Error_ErrorJsp));
|
||||
|
||||
Map<String, Object> doc = null;
|
||||
try {
|
||||
doc =
|
||||
|
|
|
@ -60,10 +60,10 @@ public class GoAction extends FessSearchAction {
|
|||
// ==============
|
||||
@Execute
|
||||
public ActionResponse index(final GoForm form) throws IOException {
|
||||
validate(form, messages -> {}, () -> asHtml(path_Error_ErrorJsp));
|
||||
if (isLoginRequired()) {
|
||||
return redirectToLogin();
|
||||
}
|
||||
validate(form, messages -> {}, () -> asHtml(path_Error_ErrorJsp));
|
||||
|
||||
Map<String, Object> doc = null;
|
||||
try {
|
||||
|
|
|
@ -48,12 +48,11 @@ public class ScreenshotAction extends FessSearchAction {
|
|||
// ==============
|
||||
@Execute
|
||||
public ActionResponse index(final ScreenshotForm form) {
|
||||
validate(form, messages -> {}, () -> asHtml(path_Error_ErrorJsp));
|
||||
if (isLoginRequired()) {
|
||||
return redirectToLogin();
|
||||
}
|
||||
|
||||
validate(form, messages -> {}, () -> asHtml(path_Error_ErrorJsp));
|
||||
|
||||
final Map<String, Object> doc =
|
||||
fessEsClient.getDocument(fessConfig.getIndexDocumentSearchIndex(), fessConfig.getIndexDocumentType(),
|
||||
queryRequestBuilder -> {
|
||||
|
|
Loading…
Add table
Reference in a new issue