Skip to content

[PB-6989]: chore/remove legacy status flags - #714

Merged
jzunigax2 merged 2 commits into
mainfrom
chore/remove-legacy-status-flags
Oct 27, 2026
Merged

jzunigax2 merged 2 commits into
mainfrom
chore/remove-legacy-status-flags

Conversation

@jzunigax2

@jzunigax2 jzunigax2 commented Oct 23, 2026 •

Copy link
Copy Markdown
Contributor

The boolean flags deleted and removed on folders are about to be deprecated. status replaces them. After this PR the CLI no longer reads either flag anywhere. Every folder it reads takes its status from the API response.

Changes

  • DriveUtils.driveFolderMetaToItem now reads status from the response. Before, it worked the status out from the flags, and it used the trashed status for removed folders too, which was wrong.
  • DriveFolderService.findExistentFolder reuses driveFolderMetaToItem. It no longer hard-codes EXISTS or relies on the backend filtering out trashed and removed folders.
  • WebDAV PROPFIND takes child folder status straight from folder.status.
  • createFolderResponseToItem sets EXISTS. The SDK's create response type has no status field, and a folder that was just created always exists. The old flag-based logic also always gave EXISTS here.

@jzunigax2 jzunigax2 changed the title chore/remove legacy status flags [PB-6989]: chore/remove legacy status flags Oct 23, 2026
@jzunigax2
jzunigax2 changed the base branch from main to chore/remove-legacy-item-fields October 23, 2026 22:39
@jzunigax2
jzunigax2 added this pull request to stack #717 October 23, 2026 22:39
@jzunigax2
jzunigax2 removed this pull request from stack #717 October 23, 2026 22:40
@jzunigax2
jzunigax2 added this pull request to stack #718 October 23, 2026 22:40
@jzunigax2
jzunigax2 force-pushed the chore/remove-legacy-status-flags branch from d403103 to 8a29c0c Compare October 26, 2026 10:11
@jzunigax2 jzunigax2 self-assigned this Oct 26, 2026
@jzunigax2
jzunigax2 force-pushed the chore/remove-legacy-status-flags branch from 8a29c0c to dce8077 Compare October 26, 2026 10:16
@jzunigax2
jzunigax2 marked this pull request as ready for review October 26, 2026 10:18
@jzunigax2
jzunigax2 requested a review from larryrider as a code owner October 26, 2026 10:18
@jzunigax2
jzunigax2 force-pushed the chore/remove-legacy-status-flags branch from dce8077 to d8ff916 Compare October 26, 2026 13:26
Base automatically changed from chore/remove-legacy-item-fields to main October 27, 2026 09:25
@jzunigax2
jzunigax2 force-pushed the chore/remove-legacy-status-flags branch from d8ff916 to 6d2d7d9 Compare October 27, 2026 09:49
@sonarqubecloud

Copy link
Copy Markdown

@jzunigax2
jzunigax2 merged commit 1092261 into main Oct 27, 2026
9 checks passed
@jzunigax2
jzunigax2 deleted the chore/remove-legacy-status-flags branch October 27, 2026 09:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants