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

Issues with Complex schema in new UI

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.1.1
    • Component/s: UI
    • Labels:
      None
    • Sprint:
      CDAP UI 03/13
    • Rank:
      1|hzzxvj:

      Description

      The complex schema in the new UI is having issues rendering nested schema (array -> record -> basic types) in that order.

      Steps to reproduce:
      1. Deploy PurchaseHistory app
      2. history dataset should get created.
      3. Click on history entity card in the home page
      4. Switch to schema tab.

      The schema tab looks empty and the UI fails with a js error. The reason being we are doing incorrect parsing while rendering a complex array field (meaning array of records).

      The fix should be to use the right parsing logic (use cdapavsc.parse) instead of using the parser function in the SchemaHelper

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: