Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for addErrorsFailedToDeleteFile (0.12 sec)

  1. src/main/java/org/codelibs/fess/app/web/api/admin/storage/ApiAdminStorageAction.java

            } catch (final StorageException e) {
                logger.warn("Failed to delete {}", id, e);
                throwValidationErrorApi(messages -> messages.addErrorsFailedToDeleteFile(GLOBAL, pi.getName()));
            }
            return null;
        }
    
        // curl -XPOST -H "Authorization: CHANGEME" localhost:8080/api/admin/storage/upload/ -F path=/ -F file=@...
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/app/web/admin/design/AdminDesignAction.java

                if (!file.delete()) {
                    logger.error("Failed to delete {}", file.getAbsolutePath());
                    throwValidationError(messages -> messages.addErrorsFailedToDeleteFile(GLOBAL, form.fileName), this::asListHtml);
                }
            }).orElse(() -> {
                throwValidationError(messages -> messages.addErrorsTargetFileDoesNotExist(GLOBAL, form.fileName), this::asListHtml);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 16.1K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/app/web/admin/storage/AdminStorageAction.java

            try {
                deleteObject(objectName);
            } catch (final StorageException e) {
                logger.warn("Failed to delete {}", pi.getName(), e);
                throwValidationError(messages -> messages.addErrorsFailedToDeleteFile(GLOBAL, pi.getName()),
                        () -> asListHtml(encodeId(pi.getPath())));
            }
            saveInfo(messages -> messages.addSuccessDeleteFile(GLOBAL, pi.getName()));
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 19.9K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/mylasta/action/FessMessages.java

         * </pre>
         * @param property The property name for the message. (NotNull)
         * @param arg0 The parameter arg0 for message. (NotNull)
         * @return this. (NotNull)
         */
        public FessMessages addErrorsFailedToDeleteFile(String property, String arg0) {
            assertPropertyNotNull(property);
            add(property, new UserMessage(ERRORS_failed_to_delete_file, arg0));
            return this;
        }
    
        /**
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 119.9K bytes
    - Viewed (0)
Back to top