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 nested loadCategoryName ARN #2051

Merged
merged 2 commits into from
Jan 3, 2025

Conversation

wolfsolver
Copy link
Contributor

Close #2041

@guanlisheng
Copy link
Contributor

seem irrelevant.

@wolfsolver
Copy link
Contributor Author

taking a look to the dump seems that String builder try to build with null.

@guanlisheng
Copy link
Contributor

guanlisheng commented Jan 3, 2025

it's an ANR issue, I think we should take care of the while loop, e.g. add a limit here

@wolfsolver
Copy link
Contributor Author

Understand. There is same case maybe where parentid of category is category itself?
anyway add limit and prevent case of parentid = id

@guanlisheng
Copy link
Contributor

Great if we could just add a limit and keep others unchanged? it will be usefully to nail down the issue

@wolfsolver
Copy link
Contributor Author

wolfsolver commented Jan 3, 2025 via email

@guanlisheng
Copy link
Contributor

self-assignment is one of the loop cases. protection would be fine in the while loop

@guanlisheng guanlisheng changed the title Set Empty Category default Fix nested loadCategoryName ARN Jan 3, 2025
@guanlisheng guanlisheng merged commit 3f6ee24 into moneymanagerex:master Jan 3, 2025
3 checks passed
@wolfsolver wolfsolver deleted the 2041_empty_category branch January 3, 2025 09:43
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.

ANR: transactions.EditTransactionCommonFunctions.loadCategoryName
2 participants