nutch-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrzej Bialecki (JIRA)" <j...@apache.org>
Subject [jira] Commented: (NUTCH-756) CrawlDatum.set() does not reset Metadata if it is null
Date Fri, 09 Oct 2009 14:06:31 GMT

    [ https://issues.apache.org/jira/browse/NUTCH-756?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12764028#action_12764028
] 

Andrzej Bialecki  commented on NUTCH-756:
-----------------------------------------

Fixed in rev. 823557 - thanks!

> 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.


Mime
View raw message