Amr Ellafy created OLINGO-539:
---------------------------------

             Summary: 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
            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)

Reply via email to