Uploaded image for project: 'Hue (READ ONLY)'
  1. Hue (READ ONLY)
  2. HUE-2572

[pig] Editor broken if Hive app not installed due to autocomplete

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.7.0
    • Fix Version/s: 3.8.0
    • Component/s: con.pig
    • Labels:
      None

      Description

      The Pig Editor breaks if beeswax app is not installed.

      In: apps/pig/src/pig/views.py

      In def(app), the app.mako render sets the autocomplete_base_url as:

      'autocomplete_base_url': reverse('beeswax:api_autocomplete_databases', kwargs={}),

      When beeswax is not installed this will break the Pig Editor. It should check for the existence of beeswax and set the autocomplete_base_url as empty if beeswax is not installed.

        Attachments

          Activity

            People

            • Assignee:
              enricoberti Enrico Berti
              Reporter:
              rickbernotas Rick Bernotas
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: