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

Errors accessing servicedefs with empty implClass with Oracle backend

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.0.0, 0.7.1
    • Fix Version/s: 0.7.2, 1.1.0, 1.0.1
    • Component/s: admin
    • Labels:
    • Environment:
      Oracle DB
    • Flags:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: