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>
pull/13925/head
Jacob Laursen 2022-12-11 22:47:37 +01:00 committed by GitHub
parent 73b6e886f2
commit a3fccc6390
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -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());