Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for saveError (0.21 sec)

  1. src/main/java/org/codelibs/fess/app/web/go/GoAction.java

            }
            if (doc == null) {
                saveError(messages -> messages.addErrorsDocidNotFound(GLOBAL, form.docId));
                return redirect(ErrorAction.class);
            }
            final String url = DocumentUtil.getValue(doc, fessConfig.getIndexFieldUrl(), String.class);
            if (url == null) {
                saveError(messages -> messages.addErrorsDocumentNotFound(GLOBAL, form.docId));
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/app/web/admin/upgrade/AdminUpgradeAction.java

                } catch (final Exception e) {
                    logger.warn("Failed to upgrade data.", e);
                    saveError(messages -> messages.addErrorsFailedToUpgradeFrom(GLOBAL, VERSION_14_16, e.getLocalizedMessage()));
                }
            } else {
                saveError(messages -> messages.addErrorsUnknownVersionForUpgrade(GLOBAL));
            }
            return redirect(getClass());
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 12 01:54:46 UTC 2024
    - 54K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/app/web/sso/SsoAction.java

            if (loginCredential == null) {
                if (logger.isDebugEnabled()) {
                    logger.debug("No user in SSO request.");
                }
                if (ssoManager.available()) {
                    saveError(messages -> messages.addErrorsSsoLoginError(GLOBAL));
                }
                return redirect(LoginAction.class);
            }
            if (loginCredential instanceof ActionResponseCredential) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/web/cache/CacheAction.java

            }
            if (doc == null) {
                saveError(messages -> messages.addErrorsDocidNotFound(GLOBAL, form.docId));
                return redirect(ErrorAction.class);
            }
    
            final String content = viewHelper.createCacheContent(doc, form.hq);
            if (content == null) {
                saveError(messages -> messages.addErrorsDocidNotFound(GLOBAL, form.docId));
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/app/web/search/SearchAction.java

                    logger.debug(e.getMessage(), e);
                }
                saveError(e.getMessageCode());
                return redirectToRoot();
            } catch (final ResultOffsetExceededException e) {
                if (logger.isDebugEnabled()) {
                    logger.debug(e.getMessage(), e);
                }
                saveError(messages -> {
                    messages.addErrorsResultSizeExceeded(GLOBAL);
                });
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/app/web/base/FessBaseAction.java

            final FessMessages messages = createMessages();
            validationMessagesLambda.message(messages);
            sessionManager.info().saveMessages(messages);
        }
    
        protected void saveError(final VaMessenger<FessMessages> validationMessagesLambda) {
            final FessMessages messages = createMessages();
            validationMessagesLambda.message(messages);
            sessionManager.errors().saveMessages(messages);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/web/admin/plugin/AdminPluginAction.java

                map.put("version", "");
                result.add(map);
                try {
                    result.addAll(getAllAvailableArtifacts());
                } catch (final Exception e) {
                    saveError(messages -> messages.addErrorsFailedToFindPlugins(GLOBAL));
                    logger.warn("Failed to access a plugin repository.", e);
                }
                RenderDataUtil.register(data, "availableArtifactItems", result);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/web/admin/general/AdminGeneralAction.java

                systemProperties.store();
            } catch (final Exception e) {
                logger.warn("Failed to send a test mail.", e);
                saveError(messages -> messages.addErrorsFailedToSendTestmail(GLOBAL));
            }
    
            return redirectByParam(AdminGeneralAction.class, "notificationTo", form.notificationTo);
        }
    
        @Execute
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 12.8K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/app/web/admin/wizard/AdminWizardAction.java

                        job.launchNow();
                    });
                }
                saveInfo(messages -> messages.addSuccessStartCrawlProcess(GLOBAL));
            } else {
                saveError(messages -> messages.addErrorsFailedToStartCrawlProcess(GLOBAL));
            }
            return redirect(AdminWizardAction.class);
        }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/web/admin/maintenance/AdminMaintenanceAction.java

                    }
                }, e -> logger.warn("Failed to reindex from {} to {}", fromIndex, toIndex, e)));
                return true;
            }
            saveError(messages -> messages.addErrorsFailedToReindex(GLOBAL, fromIndex, toIndex));
            return false;
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 14K bytes
    - Viewed (0)
Back to top