[ 
https://issues.apache.org/jira/browse/OLINGO-81?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13845157#comment-13845157
 ] 

ASF subversion and git services commented on OLINGO-81:
-------------------------------------------------------

Commit 74d91ae52430d06a71d60905e2e030a7722e3bab in branch refs/heads/master 
from [~mirbo]
[ 
https://git-wip-us.apache.org/repos/asf?p=incubator-olingo-odata2.git;h=74d91ae 
]

[OLINGO-81] Fixed exception message.


> misleading error message for org.apache.olingo.odata2.service.factory
> ---------------------------------------------------------------------
>
>                 Key: OLINGO-81
>                 URL: https://issues.apache.org/jira/browse/OLINGO-81
>             Project: Olingo
>          Issue Type: Bug
>          Components: odata2-core
>    Affects Versions: V2 1.0.0
>            Reporter: Bakhtiyar
>            Assignee: Michael Bolz
>             Fix For: V2 1.1.0
>
>
> The message text in the exception thrown from ODataRootLocator.class should 
> point to the right servlet config parameter. 
> Here is the snapshot of the code (from decompiler): 
>     String factoryClassName = 
> this.servletConfig.getInitParameter("org.apache.olingo.odata2.service.factory");
>     if (factoryClassName == null) {
>       throw new ODataRuntimeException("servlet config missing: 
> org.apache.olingo.odata2.processor.factory");
>     }
> Notice that error text references "...processor.factory", while the expected 
> parameter is "...service.factory".



--
This message was sent by Atlassian JIRA
(v6.1.4#6159)

Reply via email to