Adding contact without country code forces log-out - potential data loss

Bug #1521746 reported by Randall Ross
52
This bug affects 10 people
Affects Status Importance Assigned to Milestone
Telegram app
Fix Released
Critical
Unassigned

Bug Description

Action Taken:
Choose Add Contact from menu, using manual method (i.e. not from Address book)
Fill in Phone Number and Name in resulting fields

Observed Result:
Telegram Welcome screen appears
     "Telegram Welcome to the era of fast and secure messaging"
     "Start Messaging"
- forces me to set up my Telegram account again, as if I'm launching for the first time, need to enter Telegram code (from SMS)
- once logged in again, added contact is not there

Expected Result:
Telegram should add the contact

Environment information
Telegram for Ubuntu (Beta) v 2.0.4.0 (note: This was upgraded from v1)
Ubuntu 15.04 (r303)
Nexus 7 (2013) flo
rc-proposed channel

Tags: v2

Related branches

Michał Karnicki (karni)
Changed in telegram-app:
status: New → Triaged
importance: Undecided → Critical
milestone: none → m26
Revision history for this message
Michał Karnicki (karni) wrote :

This needs to be take care of ASAP. Adding a user checks the added phone number, but somehow the callbacks are so tied in that it causes a force log out, which wipes the cache, meaning all secret chats are lost for the user!

tags: added: v2
summary: - Cannot Add Contact Manually
+ Adding contact manually forces log-out - potential data loss
Revision history for this message
Michele Giacomoli (michele-giacomoli) wrote : Re: Adding contact manually forces log-out - potential data loss

Hi, I had same problem today adding contact from Address book, but not from Manual.
Same Telegram version (upgraded from v1 too), Bq 4.5 with OTA 8 stable channel

Michał Karnicki (karni)
summary: - Adding contact manually forces log-out - potential data loss
+ Adding contact without country code forces log-out - potential data loss
Changed in telegram-app:
status: Triaged → In Progress
Revision history for this message
Michał Karnicki (karni) wrote :

To those affected - you need to add a country code. The application will now appropriately show you the error message, but you know a workaround. If the phone number is not valid - this caused forced sign out (bug, obviously).

Changed in telegram-app:
status: In Progress → Fix Committed
Jin (jindallo)
Changed in telegram-app:
status: Fix Committed → Fix Released
Revision history for this message
Joan CiberSheep (cibersheep) wrote :

I have experimented this again in versión 2.2.30.0 (Ubuntu Touch OTA-12).
Is it a regresion?

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.