[jira] [Updated] (CB-11990) Cordova prepare doesn't restore android.json and ios.json

2016-10-14 Thread Yuliia Mykhailova (JIRA)

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

Yuliia Mykhailova updated CB-11990:
---
Attachment: cordova_6.3.1.rtf
cordova_6.3.0.rtf

[~auso]

Hello Audrey!

I have rechecked my steps with clean projects and I'm experiencing same issues, 
please see my comand-line log of what I've done in attached files.

Also, as I see, we have some misunderstanding. When talking about 
.json I meant ios.json and android.json specific files in plugins 
folder.

Please take a look at attached files and try to reproduce the same way, let me 
know what you will get!

> Cordova prepare doesn't restore android.json and ios.json
> -
>
> Key: CB-11990
> URL: https://issues.apache.org/jira/browse/CB-11990
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: CordovaLib
>Affects Versions: 6.3.1
>Reporter: Yuliia Mykhailova
>Assignee: Audrey So
>  Labels: triaged
> Attachments: cordova_6.3.0.rtf, cordova_6.3.1.rtf
>
>
> If the platform specific .json of plugins was removed, cordova prepare 
> command doesn't re-create it, and as a result doesn't add plugins since 6.3.1 
> version, 6.3.0 is okay.
> [UPD] more detailed steps to reproduce:
> - install cordova@6.3.0
> - go to project with platform and plugins installed
> - do cordova platform remove android (or ios, doesn't matter) -> platform is 
> removed,  file is removed
> - do cordova prepare -> platform is added,  is recreated, 
> therefore plugins are added to the fresh created platform.
> - install cordova@6.3.1
> - do same steps
> - on a last step the  is not recreated, therefore platform is 
> created but no plugins are added.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Updated] (CB-11990) Cordova prepare doesn't restore android.json and ios.json

2016-10-13 Thread Yuliia Mykhailova (JIRA)

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

Yuliia Mykhailova updated CB-11990:
---
Description: 
If the platform specific .json of plugins was removed, cordova prepare command 
doesn't re-create it, and as a result doesn't add plugins since 6.3.1 version, 
6.3.0 is okay.

[UPD] more detailed steps to reproduce:

- install cordova@6.3.0
- go to project with platform and plugins installed
- do cordova platform remove android (or ios, doesn't matter) -> platform is 
removed,  file is removed
- do cordova prepare -> platform is added,  is recreated, 
therefore plugins are added to the fresh created platform.

- install cordova@6.3.1
- do same steps
- on a last step the  is not recreated, therefore platform is 
created but no plugins are added.

  was:
If the platform specific .json of plugins was removed, cordova prepare command 
doesn't re-create it, and as a result doesn't add plugins since 6.3.1 version, 
6.3.0 is okay.

[UPD] more detailed steps to reproduce:

install cordova@6.3.0
go to project with platform and plugins installed
do cordova platform remove android (or ios, doesn't matter) -> platform is 
removed,  file is removed
do cordova prepare -> platform is added,  is recreated, 
therefore plugins are added to the fresh created platform.

install cordova@6.3.1
do same steps
on a last step the  is not recreated, therefore platform is 
created but no plugins are added.


> Cordova prepare doesn't restore android.json and ios.json
> -
>
> Key: CB-11990
> URL: https://issues.apache.org/jira/browse/CB-11990
> Project: Apache Cordova
>  Issue Type: Bug
>Affects Versions: 6.3.1
>Reporter: Yuliia Mykhailova
>Assignee: Audrey So
>
> If the platform specific .json of plugins was removed, cordova prepare 
> command doesn't re-create it, and as a result doesn't add plugins since 6.3.1 
> version, 6.3.0 is okay.
> [UPD] more detailed steps to reproduce:
> - install cordova@6.3.0
> - go to project with platform and plugins installed
> - do cordova platform remove android (or ios, doesn't matter) -> platform is 
> removed,  file is removed
> - do cordova prepare -> platform is added,  is recreated, 
> therefore plugins are added to the fresh created platform.
> - install cordova@6.3.1
> - do same steps
> - on a last step the  is not recreated, therefore platform is 
> created but no plugins are added.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Commented] (CB-11990) Cordova prepare doesn't restore android.json and ios.json

2016-10-13 Thread Yuliia Mykhailova (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-11990?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15571143#comment-15571143
 ] 

Yuliia Mykhailova commented on CB-11990:


[~auso]

Here are more definite steps to reproduce:

- install cordova@6.3.0
- go to project with platform and plugins installed
- do cordova platform remove android (or ios, doesn't matter) -> platform is 
removed,  file is removed
- do cordova prepare -> platform is added,  is recreated, 
therefore plugins are added to the fresh created platform.

- install cordova@6.3.1
- do same steps
- on a last step the  is not recreated, therefore platform is 
created but no plugins are added.

This is fixable by adding a platform instead of prepare. But then what is the 
point of prepare command, if you have to call add platform before it to be sure 
that all plugins are added? And removing plugins each time you remove a 
platform also not a good approach.

> Cordova prepare doesn't restore android.json and ios.json
> -
>
> Key: CB-11990
> URL: https://issues.apache.org/jira/browse/CB-11990
> Project: Apache Cordova
>  Issue Type: Bug
>Affects Versions: 6.3.1
>Reporter: Yuliia Mykhailova
>Assignee: Audrey So
>
> If the platform specific .json of plugins was removed, cordova prepare 
> command doesn't re-create it, and as a result doesn't add plugins since 6.3.1 
> version, 6.3.0 is okay.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Updated] (CB-11990) Cordova prepare doesn't restore android.json and ios.json

2016-10-13 Thread Yuliia Mykhailova (JIRA)

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

Yuliia Mykhailova updated CB-11990:
---
Description: 
If the platform specific .json of plugins was removed, cordova prepare command 
doesn't re-create it, and as a result doesn't add plugins since 6.3.1 version, 
6.3.0 is okay.

[UPD] more detailed steps to reproduce:

install cordova@6.3.0
go to project with platform and plugins installed
do cordova platform remove android (or ios, doesn't matter) -> platform is 
removed,  file is removed
do cordova prepare -> platform is added,  is recreated, 
therefore plugins are added to the fresh created platform.

install cordova@6.3.1
do same steps
on a last step the  is not recreated, therefore platform is 
created but no plugins are added.

  was:If the platform specific .json of plugins was removed, cordova prepare 
command doesn't re-create it, and as a result doesn't add plugins since 6.3.1 
version, 6.3.0 is okay.


> Cordova prepare doesn't restore android.json and ios.json
> -
>
> Key: CB-11990
> URL: https://issues.apache.org/jira/browse/CB-11990
> Project: Apache Cordova
>  Issue Type: Bug
>Affects Versions: 6.3.1
>Reporter: Yuliia Mykhailova
>Assignee: Audrey So
>
> If the platform specific .json of plugins was removed, cordova prepare 
> command doesn't re-create it, and as a result doesn't add plugins since 6.3.1 
> version, 6.3.0 is okay.
> [UPD] more detailed steps to reproduce:
> install cordova@6.3.0
> go to project with platform and plugins installed
> do cordova platform remove android (or ios, doesn't matter) -> platform is 
> removed,  file is removed
> do cordova prepare -> platform is added,  is recreated, 
> therefore plugins are added to the fresh created platform.
> install cordova@6.3.1
> do same steps
> on a last step the  is not recreated, therefore platform is 
> created but no plugins are added.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Issue Comment Deleted] (CB-11990) Cordova prepare doesn't restore android.json and ios.json

2016-10-13 Thread Yuliia Mykhailova (JIRA)

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

Yuliia Mykhailova updated CB-11990:
---
Comment: was deleted

(was: I meant /plugins/.json. Will provide more clean steps 
to reproduce.)

> Cordova prepare doesn't restore android.json and ios.json
> -
>
> Key: CB-11990
> URL: https://issues.apache.org/jira/browse/CB-11990
> Project: Apache Cordova
>  Issue Type: Bug
>Affects Versions: 6.3.1
>Reporter: Yuliia Mykhailova
>Assignee: Audrey So
>
> If the platform specific .json of plugins was removed, cordova prepare 
> command doesn't re-create it, and as a result doesn't add plugins since 6.3.1 
> version, 6.3.0 is okay.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Commented] (CB-11990) Cordova prepare doesn't restore android.json and ios.json

2016-10-13 Thread Yuliia Mykhailova (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-11990?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15571124#comment-15571124
 ] 

Yuliia Mykhailova commented on CB-11990:


I meant /plugins/.json. Will provide more clean steps to 
reproduce.

> Cordova prepare doesn't restore android.json and ios.json
> -
>
> Key: CB-11990
> URL: https://issues.apache.org/jira/browse/CB-11990
> Project: Apache Cordova
>  Issue Type: Bug
>Affects Versions: 6.3.1
>Reporter: Yuliia Mykhailova
>Assignee: Audrey So
>
> If the platform specific .json of plugins was removed, cordova prepare 
> command doesn't re-create it, and as a result doesn't add plugins since 6.3.1 
> version, 6.3.0 is okay.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Commented] (CB-11990) Cordova prepare doesn't restore android.json and ios.json

2016-10-13 Thread Yuliia Mykhailova (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-11990?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15571123#comment-15571123
 ] 

Yuliia Mykhailova commented on CB-11990:


I meant /plugins/.json. Will provide more clean steps to 
reproduce.

> Cordova prepare doesn't restore android.json and ios.json
> -
>
> Key: CB-11990
> URL: https://issues.apache.org/jira/browse/CB-11990
> Project: Apache Cordova
>  Issue Type: Bug
>Affects Versions: 6.3.1
>Reporter: Yuliia Mykhailova
>Assignee: Audrey So
>
> If the platform specific .json of plugins was removed, cordova prepare 
> command doesn't re-create it, and as a result doesn't add plugins since 6.3.1 
> version, 6.3.0 is okay.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Reopened] (CB-11990) Cordova prepare doesn't restore android.json and ios.json

2016-10-11 Thread Yuliia Mykhailova (JIRA)

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

Yuliia Mykhailova reopened CB-11990:


> Cordova prepare doesn't restore android.json and ios.json
> -
>
> Key: CB-11990
> URL: https://issues.apache.org/jira/browse/CB-11990
> Project: Apache Cordova
>  Issue Type: Bug
>Affects Versions: 6.3.1
>Reporter: Yuliia Mykhailova
>Assignee: Audrey So
>
> If the platform specific .json of plugins was removed, cordova prepare 
> command doesn't re-create it, and as a result doesn't add plugins since 6.3.1 
> version, 6.3.0 is okay.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Commented] (CB-11990) Cordova prepare doesn't restore android.json and ios.json

2016-10-11 Thread Yuliia Mykhailova (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-11990?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15564725#comment-15564725
 ] 

Yuliia Mykhailova commented on CB-11990:


[~auso] Hello Audrey, in description of the ticket I have specified that on 
6.3.0 it's working, but not working on 6.3.1. Please re-check 6.3.1

> Cordova prepare doesn't restore android.json and ios.json
> -
>
> Key: CB-11990
> URL: https://issues.apache.org/jira/browse/CB-11990
> Project: Apache Cordova
>  Issue Type: Bug
>Affects Versions: 6.3.1
>Reporter: Yuliia Mykhailova
>Assignee: Audrey So
>
> If the platform specific .json of plugins was removed, cordova prepare 
> command doesn't re-create it, and as a result doesn't add plugins since 6.3.1 
> version, 6.3.0 is okay.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Created] (CB-11990) Cordova prepare doesn't restore android.json and ios.json

2016-10-10 Thread Yuliia Mykhailova (JIRA)
Yuliia Mykhailova created CB-11990:
--

 Summary: Cordova prepare doesn't restore android.json and ios.json
 Key: CB-11990
 URL: https://issues.apache.org/jira/browse/CB-11990
 Project: Apache Cordova
  Issue Type: Bug
Affects Versions: 6.3.1
Reporter: Yuliia Mykhailova


If the platform specific .json of plugins was removed, cordova prepare command 
doesn't re-create it, and as a result doesn't add plugins since 6.3.1 version, 
6.3.0 is okay.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org