Details
-
Bug
-
Resolution: Duplicate
-
Minor
-
None
-
5.4
-
None
-
None
Description
During the following release test:
TEST 6 (https://sbforge.org/display/NAS/TEST6+Robustness+test) - the step called "Verify the restarted system. On devel@kb-test-adm-001"
the following warning appears:
Domain.setCrawlerTraps - 0 errors were found:
e.g.GUIApplication.2018-04-09.0.log:15:35:16.260 WARN d.n.harvester.datamodel.Domain.setCrawlerTraps - 0 errors were found:
The code in Domain.setCrawlerTraps prints a warning, even though there are no errors encountered.
This:
if (strictMode)
if (errMsgs.size() > 0)
else
{ log.warn(errMsgs.size() + " errors were found: " + StringUtils.conjoin(",", errMsgs)); }should be changed into:
if (errMsgs.size() > 0) {
if (strictMode)
else
{ log.warn(errMsgs.size() + " errors were found: " + StringUtils.conjoin(",", errMsgs)); }}
Attachments
Issue Links
- duplicates
-
NAS-2741 WARN d.n.harvester.datamodel.Domain.setCrawlerTraps - 0 errors were found:
- Closed