Skip to content

[TASK] Content Drive: Folder schema — add defaultBaseType field #35577

Description

@zJaaal

Description

To support folder-level upload preferences described in epic #35436, the folder needs a single new field that records which base type Content Drive should use when uploading to that folder.

Field

  • defaultBaseType — the default base type for uploads on the folder.
    • Values: null/absent (no preference — "ask each time"), dotAsset, or fileAsset.
    • Purely records the folder's upload-mode preference; it does not change existing FileAsset behavior.

Note: this is intentionally scoped to a single field. The previously-discussed defaultAssetType field and any migration/deprecation of defaultFileAssetType are not part of this work. defaultFileAssetType stays exactly as it is today.

API

  • Folder POST (create) and PUT (update) endpoints must accept defaultBaseType.
  • Folder retrieval endpoints must expose defaultBaseType.

Acceptance Criteria

  • defaultBaseType added to the folder model (null / dotAsset / fileAsset).
  • Folder create (POST) endpoint accepts defaultBaseType.
  • Folder update (PUT) endpoint accepts defaultBaseType.
  • Folder retrieval endpoints expose defaultBaseType.
  • Omitting the field leaves the folder with no preference (null), and existing folders are unaffected.

Out of Scope

Priority

Medium

Additional Context

Parent: #35575
Epic: #35436
Companion (frontend): #35578

Activity

  1. added theissue type on May 5, 2026
  2. changed the title [-][TASK] Content Drive: Folder schema — add defaultBaseType and defaultAssetType (migrate from defaultFileAssetType)[/-] [+][TASK] Content Drive: Folder schema — add defaultUploadType (migrate from defaultFileAssetType)[/+] on Jun 18, 2026
  3. changed the title [-][TASK] Content Drive: Folder schema — add defaultUploadType (migrate from defaultFileAssetType)[/-] [+][TASK] Content Drive: Folder schema — add defaultBaseType field[/+] on Jul 16, 2026
  4. 7 remaining items

  5. moved this from QA to In Progress in dotCMS - Product Planningon Aug 3, 2026
  6. removed their assignment
    on Aug 3, 2026
  7. moved this from In Progress to In Review in dotCMS - Product Planningon Aug 3, 2026
  8. moved this from In Review to QA in dotCMS - Product Planningon Aug 4, 2026
  9. dario-daza commented on Aug 5, 2026

    @dario-daza
    Member

    ✅ QA PASSED:

    QA-content-drive-folder-upload-BE.mov
  10. removed their assignment
    on Aug 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions