You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@olingo.apache.org by "Michael Bolz (JIRA)" <ji...@apache.org> on 2015/01/16 08:48:34 UTC

[jira] [Assigned] (OLINGO-539) Olingo 2.0 error message is incorrect (ODataServlet)

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

Michael Bolz reassigned OLINGO-539:
-----------------------------------

    Assignee: Michael Bolz

> Olingo 2.0 error message is incorrect (ODataServlet)
> ----------------------------------------------------
>
>                 Key: OLINGO-539
>                 URL: https://issues.apache.org/jira/browse/OLINGO-539
>             Project: Olingo
>          Issue Type: Bug
>          Components: odata2-core
>    Affects Versions: V2 2.0.1
>            Reporter: Amr Ellafy
>            Assignee: Michael Bolz
>            Priority: Trivial
>
> In [OdataServet|https://github.com/apache/olingo-odata2/blob/master/odata2-lib%2Fodata-core%2Fsrc%2Fmain%2Fjava%2Forg%2Fapache%2Folingo%2Fodata2%2Fcore%2Fservlet%2FODataServlet.java], the service method is throwing an exception if a configuration value is missing:
>  throw new ODataRuntimeException("config missing: org.apache.olingo.odata2.processor.factory");
> The correct value is org.apache.olingo.odata2.service.factory
> The best would be:
> throw new ODataRuntimeException("config missing:" + ODataServiceFactory.FACTORY_LABEL);



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)