Refactor assignee(s) API calls #199
No reviewers
Labels
No Label
Priority-high
Accepting-merge-requests
API
API-dependency
Backport
Blocked
Brainstorming
Breaking
Bug
Changelog
CI
Cleanup
Confirmed
Discussion
Documentation
Duplicate
Enhancement
External-dependecy
F-droid
Feature
Google-play
Improvement
Invalid
Investigate
LGTM-done
LGTM-need
Long-term
Major-release
Minor-release
Needs-cleanup
Needs-feedback
Needs-help
Priority-critical
Priority-low
Priority-medium
Question
Ready
Refactor
Regression
Release
Repository
Security
Suggestion
Support
Testing
Translation
UI/UX
Upstream
Website
WIP
No Milestone
No Assignees
2 Participants
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: gitnex/GitNex#199
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "refactor_issues_call"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
close #196
@mmarif ready to review
[WIP] Refactor assignee(s) API callsto Refactor assignee(s) API callsI have just tried to create new issue and the app crashes with error. I am on 1.9.x.
java.lang.RuntimeException: Unable to start activity ComponentInfo{org.mian.gitnex/org.mian.gitnex.activities.CreateIssueActivity}: java.lang.NumberFormatException: For input string: "mmarif"
Error line
listOfAssignees.add(new MultiSelectModel(Integer.valueOf(loginUid), loginFullName));
in CreateIssueActivity.I can create an account for you on my instance if you want to test on it.
Ok 👍
Tested on 1.10 and have the same effect. Crash.
I am thinking of releasing 2.3.0 after adding #10 . Do you think we can still merge this PR after your rework? otherwise can push to next release.
I looked at the error-msg again ... I think this has nothing to do with the gitea-instance.
I add the loged in user to the list of users you can select to assign. and use loginUid as user.ID but it looks like the thyniyDB stores the loginName rather than the ID in this field
Yes, it maybe unrelated to the version of Gitea.
I actually forgot what is stored in tinyDB. 😵
But if you have time to fix this, let me know I will test when it's ready. 👍
@mmarif we realy need a documentation of the ThinyDB :/
@mmarif I think i found the bug ... can you test it again?
PS: it worked for me because my username contain only numbers ...
ping @mmarif
@6543 Thank you. It works now!