[ https://issues.apache.org/jira/browse/NUTCH-756?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Julien Nioche updated NUTCH-756: -------------------------------- Attachment: NUTCH-756.patch Fixes issue with metadata not being properly overridden for CrawlDatum when calling the set() method > CrawlDatum.set() does not resets Metadata if it is null > ------------------------------------------------------- > > Key: NUTCH-756 > URL: https://issues.apache.org/jira/browse/NUTCH-756 > Project: Nutch > Issue Type: Bug > Reporter: Julien Nioche > Priority: Blocker > Attachments: NUTCH-756.patch > > > The patch Nutch-702 implemented the lazy instanciation of CrawlDatum objects, > but when using the method set(CrawlDatum) to copy the content of an instance > into the current object we did not reset the metadata of the current object > if it was null in the instance passed as argument. As a result, the metadata > of the current object might be kept from a previous CrawlDatum and won't > correspond to the other fields of the instance. > The patch attached fixes this issue. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.