IDEMPIERE-5719 PackInHandler.dumpUnresolvedElements include elements that doesn't have any unresolve properties (#1832)
This commit is contained in:
parent
cc90586aa0
commit
39a5bd813d
|
@ -483,6 +483,9 @@ public class PackInHandler extends DefaultHandler {
|
|||
if (!entry.startElement)
|
||||
{
|
||||
Element e = entry.element;
|
||||
if (e.unresolved == null || e.unresolved.length() == 0)
|
||||
continue;
|
||||
|
||||
StringBuilder s = new StringBuilder(e.qName);
|
||||
s.append(" [");
|
||||
Set<String> keys = e.properties.keySet();
|
||||
|
@ -498,8 +501,7 @@ public class PackInHandler extends DefaultHandler {
|
|||
i++;
|
||||
}
|
||||
s.append("]");
|
||||
if (e.unresolved != null && e.unresolved.length() > 0)
|
||||
s.append(" unresolved ").append(e.unresolved);
|
||||
s.append(" unresolved ").append(e.unresolved);
|
||||
log.warning(s.toString());
|
||||
packIn.getNotifier().addFailureLine(s.toString());
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue