Inconsistency account name (lowercase/uppercase)
Describe your environment
Please specify the following:
- Jami version: 423
- Device model: Pixel6 (emulator)
- Android version: API33
- What build you are using: build
Steps to reproduce
- Can you reproduce the bug: occasionally
- Steps:
- Create an account in uppercase
- Click on select account
- Actual result:
- Sometimes it is lowercase
- Sometimes it is uppercase
- Expected result:
- It doesn't mind if it is lowercase or uppercase but it should be consistent
Additional information
These two accounts were created by a test following this format: `JamiTest_$TIMESTAMP`. You can see that one have been lowercased but not the second.
Designs
- Show closed items
Relates to
Activity
-
Newest first Oldest first
-
Show all activity Show comments only Show history only
- Author Developer
Adding some logs in
AccountAdapter.kt:100
holder.loader.add(mAccountService.getObservableAccountProfile(account.accountId) .observeOn(DeviceUtils.uiScheduler) .subscribe({ profile -> val title = getTitle(profile.first, profile.second) Log.d("devdebug", "AccountAdapter profile loaded $title")
Then from the app, clicking on Account list
It produces a lot of noisy subscribe call
2024-06-11 14:11:30.861 30230-30230 AccountAdapter profile loaded jamitest_1718129481569 2024-06-11 14:11:30.864 30230-30230 AccountAdapter profile loaded JamiTest_1718129466629 2024-06-11 14:11:30.868 30230-30230 AccountAdapter profile loaded jamitest_1718129481569 2024-06-11 14:11:30.870 30230-30230 AccountAdapter profile loaded JamiTest_1718129466629 2024-06-11 14:11:30.873 30230-30230 AccountAdapter profile loaded jamitest_1718129481569 2024-06-11 14:11:30.875 30230-30230 AccountAdapter profile loaded JamiTest_1718129466629 2024-06-11 14:11:30.878 30230-30230 AccountAdapter profile loaded jamitest_1718129481569 2024-06-11 14:11:30.879 30230-30230 AccountAdapter profile loaded JamiTest_1718129466629 2024-06-11 14:11:30.881 30230-30230 AccountAdapter profile loaded jamitest_1718129481569 2024-06-11 14:11:30.882 30230-30230 AccountAdapter profile loaded JamiTest_1718129466629 2024-06-11 14:11:30.951 30230-30230 AccountAdapter profile loaded jamitest_1718129481569 2024-06-11 14:11:30.954 30230-30230 AccountAdapter profile loaded JamiTest_1718129466629 2024-06-11 14:11:30.957 30230-30230 AccountAdapter profile loaded jamitest_1718129481569 2024-06-11 14:11:30.958 30230-30230 AccountAdapter profile loaded JamiTest_1718129466629 2024-06-11 14:11:30.960 30230-30230 AccountAdapter profile loaded jamitest_1718129481569 2024-06-11 14:11:30.964 30230-30230 AccountAdapter profile loaded JamiTest_1718129466629 2024-06-11 14:11:30.981 30230-30230 AccountAdapter profile loaded jamitest_1718129481569 2024-06-11 14:11:30.982 30230-30230 AccountAdapter profile loaded JamiTest_1718129466629
- Author DeveloperEdited by Pierre Nicolas
- Author Developer
Log.d("devdebug", "AccountAdapter getTitle ${profile.displayName} ${account.registeredName} ${account.alias}")
AccountAdapter getTitle null JamiTest_1718197391835 Compte Jami
AccountAdapter getTitle null jamitest_1718197477284 Compte Jami
Problem is in
registeredName
. Collapse replies - Author Developer
Log.d("devdebug", "AccountConfig details $details")
AccountConfig details {Account.active=true, Account.proxyServer=dhtproxy3.jami.net:88, Account.registrationStatus=REGISTERED, Account.registeredName=jamitest_1718197939075, Account.dhtBoundPort=0, Transport.statusCode=100, Account.deviceAnnounced=true, Transport.statusDescription=, IM.offCall=true, Account.deviceID=434e8fb2ee242dcf165bda7bc8074fc17669b9e96a21b7160a4e57a30b91d4fe}
AccountConfig details {Account.active=true, Account.proxyServer=dhtproxy3.jami.net:88, Account.registrationStatus=TRYING, Account.registeredName=JamiTest_1718197939075, Account.dhtBoundPort=0, Account.deviceAnnounced=false, Transport.statusCode=100, Transport.statusDescription=, IM.offCall=true, Account.deviceID=434e8fb2ee242dcf165bda7bc8074fc17669b9e96a21b7160a4e57a30b91d4fe}
- Pierre Nicolas mentioned in issue jami-daemon#1010 (closed)
mentioned in issue jami-daemon#1010 (closed)
- Pierre Nicolas marked this issue as related to jami-daemon#1010 (closed)
marked this issue as related to jami-daemon#1010 (closed)
- Pierre Nicolas changed iteration to Fortnight Iteration Jun 10, 2024 - Jun 23, 2024
changed iteration to Fortnight Iteration Jun 10, 2024 - Jun 23, 2024
- Pierre Nicolas assigned to @pnicolas
assigned to @pnicolas
- Pierre Nicolas added sprintin progress label
added sprintin progress label
- Pierre Nicolas added typebug label
added typebug label
- Pierre Nicolas assigned to @aberaud
assigned to @aberaud
- Pierre Nicolas added severitylow label
added severitylow label
- Pierre Nicolas added natureintermittent label
added natureintermittent label
- Pierre Nicolas mentioned in issue jami-daemon#1012 (closed)
mentioned in issue jami-daemon#1012 (closed)
- Pierre Nicolas mentioned in commit 67e54aa5
mentioned in commit 67e54aa5
- Pierre Nicolas added sprintdone label and removed sprintin progress label
added sprintdone label and removed sprintin progress label
- Pierre Nicolas closed
closed
- Pierre Nicolas mentioned in commit febde276
mentioned in commit febde276