detail.php
OW2 Forge: Detail: 306252 Bootstrap message constructed without some parameters

Advanced - Powered by Google


   
Log In
New Account
  
 
Home
My Page
Project Tree
Project Openings
Funambol
          
 
 
Summary
Tracker
Lists
Tasks
Docs
News
CVS
Files
                
 

Tracker: Bugs

Submit New | Browse | Admin | ExportToXml

[ #306252 ] Bootstrap message constructed without some parameters

Date:
2006-10-05 08:27
Priority:
5
Submitted By:
Vjacheslav (vjacheslav)
Assigned To:
Nobody (None)
Category:
server dm
State:
Open
Summary:
Bootstrap message constructed without some parameters

Detailed description:
In WAPBootstrapMessageBuilder.java lost some parameters. 1) In getCharacteristic(NAP conNap, String connectionName): Parm napName = new Parm(PROPERTY_NAME_NAP_NAME,connectionName) created, but not added to characteristic. 2) There is no way to define parameter TO-NAPID in APPLICATION characteristic. As I understand ConRef must be used in DMAcc for this. So getCharacteristic(DMAccount dmAccount) must be modified to allow to add this parameters. Possible patch for both cases is: *************** *** 60,65 **** --- 60,66 ---- private static final String PROPERTY_NAME_APPLICATION_ID = "APPID"; private static final String PROPERTY_NAME_NAME = "NAME"; private static final String PROPERTY_NAME_PROVIDER_ID = "PROVIDER-ID"; + private static final String PROPERTY_NAME_TO_NAPID = "TO-NAPID"; private static final String PROPERTY_NAME_AAUTHSECRET = "AAUTHSECRET"; private static final String PROPERTY_NAME_AAUTHDATA = "AAUTHDATA"; private static final String PROPERTY_NAME_AAUTHNAME = "AAUTHNAME"; *************** *** 216,225 **** Parm applicationId = new Parm(PROPERTY_NAME_APPLICATION_ID, APPLICATION_ID); Parm name = new Parm(PROPERTY_NAME_NAME, dmAccount.getName()); Parm providerId = new Parm(PROPERTY_NAME_PROVIDER_ID, dmAccount.getServerId()); ! application.add(applicationId); application.add(name); application.add(providerId); // Server address and port Characteristic appAddr = new Characteristic(Characteristic.TYPE_APPADDR); --- 217,228 ---- Parm applicationId = new Parm(PROPERTY_NAME_APPLICATION_ID, APPLICATION_ID); Parm name = new Parm(PROPERTY_NAME_NAME, dmAccount.getName()); Parm providerId = new Parm(PROPERTY_NAME_PROVIDER_ID, dmAccount.getServerId()); ! Parm toNapId = new Parm(PROPERTY_NAME_TO_NAPID, dmAccount.getConRef()); ! application.add(applicationId); application.add(name); application.add(providerId); + application.add(toNapId); // Server address and port Characteristic appAddr = new Characteristic(Characteristic.TYPE_APPADDR); *************** *** 350,355 **** --- 353,359 ---- Parm napAddressType = new Parm(PROPERTY_NAME_NAP_ADDRTYPE, conNap.getAddressType()); chNap.add(napId); + chNap.add(napName); chNap.add(napBearer); chNap.add(napAddress); chNap.add(napAddressType);

Add A Comment:

Please login

Followup

Message
Date: 2007-02-20 15:03
Sender: cristiano
Logged In: YES 
user_id=11773

Accepted.  Eligible for the Bag-a-Bug Program. 1 point.

Bug number on Bugzilla: 1992

Attached Files:

Name Description Download
No Files Currently Attached

Changes:

Resource id #66listtable
resolution_id
Field Old Value Date By
resolution_idNone2007-02-20 15:03cristiano

Copyright © 1999-2008, OW2 Consortium | contact | You have a difficulty, a problem ? Please report an issue using your OW2 forge account credentials