You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@nutch.apache.org by "Andrzej Bialecki (JIRA)" <ji...@apache.org> on 2009/10/09 16:06:31 UTC

[jira] Closed: (NUTCH-756) CrawlDatum.set() does not reset Metadata if it is null

     [ https://issues.apache.org/jira/browse/NUTCH-756?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andrzej Bialecki  closed NUTCH-756.
-----------------------------------

       Resolution: Fixed
    Fix Version/s: 1.1
         Assignee: Andrzej Bialecki 

> CrawlDatum.set() does not reset 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
>            Assignee: Andrzej Bialecki 
>            Priority: Blocker
>             Fix For: 1.1
>
>         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.