[jira] [Commented] (CB-2840) crash when disabling network connection during file download

2013-05-01 Thread Sanchit Bahal (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-2840?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13646515#comment-13646515
 ] 

Sanchit Bahal commented on CB-2840:
---

I am also facing a similar issue with Cordova 2.5.0 while downloading multiple 
files from a server. The issue is consistently reproducible, and the way I do 
it is by manually killing the server while the download is in progress. 

The really strange thing that seems to be happening in this case is that while 
most of the downloads fail with error code 3 (Connection error, I guess), few 
downloads finish successfully with the response code 200 (even though the 
server is no longer available). And when I check the contents of these files, 
they have been only partially downloaded.

Here is an excerpt of the logs for the same:

2013-05-01 15:21:17.381 App[7146:907] File Transfer Error: Could not connect to 
the server.; http://server ip/documents/10010/download 
2013-05-01 15:21:17.390 App[7146:907] [ERROR] 
{code:3,source:http://server 
ip/documents/10015/download,target:/var/mobile/Applications/0494B6E5-E796-4A3C-9C39-F8E3BBF15359/tmp/10015,http_status:null,body:null}
 
2013-05-01 15:21:17.392 App[7146:907] [ERROR] 
{code:3,source:http://server 
ip/documents/10010/download,target:/var/mobile/Applications/0494B6E5-E796-4A3C-9C39-F8E3BBF15359/tmp/10010,http_status:null,body:null}
 
2013-05-01 15:21:17.402 App[7146:907] File Transfer Finished with response code 
200; http://server ip/documents/10008/download 
2013-05-01 15:21:17.404 App[7146:907] -[CDVFileTransferDelegate 
connectionDidFinishLoading:] [Line 488] Write file 
/var/mobile/Applications/0494B6E5-E796-4A3C-9C39-F8E3BBF15359/tmp/10008 
2013-05-01 15:21:17.417 App[7146:907] -[CDVFileTransferDelegate 
connectionDidFinishLoading:] [Line 507] File Transfer Download success 
2013-05-01 15:21:17.449 App[7146:907] File Transfer Error: Could not connect to 
the server.; http://server ip/documents/10013/download 
2013-05-01 15:21:17.452 App[7146:907] [ERROR] 
{code:3,source:http://server 
ip/documents/10013/download,target:/var/mobile/Applications/0494B6E5-E796-4A3C-9C39-F8E3BBF15359/tmp/10013,http_status:null,body:null}
2013-05-01 15:21:17.475 App[7146:907] File Transfer Finished with response code 
200; http://server ip/documents/10016/download 
2013-05-01 15:21:17.476 App[7146:907] -[CDVFileTransferDelegate 
connectionDidFinishLoading:] [Line 488] Write file 
/var/mobile/Applications/0494B6E5-E796-4A3C-9C39-F8E3BBF15359/tmp/10016 
2013-05-01 15:21:17.488 App[7146:907] -[CDVFileTransferDelegate 
connectionDidFinishLoading:] [Line 507] File Transfer Download success 

 crash when disabling network connection during file download
 

 Key: CB-2840
 URL: https://issues.apache.org/jira/browse/CB-2840
 Project: Apache Cordova
  Issue Type: Bug
  Components: iOS
Affects Versions: 2.5.0
 Environment: all iOS Versions
Reporter: Dominik Binz
Assignee: Ian Clelland
  Labels: patch

 When disabling network connection during file download the app crashes to 
 home screen with the following error:
 2013-03-28 01:49:24.515 Cordova250[4255:907] -[CDVFileTransfer download:] 
 [Line 350] File Transfer downloading file...
 2013-03-28 01:49:38.440 Cordova250[4255:907] *** Terminating app due to 
 uncaught exception 'NSInvalidArgumentException', reason: '*** 
 setObjectForKey: object cannot be nil (key: body)'
 *** First throw call stack:
 (0x345443e7 0x3c23f963 0x344a65ef 0xa30b5 0xa49b5 0x34e80915 0x34dc0769 
 0x34e80aeb 0x3422170b 0x34220d33 0x34249013 0x3448aacd 0x34249473 0x341ad461 
 0x345198f7 0x345191f3 0x34517f2f 0x3448b23d 0x3448b0c9 0x3806a33b 0x363a72b9 
 0x6d06f 0x6d030)
 libc++abi.dylib: terminate called throwing an exception
 (lldb)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (CB-2669) Support for mutual SSL (on Ajax calls)

2013-05-01 Thread Eloy Gonzalez (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-2669?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13646525#comment-13646525
 ] 

Eloy Gonzalez commented on CB-2669:
---

I also have the same issue. 

Our application needs to access / comunicate to enterprise webservices via 
mutual SSL validation (it´s a requirement from our Security IT department).

Devices OS are not only iOs but also Android and Windows as well.



 Support for mutual SSL (on Ajax calls)
 --

 Key: CB-2669
 URL: https://issues.apache.org/jira/browse/CB-2669
 Project: Apache Cordova
  Issue Type: New Feature
  Components: iOS
Affects Versions: 2.5.0
 Environment: In many situations, two-factor authentication is 
 mandatory.
Reporter: Jamie Brooks
Assignee: Shazron Abdullah
Priority: Critical
  Labels: SSL, clientcertificate, mutualSSL, two-factor
   Original Estimate: 48h
  Remaining Estimate: 48h

 In some situations, two-factor authentication is required, and client 
 certificates (a X.509 certificate with a 1.3.6.1.5.5.7.3.2 enhanced key 
 usage) are a popular choice as a first factor. With mutual SSL, the client 
 verifies the server's identity (server authentication) and the server 
 verifies the client's identity (client authentication). Unfortunately, 
 Cordova does not support mutual SSL.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Created] (CB-3309) npm install -g cordova fails on Windows 7 and Windows 8

2013-05-01 Thread Richard Stovall (JIRA)
Richard Stovall created CB-3309:
---

 Summary: npm install -g cordova fails on Windows 7 and Windows 8
 Key: CB-3309
 URL: https://issues.apache.org/jira/browse/CB-3309
 Project: Apache Cordova
  Issue Type: Bug
  Components: CLI
Affects Versions: 2.6.0
 Environment: Windows 7
Windows 8
Reporter: Richard Stovall
Assignee: Filip Maj


I've attempted to use NPM to install the Cordova CLI on two different machines, 
a windows 8 computer and a windows 7 computer. Both attempts gave me the same 
error message.

Additionally, I've tried to install Cordova 2.6 and 2.5 on the windows 8 
machine and received the same message. 

12282 verbose rebuildBundles   'shelljs',
12282 verbose rebuildBundles   'xcode' ]
12283 info install cordova@2.7.2
12284 verbose unsafe-perm in lifecycle true
12285 silly exec cmd /c node bootstrap.js
12286 silly cmd,/c,node 
bootstrap.js,C:\Users\richard.stovall\AppData\Roaming\npm\node_modules\cordova 
spawning
12287 info cordova@2.7.2 Failed to exec install script
12288 info C:\Users\richard.stovall\AppData\Roaming\npm\node_modules\cordova 
unbuild
12289 verbose from cache 
C:\Users\richard.stovall\AppData\Roaming\npm\node_modules\cordova\package.json
12290 info preuninstall cordova@2.7.2
12291 info uninstall cordova@2.7.2
12292 verbose 
true,C:\Users\richard.stovall\AppData\Roaming\npm\node_modules,C:\Users\richard.stovall\AppData\Roaming\npm\node_modules
 unbuild cordova@2.7.2
12293 verbose C:\Users\richard.stovall\AppData\Roaming\npm,[object Object] 
binRoot
12294 info postuninstall cordova@2.7.2
12295 error cordova@2.7.2 install: `node bootstrap.js`
12295 error `cmd /c node bootstrap.js` failed with 1
12296 error Failed at the cordova@2.7.2 install script.
12296 error This is most likely a problem with the cordova package,
12296 error not with npm itself.
12296 error Tell the author that this fails on your system:
12296 error node bootstrap.js
12296 error You can get their info via:
12296 error npm owner ls cordova
12296 error There is likely additional logging output above.
12297 error System Windows_NT 6.2.9200
12298 error command C:\\Program Files\\nodejsnode.exe C:\\Program 
Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js install -g cordova
12299 error cwd C:\Projects
12300 error node -v v0.10.5
12301 error npm -v 1.2.18
12302 error code ELIFECYCLE
12303 verbose exit [ 1, true ]

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Assigned] (CB-2598) Camera/iOS docs references navigator.fileMgr

2013-05-01 Thread James Jong (JIRA)

 [ 
https://issues.apache.org/jira/browse/CB-2598?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

James Jong reassigned CB-2598:
--

Assignee: James Jong  (was: Michael Brooks)

 Camera/iOS docs references navigator.fileMgr
 

 Key: CB-2598
 URL: https://issues.apache.org/jira/browse/CB-2598
 Project: Apache Cordova
  Issue Type: Bug
  Components: Docs
Affects Versions: Master
Reporter: Raymond Camden
Assignee: James Jong
Priority: Minor
 Fix For: 2.7.0


 While looking at the docs for Camera, I saw this in the iOS quirks:
 When destinationType.FILE_URI is used, photos are saved in the application's 
 temporary directory. Developers may delete the contents of this directory 
 using the navigator.fileMgr APIs if storage space is a concern.
 Not having any idea what navigator.fileMgr was, I did some Googling and came 
 across this StackOverflow post: 
 http://stackoverflow.com/questions/12170379/phonegaps-navigator-filemgr-always-undefined
 As you can see, this has tripped someone up already.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (CB-2598) Camera/iOS docs references navigator.fileMgr

2013-05-01 Thread James Jong (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-2598?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13646643#comment-13646643
 ] 

James Jong commented on CB-2598:


This is confusing and the reference to navigator.fileMgr should be removed.

 Camera/iOS docs references navigator.fileMgr
 

 Key: CB-2598
 URL: https://issues.apache.org/jira/browse/CB-2598
 Project: Apache Cordova
  Issue Type: Bug
  Components: Docs
Affects Versions: Master
Reporter: Raymond Camden
Assignee: James Jong
Priority: Minor
 Fix For: 2.7.0


 While looking at the docs for Camera, I saw this in the iOS quirks:
 When destinationType.FILE_URI is used, photos are saved in the application's 
 temporary directory. Developers may delete the contents of this directory 
 using the navigator.fileMgr APIs if storage space is a concern.
 Not having any idea what navigator.fileMgr was, I did some Googling and came 
 across this StackOverflow post: 
 http://stackoverflow.com/questions/12170379/phonegaps-navigator-filemgr-always-undefined
 As you can see, this has tripped someone up already.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Resolved] (CB-3276) Tag Mobile Spec

2013-05-01 Thread Steve Gill (JIRA)

 [ 
https://issues.apache.org/jira/browse/CB-3276?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Steve Gill resolved CB-3276.


Resolution: Fixed

 Tag Mobile Spec
 ---

 Key: CB-3276
 URL: https://issues.apache.org/jira/browse/CB-3276
 Project: Apache Cordova
  Issue Type: Sub-task
  Components: mobile-spec
Reporter: Joe Bowser
Assignee: Filip Maj
 Fix For: 2.7.0


 After all platforms have been tagged, mobile-spec can be tagged.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Resolved] (CB-3277) Generate a Source Release

2013-05-01 Thread Steve Gill (JIRA)

 [ 
https://issues.apache.org/jira/browse/CB-3277?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Steve Gill resolved CB-3277.


Resolution: Fixed

2.7.0 was released yesterday!

 Generate a Source Release
 -

 Key: CB-3277
 URL: https://issues.apache.org/jira/browse/CB-3277
 Project: Apache Cordova
  Issue Type: Sub-task
  Components: Coho
Reporter: Joe Bowser
Assignee: Steve Gill
 Fix For: 2.7.0


 After all other sub-tasks have been completed, Coho can generate a source 
 release.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Created] (CB-3310) add default textbox for notification prompt - JS

2013-05-01 Thread James Jong (JIRA)
James Jong created CB-3310:
--

 Summary: add default textbox for notification prompt - JS
 Key: CB-3310
 URL: https://issues.apache.org/jira/browse/CB-3310
 Project: Apache Cordova
  Issue Type: Sub-task
  Components: CordovaJS
Reporter: James Jong
Assignee: James Jong
 Fix For: 2.8.0




--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Created] (CB-3311) add default textbox for notification prompt - iOS

2013-05-01 Thread James Jong (JIRA)
James Jong created CB-3311:
--

 Summary: add default textbox for notification prompt - iOS
 Key: CB-3311
 URL: https://issues.apache.org/jira/browse/CB-3311
 Project: Apache Cordova
  Issue Type: Sub-task
  Components: iOS
Reporter: James Jong
Assignee: James Jong
 Fix For: 2.8.0




--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Created] (CB-3312) add default textbox for notification prompt - Android

2013-05-01 Thread James Jong (JIRA)
James Jong created CB-3312:
--

 Summary: add default textbox for notification prompt - Android
 Key: CB-3312
 URL: https://issues.apache.org/jira/browse/CB-3312
 Project: Apache Cordova
  Issue Type: Sub-task
  Components: Android
Reporter: James Jong
Assignee: James Jong
 Fix For: 2.8.0




--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Updated] (CB-3022) add default textbox value for notification.prompt dialog

2013-05-01 Thread James Jong (JIRA)

 [ 
https://issues.apache.org/jira/browse/CB-3022?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

James Jong updated CB-3022:
---

Fix Version/s: (was: 2.7.0)
   2.8.0

 add default textbox value for notification.prompt dialog
 

 Key: CB-3022
 URL: https://issues.apache.org/jira/browse/CB-3022
 Project: Apache Cordova
  Issue Type: Improvement
  Components: Android, CordovaJS, iOS
Affects Versions: 2.6.0
Reporter: Martin Schreiber
Assignee: James Jong
  Labels: notification
 Fix For: 2.8.0


 Missing a default textbox value for the new notification.prompt feature 
 introduced with 2.6.
 Since the default value is a feature of the native js prompt, it should be 
 also available for the notification.prompt feature.
 It was discussed 
 [here|https://issues.apache.org/jira/browse/CB-2679?focusedCommentId=13603528page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13603528],
  but got lost during the last release.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Assigned] (CB-3312) add default textbox for notification prompt - Android

2013-05-01 Thread James Jong (JIRA)

 [ 
https://issues.apache.org/jira/browse/CB-3312?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

James Jong reassigned CB-3312:
--

Assignee: mike billau  (was: James Jong)

 add default textbox for notification prompt - Android
 -

 Key: CB-3312
 URL: https://issues.apache.org/jira/browse/CB-3312
 Project: Apache Cordova
  Issue Type: Sub-task
  Components: Android
Reporter: James Jong
Assignee: mike billau
 Fix For: 2.8.0




--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Created] (CB-3313) Both Camera.getPicture and Capture.captureImage api doesn't set MediaStore.Images.Media.Size after picture taken

2013-05-01 Thread yongqian gao (JIRA)
yongqian gao created CB-3313:


 Summary: Both Camera.getPicture and Capture.captureImage api 
doesn't set MediaStore.Images.Media.Size after picture taken
 Key: CB-3313
 URL: https://issues.apache.org/jira/browse/CB-3313
 Project: Apache Cordova
  Issue Type: Improvement
  Components: Android
Affects Versions: 2.6.0
Reporter: yongqian gao
Assignee: Joe Bowser
Priority: Minor


Tried a couple android devices with both image and picture api from Cordova; 
and notice the picture size shows zero while getting those picture from Windows 
7/Portable Devices. And on some of device, you can not copy those pictures to 
windows desktop. while you can get those pictures from Adb/Shell, and file size 
is right.

I notice both APIs doesn't set MediaStore.Images.Media.Size after picture taken.

 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (CB-3277) Generate a Source Release

2013-05-01 Thread Andrew Grieve (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-3277?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13646770#comment-13646770
 ] 

Andrew Grieve commented on CB-3277:
---

No vote again?

 Generate a Source Release
 -

 Key: CB-3277
 URL: https://issues.apache.org/jira/browse/CB-3277
 Project: Apache Cordova
  Issue Type: Sub-task
  Components: Coho
Reporter: Joe Bowser
Assignee: Steve Gill
 Fix For: 2.7.0


 After all other sub-tasks have been completed, Coho can generate a source 
 release.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Created] (CB-3314) Capture.captureImage method doesn't set MediaStore.Images.Media.Orientation value correctly as picture taken.

2013-05-01 Thread yongqian gao (JIRA)
yongqian gao created CB-3314:


 Summary: Capture.captureImage method doesn't set 
MediaStore.Images.Media.Orientation value correctly as picture taken.
 Key: CB-3314
 URL: https://issues.apache.org/jira/browse/CB-3314
 Project: Apache Cordova
  Issue Type: Improvement
  Components: Android
Affects Versions: 2.6.0
Reporter: yongqian gao
Assignee: Joe Bowser
Priority: Minor


Discover this issue while testing one of Motorola RAZRi device using 
Capture.captureImage api.

The Camera of this device rotates picture 90 degrees, however 
MediaStore.Images.Media.Orientation value is 0 of the picture after I took it 
from Capture.captureImage api. I hope this orientation value can be right value 
as picture taken on Device Camera application.

There is some workaround provided by Camera.getPicture to fix orientation. But 
it will be good for Capture.captureImage to store orientation in the 
mediastore; so the picture can be viewed in normal orientation as other 
pictures taken by device Camera application.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Assigned] (CB-3158) Additional Failing Tests

2013-05-01 Thread Lorin Beer (JIRA)

 [ 
https://issues.apache.org/jira/browse/CB-3158?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Lorin Beer reassigned CB-3158:
--

Assignee: Lorin Beer  (was: Bryan Higgins)

 Additional Failing Tests
 

 Key: CB-3158
 URL: https://issues.apache.org/jira/browse/CB-3158
 Project: Apache Cordova
  Issue Type: Sub-task
  Components: BlackBerry
Reporter: Lorin Beer
Assignee: Lorin Beer
Priority: Minor

 Before the migration can take place, BlackBerry Cordova must have the same or 
 better test pass/fail ratio in mobile-spec
 Outstanding API's are:
 File API: 85 additional tests failing
 File Transfer API: 7 additional tests failing
 Minor divergences are:
 Notifications API: 1 additional tests failing
 Please update this issue as data is uptdated

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Resolved] (CB-3158) Additional Failing Tests

2013-05-01 Thread Lorin Beer (JIRA)

 [ 
https://issues.apache.org/jira/browse/CB-3158?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Lorin Beer resolved CB-3158.


Resolution: Fixed

resolving, confirmed passed rate a while pack, issue put to rest. Current test 
pass rate is within BB10's current implementation

 Additional Failing Tests
 

 Key: CB-3158
 URL: https://issues.apache.org/jira/browse/CB-3158
 Project: Apache Cordova
  Issue Type: Sub-task
  Components: BlackBerry
Reporter: Lorin Beer
Assignee: Lorin Beer
Priority: Minor

 Before the migration can take place, BlackBerry Cordova must have the same or 
 better test pass/fail ratio in mobile-spec
 Outstanding API's are:
 File API: 85 additional tests failing
 File Transfer API: 7 additional tests failing
 Minor divergences are:
 Notifications API: 1 additional tests failing
 Please update this issue as data is uptdated

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Updated] (CB-3161) Tooling to match existing CLI

2013-05-01 Thread Lorin Beer (JIRA)

 [ 
https://issues.apache.org/jira/browse/CB-3161?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Lorin Beer updated CB-3161:
---

Priority: Minor  (was: Major)

 Tooling to match existing CLI
 -

 Key: CB-3161
 URL: https://issues.apache.org/jira/browse/CB-3161
 Project: Apache Cordova
  Issue Type: Sub-task
  Components: BlackBerry
Reporter: Lorin Beer
Priority: Minor

 Existing tooling, such as create scripts, diverge in behaviour from existing 
 Cordova tooling, which has the goal of being identical across platforms.
 Exact divergence to be documented.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Updated] (CB-3160) Latest Version of Cordova

2013-05-01 Thread Lorin Beer (JIRA)

 [ 
https://issues.apache.org/jira/browse/CB-3160?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Lorin Beer updated CB-3160:
---

Priority: Blocker  (was: Major)

 Latest Version of Cordova
 -

 Key: CB-3160
 URL: https://issues.apache.org/jira/browse/CB-3160
 Project: Apache Cordova
  Issue Type: Sub-task
  Components: BlackBerry
Reporter: Lorin Beer
Priority: Blocker

 current version of cordova.js used in 'Hello World' created by ./create is 
 2.4.0
 keep the version used current with Cordova releases

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (CB-3160) Latest Version of Cordova

2013-05-01 Thread Lorin Beer (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-3160?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13646812#comment-13646812
 ] 

Lorin Beer commented on CB-3160:


project creation script now uses 2.4.0rc1, which seems to be a step back. Need 
this to support 2.7.0 before code migration takes place.

 Latest Version of Cordova
 -

 Key: CB-3160
 URL: https://issues.apache.org/jira/browse/CB-3160
 Project: Apache Cordova
  Issue Type: Sub-task
  Components: BlackBerry
Reporter: Lorin Beer

 current version of cordova.js used in 'Hello World' created by ./create is 
 2.4.0
 keep the version used current with Cordova releases

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Updated] (CB-3159) BB10 Documentation

2013-05-01 Thread Lorin Beer (JIRA)

 [ 
https://issues.apache.org/jira/browse/CB-3159?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Lorin Beer updated CB-3159:
---

Priority: Blocker  (was: Major)

 BB10 Documentation
 --

 Key: CB-3159
 URL: https://issues.apache.org/jira/browse/CB-3159
 Project: Apache Cordova
  Issue Type: Sub-task
  Components: BlackBerry
Reporter: Lorin Beer
Priority: Blocker

 new versions of guides and documentation matching any new workflow introduced 
 in the new codebase.
 Major tasks are:
 1. Getting Started Guide 
 http://docs.phonegap.com/en/edge/guide_getting-started_blackberry_index.md.html#Getting%20Started%20with%20BlackBerry
 2. Command Line Usage 
 http://docs.phonegap.com/en/edge/guide_command-line_index.md.html#Command-Line%20Usage_blackberry
 3. Plugin Development Guide 
 http://docs.phonegap.com/en/edge/guide_plugin-development_blackberry_index.md.html#Developing%20a%20Plugin%20on%20BlackBerry

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (CB-3159) BB10 Documentation

2013-05-01 Thread Lorin Beer (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-3159?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13646819#comment-13646819
 ] 

Lorin Beer commented on CB-3159:


this remains outstanding, upgraded to blocker. 

 BB10 Documentation
 --

 Key: CB-3159
 URL: https://issues.apache.org/jira/browse/CB-3159
 Project: Apache Cordova
  Issue Type: Sub-task
  Components: BlackBerry
Reporter: Lorin Beer
Priority: Blocker

 new versions of guides and documentation matching any new workflow introduced 
 in the new codebase.
 Major tasks are:
 1. Getting Started Guide 
 http://docs.phonegap.com/en/edge/guide_getting-started_blackberry_index.md.html#Getting%20Started%20with%20BlackBerry
 2. Command Line Usage 
 http://docs.phonegap.com/en/edge/guide_command-line_index.md.html#Command-Line%20Usage_blackberry
 3. Plugin Development Guide 
 http://docs.phonegap.com/en/edge/guide_plugin-development_blackberry_index.md.html#Developing%20a%20Plugin%20on%20BlackBerry

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Assigned] (CB-3161) Tooling to match existing CLI

2013-05-01 Thread Bryan Higgins (JIRA)

 [ 
https://issues.apache.org/jira/browse/CB-3161?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Bryan Higgins reassigned CB-3161:
-

Assignee: Jeffrey Heifetz

 Tooling to match existing CLI
 -

 Key: CB-3161
 URL: https://issues.apache.org/jira/browse/CB-3161
 Project: Apache Cordova
  Issue Type: Sub-task
  Components: BlackBerry
Reporter: Lorin Beer
Assignee: Jeffrey Heifetz
Priority: Minor

 Existing tooling, such as create scripts, diverge in behaviour from existing 
 Cordova tooling, which has the goal of being identical across platforms.
 Exact divergence to be documented.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (CB-3161) Tooling to match existing CLI

2013-05-01 Thread Lorin Beer (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-3161?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13646851#comment-13646851
 ] 

Lorin Beer commented on CB-3161:


scratch number 2, just needs external documentation.

I should have clarified, help messages are ok, but need better error messages. 
A good start would be to spit out the help string instead of the usage error 
messages.

build is good

target could be better, namely the help messages for sub tasks (add, remove, 
default)


 Tooling to match existing CLI
 -

 Key: CB-3161
 URL: https://issues.apache.org/jira/browse/CB-3161
 Project: Apache Cordova
  Issue Type: Sub-task
  Components: BlackBerry
Reporter: Lorin Beer
Assignee: Jeffrey Heifetz
Priority: Minor

 Existing tooling, such as create scripts, diverge in behaviour from existing 
 Cordova tooling, which has the goal of being identical across platforms.
 Exact divergence to be documented.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Resolved] (CB-3235) Tag 2.7.0

2013-05-01 Thread Steve Gill (JIRA)

 [ 
https://issues.apache.org/jira/browse/CB-3235?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Steve Gill resolved CB-3235.


Resolution: Fixed

 Tag 2.7.0
 -

 Key: CB-3235
 URL: https://issues.apache.org/jira/browse/CB-3235
 Project: Apache Cordova
  Issue Type: Task
Reporter: Joe Bowser
 Fix For: 2.7.0


 Parent issue to track the release steps for 2.7.0.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (CB-1215) Select multiple photos from photo album using camera.getPicture()

2013-05-01 Thread Filip Maj (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-1215?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13646857#comment-13646857
 ] 

Filip Maj commented on CB-1215:
---

The API audit will happen after 3.0, which is slated for July.

 Select multiple photos from photo album using camera.getPicture()
 -

 Key: CB-1215
 URL: https://issues.apache.org/jira/browse/CB-1215
 Project: Apache Cordova
  Issue Type: New Feature
  Components: CordovaJS
Reporter: Zack Boman
Assignee: Filip Maj
Priority: Minor
  Labels: api-addition, audit, camera, getPicture, multiple

 I've been using camera.getPicture() to select a photo from the user's phone 
 gallery and it works great when all I want is to select one photo.  But 
 several of my users have requested the ability to select multiple photos in a 
 single selection.  I've seen other apps show a photo picker that allows the 
 user to select multiple photos by clicking on them and then it adds a check 
 mark next to each one and selects all of the photos that the user checked.
 As far as I can tell, this functionality doesn't currently exist but Simon 
 MacDonald told me to submit an enhancement ticket because the functionality 
 is possible but just hasn't been implemented.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (CB-3161) Tooling to match existing CLI

2013-05-01 Thread Bryan Higgins (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-3161?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13646861#comment-13646861
 ] 

Bryan Higgins commented on CB-3161:
---

Yeah, we're still fine tuning the target command. Feel free to comment on the 
pull request:

https://github.com/blackberry/cordova-blackberry/pull/10

We're also looking at the return values from scripts to match what CLI is 
expecting. I'll see if we can improve the error messages as part of that.

 Tooling to match existing CLI
 -

 Key: CB-3161
 URL: https://issues.apache.org/jira/browse/CB-3161
 Project: Apache Cordova
  Issue Type: Sub-task
  Components: BlackBerry
Reporter: Lorin Beer
Assignee: Jeffrey Heifetz
Priority: Minor

 Existing tooling, such as create scripts, diverge in behaviour from existing 
 Cordova tooling, which has the goal of being identical across platforms.
 Exact divergence to be documented.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Resolved] (CB-3310) add default textbox for notification prompt - JS

2013-05-01 Thread James Jong (JIRA)

 [ 
https://issues.apache.org/jira/browse/CB-3310?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

James Jong resolved CB-3310.


Resolution: Fixed

Committed here:
https://git-wip-us.apache.org/repos/asf?p=cordova-js.git;a=commit;h=9fcf6d89ef55b21c57a8541c61808cbeb4d8f6e5

 add default textbox for notification prompt - JS
 

 Key: CB-3310
 URL: https://issues.apache.org/jira/browse/CB-3310
 Project: Apache Cordova
  Issue Type: Sub-task
  Components: CordovaJS
Reporter: James Jong
Assignee: James Jong
 Fix For: 2.8.0




--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Resolved] (CB-3311) add default textbox for notification prompt - iOS

2013-05-01 Thread James Jong (JIRA)

 [ 
https://issues.apache.org/jira/browse/CB-3311?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

James Jong resolved CB-3311.


Resolution: Fixed

Committed here:
https://git-wip-us.apache.org/repos/asf?p=cordova-ios.git;a=commit;h=2f53c3ff6548c0ac6d2cf6e8ad63debdabe0e663

 add default textbox for notification prompt - iOS
 -

 Key: CB-3311
 URL: https://issues.apache.org/jira/browse/CB-3311
 Project: Apache Cordova
  Issue Type: Sub-task
  Components: iOS
Reporter: James Jong
Assignee: James Jong
 Fix For: 2.8.0




--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (CB-1215) Select multiple photos from photo album using camera.getPicture()

2013-05-01 Thread Peter Carabeo-Nieva (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-1215?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13646881#comment-13646881
 ] 

Peter Carabeo-Nieva commented on CB-1215:
-

Thanks for the quick update nonetheless. This helps me to set expectations and 
continue with my workarounds for the meantime.

 Select multiple photos from photo album using camera.getPicture()
 -

 Key: CB-1215
 URL: https://issues.apache.org/jira/browse/CB-1215
 Project: Apache Cordova
  Issue Type: New Feature
  Components: CordovaJS
Reporter: Zack Boman
Assignee: Filip Maj
Priority: Minor
  Labels: api-addition, audit, camera, getPicture, multiple

 I've been using camera.getPicture() to select a photo from the user's phone 
 gallery and it works great when all I want is to select one photo.  But 
 several of my users have requested the ability to select multiple photos in a 
 single selection.  I've seen other apps show a photo picker that allows the 
 user to select multiple photos by clicking on them and then it adds a check 
 mark next to each one and selects all of the photos that the user checked.
 As far as I can tell, this functionality doesn't currently exist but Simon 
 MacDonald told me to submit an enhancement ticket because the functionality 
 is possible but just hasn't been implemented.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (CB-3284) asset installation (and uninstallation) should happen in install (and uninstall) modules

2013-05-01 Thread Michal Mocny (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-3284?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13646888#comment-13646888
 ] 

Michal Mocny commented on CB-3284:
--

Hey gents, as of this weekend asset tags are not being copied over properly on 
android :(

I suspect 8c2e7ba18e6b5c0e2dfab72f813d3b58344a7572 was the cause, which 
references this bug.  What are the changes here?

 asset installation (and uninstallation) should happen in install (and 
 uninstall) modules
 --

 Key: CB-3284
 URL: https://issues.apache.org/jira/browse/CB-3284
 Project: Apache Cordova
  Issue Type: Bug
  Components: Plugman
Reporter: Filip Maj
Assignee: Anis Kadri

 Instead of doing so in the prepare module, do it inside the (un)install 
 modules right before calling into the platform handlers.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (CB-3284) asset installation (and uninstallation) should happen in install (and uninstall) modules

2013-05-01 Thread Michal Mocny (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-3284?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13646913#comment-13646913
 ] 

Michal Mocny commented on CB-3284:
--

As-per discussion on irc (not confirmed yet) we suspect that cli is clobbering 
platform www/ folder and expecting to re-create it on prepare.. but assets are 
now only copied on install, hence they are left missing.

 asset installation (and uninstallation) should happen in install (and 
 uninstall) modules
 --

 Key: CB-3284
 URL: https://issues.apache.org/jira/browse/CB-3284
 Project: Apache Cordova
  Issue Type: Bug
  Components: Plugman
Reporter: Filip Maj
Assignee: Anis Kadri

 Instead of doing so in the prepare module, do it inside the (un)install 
 modules right before calling into the platform handlers.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Created] (CB-3317) extend plugman with optional www_dir parameter

2013-05-01 Thread Filip Maj (JIRA)
Filip Maj created CB-3317:
-

 Summary: extend plugman with optional www_dir parameter
 Key: CB-3317
 URL: https://issues.apache.org/jira/browse/CB-3317
 Project: Apache Cordova
  Issue Type: Sub-task
  Components: Plugman
Reporter: Filip Maj
Assignee: Anis Kadri


Allows the user to specify the location of a project's www directory.

Useful if the www directory is actually housed outside of a cordova project. 
cordova-cli would depend on this. Developers sharing code between a standard 
mobile web site and cordova applications could see benefits from this as well.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Updated] (CB-3317) extend plugman with optional www_dir parameter

2013-05-01 Thread Filip Maj (JIRA)

 [ 
https://issues.apache.org/jira/browse/CB-3317?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Filip Maj updated CB-3317:
--

Parent Issue: CB-3287  (was: CB-3316)

 extend plugman with optional www_dir parameter
 --

 Key: CB-3317
 URL: https://issues.apache.org/jira/browse/CB-3317
 Project: Apache Cordova
  Issue Type: Sub-task
  Components: Plugman
Reporter: Filip Maj
Assignee: Anis Kadri

 Allows the user to specify the location of a project's www directory.
 Useful if the www directory is actually housed outside of a cordova project. 
 cordova-cli would depend on this. Developers sharing code between a standard 
 mobile web site and cordova applications could see benefits from this as well.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Deleted] (CB-3316) integrate plugman into cordova-cli

2013-05-01 Thread Filip Maj (JIRA)

 [ 
https://issues.apache.org/jira/browse/CB-3316?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Filip Maj deleted CB-3316:
--


 integrate plugman into cordova-cli
 --

 Key: CB-3316
 URL: https://issues.apache.org/jira/browse/CB-3316
 Project: Apache Cordova
  Issue Type: Bug
Reporter: Filip Maj
Assignee: Filip Maj

 parent issue to track specific integration issues with cordova-cli

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (CB-3284) asset installation (and uninstallation) should happen in install (and uninstall) modules

2013-05-01 Thread Filip Maj (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-3284?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13646948#comment-13646948
 ] 

Filip Maj commented on CB-3284:
---

Hey Michal, I think adding support for a {{www_dir}} parameter would solve this 
issue. I've filed as CB-3317.

 asset installation (and uninstallation) should happen in install (and 
 uninstall) modules
 --

 Key: CB-3284
 URL: https://issues.apache.org/jira/browse/CB-3284
 Project: Apache Cordova
  Issue Type: Bug
  Components: Plugman
Reporter: Filip Maj
Assignee: Anis Kadri

 Instead of doing so in the prepare module, do it inside the (un)install 
 modules right before calling into the platform handlers.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (CB-3315) Rotating device causes application to restart

2013-05-01 Thread Joe Bowser (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-3315?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13646969#comment-13646969
 ] 

Joe Bowser commented on CB-3315:


What device is this happening on?

Also, remove the code that's trying to set the orientation, that's probably 
what's causing your app to crash.

 Rotating device causes application to restart
 -

 Key: CB-3315
 URL: https://issues.apache.org/jira/browse/CB-3315
 Project: Apache Cordova
  Issue Type: Bug
  Components: Android
Affects Versions: 2.5.0
 Environment: Android Tablets (assuming Android in general)
Reporter: Josh Dean
Assignee: Joe Bowser

 Whenever I startup an app and have rotation enabled, if I rotate it 
 completely restarts the app which eventually causes timeout errors and the 
 app crashes completely.
 AndroidManifest.xml - http://pastebin.com/yCNHtG7s
 app.java - http://pastebin.com/hj4X3shV

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Resolved] (CB-3315) Rotating device causes application to restart

2013-05-01 Thread Joe Bowser (JIRA)

 [ 
https://issues.apache.org/jira/browse/CB-3315?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Joe Bowser resolved CB-3315.


Resolution: Fixed

Tested this on the Nexus 7 running 4.2.2 and the Nexus 10 also running 4.2.2 
and the orientation didn't cause the app to restart.  That being said, messing 
with orientation in this way isn't supported, and the results are 
unpredictable, so YMMV.

 Rotating device causes application to restart
 -

 Key: CB-3315
 URL: https://issues.apache.org/jira/browse/CB-3315
 Project: Apache Cordova
  Issue Type: Bug
  Components: Android
Affects Versions: 2.5.0
 Environment: Android Tablets (assuming Android in general)
Reporter: Josh Dean
Assignee: Joe Bowser

 Whenever I startup an app and have rotation enabled, if I rotate it 
 completely restarts the app which eventually causes timeout errors and the 
 app crashes completely.
 AndroidManifest.xml - http://pastebin.com/yCNHtG7s
 app.java - http://pastebin.com/hj4X3shV

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Reopened] (CB-3315) Rotating device causes application to restart

2013-05-01 Thread Joe Bowser (JIRA)

 [ 
https://issues.apache.org/jira/browse/CB-3315?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Joe Bowser reopened CB-3315:



Forgot to set this to Cannot Reproduce

 Rotating device causes application to restart
 -

 Key: CB-3315
 URL: https://issues.apache.org/jira/browse/CB-3315
 Project: Apache Cordova
  Issue Type: Bug
  Components: Android
Affects Versions: 2.5.0
 Environment: Android Tablets (assuming Android in general)
Reporter: Josh Dean
Assignee: Joe Bowser

 Whenever I startup an app and have rotation enabled, if I rotate it 
 completely restarts the app which eventually causes timeout errors and the 
 app crashes completely.
 AndroidManifest.xml - http://pastebin.com/yCNHtG7s
 app.java - http://pastebin.com/hj4X3shV

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Resolved] (CB-3315) Rotating device causes application to restart

2013-05-01 Thread Joe Bowser (JIRA)

 [ 
https://issues.apache.org/jira/browse/CB-3315?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Joe Bowser resolved CB-3315.


Resolution: Cannot Reproduce

 Rotating device causes application to restart
 -

 Key: CB-3315
 URL: https://issues.apache.org/jira/browse/CB-3315
 Project: Apache Cordova
  Issue Type: Bug
  Components: Android
Affects Versions: 2.5.0
 Environment: Android Tablets (assuming Android in general)
Reporter: Josh Dean
Assignee: Joe Bowser

 Whenever I startup an app and have rotation enabled, if I rotate it 
 completely restarts the app which eventually causes timeout errors and the 
 app crashes completely.
 AndroidManifest.xml - http://pastebin.com/yCNHtG7s
 app.java - http://pastebin.com/hj4X3shV

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (CB-3026) When debugging/developing in browser using Ripple Chromium extension - HTTP 404 on cordova_plugins.json

2013-05-01 Thread Sam Breed (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-3026?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13647095#comment-13647095
 ] 

Sam Breed commented on CB-3026:
---

So this issue seems to be causing a JavaScript error in 2.7.2 which stops 
execution before `deviceready` fires. I've been able to reproduce this in iOS 
and Android through `cordova ripple` and `cordova serve`.

Here's the relevant code that's erroring, note that this isn't being caught by 
the try/catch block because the error is happening in a callback: 
https://github.com/apache/cordova-ios/blob/master/CordovaLib/cordova.ios.js#L6394-L6414
 and here's a test case proving I'm not crazy: 
http://jsbin.com/eyureb/1/edit?javascript

 When debugging/developing in browser using Ripple Chromium extension - HTTP 
 404 on cordova_plugins.json
 ---

 Key: CB-3026
 URL: https://issues.apache.org/jira/browse/CB-3026
 Project: Apache Cordova
  Issue Type: Bug
  Components: CordovaJS
Affects Versions: 2.6.0
 Environment: (arch)Linux, 64-bit, Android SDK v21~
Reporter: Nik Smile
Assignee: Filip Maj
Priority: Minor
  Labels: build, javascript, patch
   Original Estimate: 1h
  Remaining Estimate: 1h

 Whenever the page loads it throws that 404: not found error, I'm assuming 
 it's because it's a file that get's generated for the actual build(.jar 
 file), which is missing when I debug/develop in browser - since it doesn't 
 seem to throw that error when in Android Emulator. Would it be possible to 
 just create an empty ({}) json file, perhaps by default( on 
 ./cordova/create)? Or will that break things?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (CB-3029) remote page loading 2.6.0 cordova js file not work

2013-05-01 Thread Charlie Gorichanaz (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-3029?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13647132#comment-13647132
 ] 

Charlie Gorichanaz commented on CB-3029:


Just a quick followup:

I did some more testing and verified via a fresh Cordova 2.6 project that I can 
use the InAppBrowser feature on a remote HTML page that includes the 2.6 
Javascript file.

I still can NOT do the same using Cordova 2.7.

So it sounds like my problem is as described in this ticket, but bumped one 
version. I can get 2.6 working on remote pages where Andy Downton apparently 
cannot. But 2.7 broke it for me.

 remote page loading 2.6.0 cordova js file not work
 --

 Key: CB-3029
 URL: https://issues.apache.org/jira/browse/CB-3029
 Project: Apache Cordova
  Issue Type: Bug
  Components: BlackBerry, iOS
Affects Versions: 2.6.0
 Environment: tested on ios including iphone and ipad; on blackberry, 
 reported this error: TypeError:'undefined'is not an object
Reporter: Andy Downton
 Fix For: 2.7.0


 My app loads remote page containing cordova js file; it works fine with 2.5.0 
 and previous version, however, after upgrading cordova js file to 2.6.0, all 
 app functions broken, no deviceready fired at all and other app functions 
 stop working. this bug affects only remote page loading cordova js file on 
 ios and blackberry, local page works fine. I only tested on iphone, ipad and 
 blackberry, not sure if this issue affects other OSs.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira