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

different usage of userName and displayName #7818

Open
bekuno opened this issue Sep 3, 2019 · 4 comments · Fixed by #7820
Open

different usage of userName and displayName #7818

bekuno opened this issue Sep 3, 2019 · 4 comments · Fixed by #7820
Assignees
Labels
Bug Issues classified as a bug

Comments

@bekuno
Copy link
Member

bekuno commented Sep 3, 2019

Describe the bug:
Normally the users userName and the displayName are the same.
Sometimes not.
Then the displayName is shown on most places, but not in the cache owner details page.

To Reproduce:
Open Cache OC13613.
The owner row shows "team-ringel"
20190903_230447

Click on the owner row.
You will see in the head line:
About 264765
20190903_230654

Reason:
In UserClickListener.showUserActionsDialog line 61:

        builder.setTitle(res.getString(R.string.user_menu_title) + " " + user.userName);

Version of c:geo used:
own dev, branch master, revision 451444c

Is the problem reproducible:
Yes

@bekuno bekuno added Bug Issues classified as a bug Unverified Issue not yet confirmed/reproduced or feature requests not yet checked for plausibility labels Sep 3, 2019
@bekuno bekuno changed the title different usage of userName and display name different usage of userName and displayName Sep 3, 2019
@Lineflyer
Copy link
Member

IMHO we also have a related issue, that opening the user profile or some other context option is not working due to this

@Lineflyer
Copy link
Member

I think your report reveals the root cause of #7125

@Lineflyer Lineflyer removed the Unverified Issue not yet confirmed/reproduced or feature requests not yet checked for plausibility label Sep 4, 2019
@bekuno
Copy link
Member Author

bekuno commented Sep 4, 2019

The problem in this issue is only cosmetic.
The problems in #7125 are not a consequence of this. (but probaly simular)

@bekuno bekuno self-assigned this Sep 4, 2019
bekuno added a commit to bekuno/cgeo that referenced this issue Sep 5, 2019
…e details

fix cgeo#7818 different usage of userName and displayName
Lineflyer pushed a commit that referenced this issue Sep 10, 2019
…e details (#7820)

fix #7818 different usage of userName and displayName
bekuno pushed a commit to bekuno/cgeo that referenced this issue Jul 28, 2020
Set to the old behavior - works for GC, works not for OC, unknown for other cache connectors
needs to create a better solution for all connectors

fixes cgeo#7998: "Caches hidden" fails to load with customized "cache owner" name
revert cgeo#7125: Owner actions not working
revert cgeo#7818: different usage of userName and displayName
bekuno pushed a commit to bekuno/cgeo that referenced this issue Jul 28, 2020
Set to the old behavior - works for GC, works not for OC, unknown for other cache connectors
needs to create a better solution for all connectors

fixes cgeo#7998: "Caches hidden" fails to load with customized "cache owner" name
revert cgeo#7125: Owner actions not working
revert cgeo#7818: different usage of userName and displayName
moving-bits pushed a commit that referenced this issue Jul 30, 2020
Set to the old behavior - works for GC, works not for OC, unknown for other cache connectors
needs to create a better solution for all connectors

fixes #7998: "Caches hidden" fails to load with customized "cache owner" name
revert #7125: Owner actions not working
revert #7818: different usage of userName and displayName
@moving-bits
Copy link
Member

reopened after #8703

@moving-bits moving-bits reopened this Jul 30, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Issues classified as a bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants