You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@stanbol.apache.org by "Rupert Westenthaler (JIRA)" <ji...@apache.org> on 2014/01/16 11:49:20 UTC

[jira] [Resolved] (STANBOL-1257) EntityhubDereferenceEngine fails if an empty String is parsed as dereference field

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

Rupert Westenthaler resolved STANBOL-1257.
------------------------------------------

       Resolution: Fixed
    Fix Version/s: 0.12.0

fixed with http://svn.apache.org/r1558701 in 0.12 and http://svn.apache.org/r1558748 in trunk

> EntityhubDereferenceEngine fails if an empty String is parsed as dereference field
> ----------------------------------------------------------------------------------
>
>                 Key: STANBOL-1257
>                 URL: https://issues.apache.org/jira/browse/STANBOL-1257
>             Project: Stanbol
>          Issue Type: Bug
>          Components: Enhancement Engines
>    Affects Versions: 0.12.0
>            Reporter: Rupert Westenthaler
>            Assignee: Rupert Westenthaler
>             Fix For: 0.12.0
>
>
> If [""] is parsed as dereference fields the engine creates a FieldMapper instance but will not add a single mapping as "" is not valid. As a result the FieldMapper will reject all fields and therefore causes no data to be dereferenced wile this config should rather dereference all fields of the Entity.
> The same Issue can be also achieved by parsing any other invalid field mapping, but an empty configuration is the most likely reason causing this.
> To fix this the activation method needs to check if a valid FieldMapping was parsed and if not do not create a FieldMapper instance.
> As a Workaround users should parse ["*"] instead of an empty string.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)