Closed
Bug 955747
Opened 12 years ago
Closed 11 years ago
Twitter support in russian locale is broken
Categories
(Chat Core :: Twitter, defect)
Chat Core
Twitter
Tracking
(Not tracked)
RESOLVED
FIXED
1.6
People
(Reporter: bugzilla, Assigned: clokep)
References
Details
(Whiteboard: [1.6-blocking])
Attachments
(1 file)
1.04 KB,
patch
|
florian
:
review+
|
Details | Diff | Splinter Review |
*** Original post on bio 2294 by Igor <kantsuris AT gmail.com> at 2013-12-23 05:08:00 UTC ***
When leaving the stable version in Russian disappears twitter!
Assignee | ||
Comment 1•12 years ago
|
||
*** Original post on bio 2294 at 2013-12-23 14:02:48 UTC ***
I don't understand what you mean, can you please describe step-by-step what is happening and what you expect to happen?
Reporter | ||
Comment 2•12 years ago
|
||
*** Original post on bio 2294 by Igor <kantsuris AT gmail.com> at 2013-12-23 18:04:53 UTC ***
Russian version non twitter !
Comment 3•12 years ago
|
||
*** Original post on bio 2294 at 2013-12-25 20:47:57 UTC ***
I can confirm that the russian locale doesn't contain Twitter in any of it's protocol lists. Here's the error from the console:
Метка времени: 25.12.2013 21:42:57
Ошибка: Could not initialize protocol prpl-twitter: [Exception... "'Creating an instance of prpl-twitter but this object implements prpl-B28BB5@' when calling method: [prplIProtocol::init]" nsresult: "0x8057001e (NS_ERROR_XPC_JS_THREW_STRING)" location: "JS frame :: resource://gre/components/imCore.js :: <TOP_LEVEL> :: line 338" data: no]
Источник: resource://gre/components/imCore.js
Строка: 340
Status: UNCONFIRMED → NEW
Ever confirmed: true
Updated•12 years ago
|
Severity: normal → major
Updated•12 years ago
|
Component: Account wizard → Twitter
OS: Windows 7 → All
Product: Instantbird → Chat Core
Hardware: x86 → All
Summary: When leaving the stable version in Russian disappears twitter! → Twitter support in russian locale is broken
Comment 4•12 years ago
|
||
*** Original post on bio 2294 at 2013-12-25 21:16:12 UTC ***
Cause of the problem is that we're localizing the protocol name now [1] and this localized name is used by jsProtoHelper [2] to create the id of the protocol.
Adding a getter for the id that returns "prpl-twitter" fixes the problem for me.
[1] https://hg.instantbird.org/instantbird/file/e119e96ba074/chat/protocols/twitter/twitter.js#l1085
[2] https://hg.instantbird.org/instantbird/file/e119e96ba074/chat/modules/jsProtoHelper.jsm#l757
I think we should hardcode the id from now on.
Blocks: 955201
Assignee | ||
Updated•11 years ago
|
Whiteboard: [1.6-blocking]
Assignee | ||
Comment 5•11 years ago
|
||
Other protocols just override normalizedName, which I believe is the "right" fix since this is also used for various comparison.
Comment 6•11 years ago
|
||
Comment on attachment 8389788 [details] [diff] [review]
Patch
Thanks!
Attachment #8389788 -
Flags: review?(florian) → review+
Assignee | ||
Updated•11 years ago
|
Keywords: checkin-needed
Comment 7•11 years ago
|
||
Assignee | ||
Updated•11 years ago
|
Target Milestone: --- → 1.6
You need to log in
before you can comment on or make changes to this bug.
Description
•