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

Fix crash ArrayIndexOutOfBoundsException when opening a project hosted On Prem #80

Merged
merged 1 commit into from May 26, 2023

Conversation

SRombautsU
Copy link

@SRombautsU SRombautsU commented May 26, 2023

The bug was in PlasticSourceControlUtils::ParseWorkspaceInfo() when splitting the "WorkspaceInfo" on the separator '@', since there is only 4 parts to is when on the @cloud, compare:

  • Branch /main@UE5PlasticPluginDev@test@cloud
  • Branch /main@UE5PlasticPluginDev@localhost:8087

This function is called once at Init() of the source control provider, so it was crashing the whole Editor right after project load.

Introduced by Commit 7141f0a by Sébastien Rombauts, 04/12/2023 04:55 PM as part of pull request #78 from PlasticSCM/1003296-fix-cm-status-replaced-unchanged so it wasn't released yet since it came after 1.8.0

…d On Prem

The bug was in PlasticSourceControlUtils::ParseWorkspaceInfo() when spliting the "WorkspaceInfo" on the separator '@',
since there is only 4 parts to is when on the @cloud, compare:
- Branch /main@UE5PlasticPluginDev@test@cloud
- Branch /main@UE5PlasticPluginDev@localhost:8087
@SRombautsU SRombautsU added the bug label May 26, 2023
@SRombautsU SRombautsU self-assigned this May 26, 2023
@juliomaqueda juliomaqueda self-requested a review May 26, 2023 09:40
@juliomaqueda juliomaqueda merged commit 7274979 into master May 26, 2023
@juliomaqueda juliomaqueda deleted the 1003547-fix-crash-on-prem branch May 26, 2023 09:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
2 participants