Uploaded image for project: 'Ranger'
  1. Ranger
  2. RANGER-2035

Errors accessing servicedefs with empty implClass with Oracle backend

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.0.0, 0.7.1
    • 0.7.2, 1.1.0, 1.0.1
    • admin
    • Oracle DB
    • Patch

    Description

      Oracle treats empty strings and nulls as equals - if an empty string is inserted, later, it returns as NULL.
      This cause problems when a service def is created, with implementation classname specified as a zero length string. However, when later it is retrieved or updated or delete, Ranger throws various exceptions. In 1.0.0 a couple of exceptions are fixed, because of RANGER-1377, however in 0.7, there is more NPE.

      Attachments

        Activity

          People

            zsombor Zsombor Gegesy
            zsombor Zsombor Gegesy
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: