fix #1618 check if thumbnail is enabled
This commit is contained in:
parent
cf20a1a84f
commit
75e4e0b66b
1 changed files with 3 additions and 1 deletions
|
@ -61,8 +61,10 @@ public class ThumbnailAction extends FessSearchAction {
|
|||
|
||||
final File thumbnailFile = thumbnailManager.getThumbnailFile(doc);
|
||||
if (thumbnailFile == null) {
|
||||
if (fessConfig.isThumbnailEnabled()) {
|
||||
thumbnailManager.offer(doc);
|
||||
}
|
||||
// 404
|
||||
thumbnailManager.offer(doc);
|
||||
throw responseManager.new404("Thumbnail for " + form.docId + " is under generating.");
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue