mirror of
https://github.com/openhab/openhab-addons.git
synced 2025-01-25 14:55:55 +01:00
Fix console command 'tables clean' (#13916)
NullPointerException was thrown because index table was not provided Fixes #13911 Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
This commit is contained in:
parent
73b6e886f2
commit
a3fccc6390
@ -525,6 +525,7 @@ public class JdbcPersistenceService extends JdbcMapper implements ModifiablePers
|
||||
if (!conf.getTableUseRealCaseSensitiveItemNames()) {
|
||||
ItemsVO itemsVo = new ItemsVO();
|
||||
itemsVo.setItemName(entry.getItemName());
|
||||
itemsVo.setItemsManageTable(conf.getItemsManageTable());
|
||||
deleteItemsEntry(itemsVo);
|
||||
}
|
||||
itemNameToTableNameMap.remove(entry.getItemName());
|
||||
|
Loading…
Reference in New Issue
Block a user