Uploaded image for project: 'CDAP'
  1. CDAP
  2. CDAP-13070

Prevent data-selector and stream-selector widgets to not populate output schema in action plugins

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: UI
    • Labels:
    • Rank:
      1|hzy4gu:zzzzzzzzzzzn5u

      Description

      Issue:
      We allow users to use widgets like dataset-selector or stream-selector in an action plugin. However when users select a dataset or stream from the dropdown we prompt for a confirmation to overwrite the output schema. Since there is no schema for an action plugin this behavior is incorrect.

      Solution:
      We can either,

      • Find a way for widgets to be aware of the type of plugins in use to be smart enough to prevent pitfalls like this.
      • Or not disable the usage of certain widgets in some plugins.

      Bhooshan Mogal Looks like solution #1 is better. Any thoughts?

        Attachments

          Activity

            People

            • Assignee:
              ajai Ajai Narayan
              Reporter:
              ajai Ajai Narayan
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: