Actions
Bug #13967
closed[replaces #10115] FileNotFoundException when looking for deleted history file
Pull Request:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
Fix check:
Regression:
Description
I tried to look to a deleted history file and got:
java.io.FileNotFoundException: /var/rudder/inventories/historical/729be5c4-55a2-4b97-8529-5154cbb63a18/2014-03-21_17:57.57.486 (Aucun fichier ou dossier de ce type) at java.io.FileInputStream.open0(FileInputStream.java) at java.io.FileInputStream.open(FileInputStream.java:195) at java.io.FileInputStream.<init>(FileInputStream.java:138) at com.unboundid.ldif.LDIFReader.<init>(LDIFReader.java:320) at com.normation.inventory.ldap.core.FullInventoryFileMarshalling.fromFile(InventoryHistoryLogRepository.scala:62) at com.normation.history.impl.FileHistoryLogRepository.$anonfun$get$3(FileHistoryLogRepository.scala:185) at net.liftweb.common.Full.flatMap(Box.scala:808) at com.normation.history.impl.FileHistoryLogRepository.$anonfun$get$1(FileHistoryLogRepository.scala:184)
I should have had a nice message.
I was in 4.1-beta but there is a lot of change it happens also in 3.1.
Actions