investigate TableConverter error

This commit is contained in:
anhefti 2021-02-18 13:20:52 +01:00
parent 96313e41a7
commit 26a26c7989

View file

@ -73,6 +73,11 @@ public class TableConverter implements AttributeValueConverter {
this.configurationAttributeDAO = configurationAttributeDAO;
this.configurationValueDAO = configurationValueDAO;
if (configurationValueDAO == null) {
log.error("Failed to inject ConfigurationValueDAO is {} configurationAttributeDAO is {}",
configurationValueDAO, configurationAttributeDAO);
}
}
@Override
@ -109,6 +114,8 @@ public class TableConverter implements AttributeValueConverter {
final ConfigurationValue value,
final boolean xml) throws IOException {
log.debug("Convert: {} -- {} -- {}", attribute.name, this.configurationValueDAO, value);
final List<List<ConfigurationValue>> values = this.configurationValueDAO.getOrderedTableValues(
value.institutionId,
value.configurationId,