Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cherry-pick PR #17568 fromdev to point-release/23103 #17817

Conversation

nick-l-o3de
Copy link
Contributor

Fixes the bug causing asset browser to be unable to delete/move/etc. (#17568)

  • Fixes [Bug Report] Asset Browser cannot delete asset #15671 - [Bug Report] Asset Browser cannot delete asset
  • Adds missing functionality from the Linux ProcessWatcher to indicate the difference between a different problem launching program, and the program not being found.
  • Fixes the workflow of the Move/Delete/Rename operations in the Asset Browser to properly return the appropriate error when Source Control is not properly configured.
  • Adds a toggle for source control notification in AP, so that if you toggle the Editor to not use Source Control, the AP will not either.
  • Uses the same setting in AP as the Editor, to determine whether Source Control should be used or not, and sets it to false by default, just like the Editor.

@nick-l-o3de nick-l-o3de requested review from a team as code owners April 23, 2024 16:27
@byrcolin byrcolin added sig/content Categorizes an issue or PR as relevant to SIG Content. sig/core Categorizes an issue or PR as relevant to SIG Core sig/simulation Categorizes an issue or PR as relevant to SIG Simulation labels Apr 23, 2024

// specialized version of BuildFailure, for when the failure type is a MoveFailure, the string will be in m_reason
template<>
void BuildFailure(MoveFailure& failure, AZStd::vector<AZStd::string>& lines)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

repeat: the failure parameter should be const MoveFailure&

Suggested change
void BuildFailure(MoveFailure& failure, AZStd::vector<AZStd::string>& lines)
void BuildFailure(const MoveFailure& failure, AZStd::vector<AZStd::string>& lines)

@nick-l-o3de
Copy link
Contributor Author

Will do a local compile test of those changes, then commit. I'll prepare a cherrypick for the const back to development.

Fixes the bug causing asset browser to be unable to delete/move/etc. (o3de#17568)

* Fixes o3de#15671 - [Bug Report] Asset Browser cannot delete asset
* Adds missing functionality from the Linux ProcessWatcher to indicate
  the difference between a different problem launching program, and
  the program not being found.
* Fixes the workflow of the Move/Delete/Rename operations in the Asset
  Browser to properly return the appropriate error when Source Control
  is not properly configured.
* Adds a toggle for source control notification in AP, so that if you
  toggle the Editor to not use Source Control, the AP will not either.
* Uses the same setting in AP as the Editor, to determine whether Source
  Control should be used or not, and sets it to false by default, just
  like the Editor.

Signed-off-by: Nicholas Lawson <70027408+nick-l-o3de@users.noreply.github.com>
Signed-off-by: Nicholas Lawson <70027408+nick-l-o3de@users.noreply.github.com>
@nick-l-o3de nick-l-o3de force-pushed the pointrelease-cherrypick-pr17568 branch from 0a2bbd5 to cbfd01a Compare April 24, 2024 23:12
@nick-l-o3de nick-l-o3de merged commit d17eb34 into o3de:point-release/23103 Apr 25, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
sig/content Categorizes an issue or PR as relevant to SIG Content. sig/core Categorizes an issue or PR as relevant to SIG Core sig/simulation Categorizes an issue or PR as relevant to SIG Simulation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants