[
https://issues.apache.org/jira/browse/SOLR-9485?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15468319#comment-15468319
]
Pushkar Raste commented on SOLR-9485:
-------------------------------------
May be adding a simple to {{instanceof}} check and either returning same object
or a deep-copy of object should suffice.
> {{Indexfingerprint.fromObject()}} returns wrong values if object passed was
> itself of type IndexFingerprint.
> ------------------------------------------------------------------------------------------------------------
>
> Key: SOLR-9485
> URL: https://issues.apache.org/jira/browse/SOLR-9485
> Project: Solr
> Issue Type: Bug
> Security Level: Public(Default Security Level. Issues are Public)
> Reporter: Pushkar Raste
> Priority: Minor
>
> {{Indexfingerprint.fromObject()}} assumes object sent it is type of {{Map}}.
> If it is of any other type, it simply sets {{maxVersionSpecified}} to
> {{Long.MAX_VALUE}} and all the other attributes to {{1}}.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]