Uploaded image for project: 'CMS'
  1. CMS
  2. CMS-8878

Impossible to edit a metadata of type content where the content type is an abstract reference table

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Blocker Blocker
    • 4.1.0
    • 4.1.0
    • Plugin : Search
    • None
    • 4.1 M6

      If I try to edit a metadata in a content, and this metadata is of type content. This content type is an abstract reference table, it reach an NPE in SearchAction at line 118 :

      String workspaceName = parameters.getParameter("workspace", model.getWorkspace(contextualParameters));

      Because model is null.

      Because SearchUIModel model = getSearchUIModel(jsParameters, contextualParameters); can't retrieve the model.

      Because  SearchUIModelExtensionPoint is filtering the abstract reference table at line 128 :

      if (cType != null && cType.isReferenceTable() && !cType.isAbstract())

            Unassigned Unassigned
            bmaurel Bérénice Maurel
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: