[NAS-2480] Empty domain crawlertraps are inserted into H3 templates Created: 20/Jan/16  Updated: 03/Nov/16  Resolved: 19/Oct/16

Status: Resolved
Project: NetarchiveSuite
Component/s: Heritrix 3
Affects Version/s: 5.1
Fix Version/s: 5.2

Type: Bug Priority: Minor
Reporter: Søren Vejrup Carlsen (Inactive) Assignee: Søren Vejrup Carlsen (Inactive)
Resolution: Fixed  
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Sprint: NAS 5.2
Verification:

Added a crawlertrap for a domain and verified that message said "Inserting 1 crawlertrap". Also that there were no similar messages for other domains without crawler traps.


 Description   

When domain-specifJic crawlertraps are inserted, one empty crawltrap line are always inserted giving loglines like this in the log:

Inserting 1 crawlertraps for domain 'netarkivet.dk' into the template

So we get this line in the resulting template <value></value>

Could the error be in DomainDBDAO.getCrawlertraps method.
At least empty lines are not currently removed when read from the database


Generated at Thu Mar 28 14:57:58 CET 2024 using Jira 9.4.15#940015-sha1:bdaa9cbecfb6791ea579749728cab771f0dfe90b.