Uploaded image for project: 'Content Types'
  1. Content Types
  2. MGNLCT-129

rootPath should be checked and auto-created if set

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Unresolved
    • Minor
    • None
    • 1.1
    • None

    Description

      When a contentType has datasource.autoCreate set to true, and a rootPath is defined that is not at the root of the provided workspace, the rootPath should be checked for existence, and created if not. The result of this not occurring is that the app will not provide any action bar items to create an item since there is a non-existent path in the workspace. Additionally, if a rootPath is declared, the app that uses this content type should automatically include the contentConnector, i.e.
           contentConnector:
           rootPath: /declared-rootPath
      If the user does not add this, or it is not automated when including !content-type, the application will not find any of its items. It will save the items to the root of the workspace, but the app will not be aware of those items as they are not in the contentConnector.

      Checklists

        Acceptance criteria

        Attachments

          Activity

            People

              Unassigned Unassigned
              srhodes Scot Rhodes
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:

                Checklists

                  Task DoD