Closed
Bug 1119701
Opened 10 years ago
Closed 9 years ago
[FFOS7715 v2.1]In wappush app we already config an apn contains authtype, but it settings the authtype of the apn is still undefined
Categories
(Firefox OS Graveyard :: Gaia::Settings, defect)
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: Jinghua.Xing, Assigned: gsvelto)
References
Details
(Whiteboard: [sprd390800])
In wappush app we already config an apn contains authtype, which is 1 (PAP). But then we go to the settings and look at the apn list, the Authentication of the new added apn is still not defined
| Reporter | ||
Comment 1•10 years ago
|
||
EJ:
Can you help me to check this issue?
Thank you.
Flags: needinfo?(ejchen)
Hi Gabriele, not sure if you are still working on Wappush, if so, could you help to take a look at this one?
Thanks
Vance
Flags: needinfo?(gsvelto)
| Assignee | ||
Comment 3•10 years ago
|
||
Yes, I'm the WAP Push component owner so I can take this; but it will have to wait until I've cleared my 2.2+ backlog.
Assignee: nobody → gsvelto
Flags: needinfo?(gsvelto)
OS: Linux → Gonk (Firefox OS)
Hardware: x86_64 → ARM
Comment 4•10 years ago
|
||
Since Gabriele always took this bug, let us know (+arthur) if you guys need any further help from Settings app :)
Flags: needinfo?(ejchen)
| Reporter | ||
Updated•10 years ago
|
Whiteboard: [sprd390800]
there are a solution for the issue. review please.
Thanks
duzc
************************************************************************
var authTypeNode =
napAuthInfoNode.querySelector('parm[name="AUTHTYPE"]');
if (authTypeNode) {
- var authType = AUTHTYPE_MAPPING[
- authTypeNode.getAttribute('value')
- ];
+ //SPRD bug386009: the authType can not show.@{
+ var authType = authTypeNode.getAttribute('value');
+ // SPRD bug386009 end @}
if (authType) {
obj.authtype = authType;
}
************************************************************************
update the solution for the issue.
************************************************************************
--- a/apps/wappush/js/parsed_doc.js
+++ b/apps/wappush/js/parsed_doc.js
@@ -174,12 +174,12 @@
var authTypeNode =
napAuthInfoNode.querySelector('parm[name="AUTHTYPE"]');
if (authTypeNode) {
- var authType = AUTHTYPE_MAPPING[
- authTypeNode.getAttribute('value')
- ];
+ //SPRD bug386009: the authType can not show.@{
+ var authType = authTypeNode.getAttribute('value');
if (authType) {
- obj.authtype = authType;
+ obj.authtype = authType.toLowerCase();
}
+ // SPRD bug386009 end @}
}
************************************************************************
Thanks
duzc
| Assignee | ||
Updated•9 years ago
|
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•