Uploaded image for project: 'Olingo'
  1. Olingo
  2. OLINGO-81

misleading error message for org.apache.olingo.odata2.service.factory

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • V2 1.0.0
    • V2 1.1.0
    • odata2-core
    • None

    Description

      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".

      Attachments

        Activity

          People

            mirbo mibo
            bahtym Bakhtiyar
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: