cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Frederico Costa Galvão (JIRA) <j...@apache.org>
Subject [jira] [Resolved] (CB-6248) Error on prepare when Orientation is configured
Date Thu, 20 Mar 2014 14:08:44 GMT

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

Frederico Costa Galvão resolved CB-6248.
----------------------------------------

       Resolution: Fixed
    Fix Version/s: Master

This was fixed on master by [this PR|https://github.com/apache/cordova-cli/pull/138], on commit
[3f448d9f64d0fef85fd1044c38bb3e48a2fdf808|https://github.com/apache/cordova-cli/commit/3f448d9f64d0fef85fd1044c38bb3e48a2fdf808].

> Error on prepare when Orientation is configured
> -----------------------------------------------
>
>                 Key: CB-6248
>                 URL: https://issues.apache.org/jira/browse/CB-6248
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android, CLI
>    Affects Versions: 3.4.0
>         Environment: Xubuntu 13.10 x86_64, cordova 3.4.0-0.1.3
>            Reporter: Frederico Costa Galvão
>              Labels: AndroidManifest.xml, android, cli, config.xml, prepare, screenOrientation
>             Fix For: Master
>
>
> After creating an empty cordova project (*cordova create bacon com.bacon Bacon*), running
*cordova platform add android*,  and adding 
> {code}
> <preference name="orientation" value="landscape" />
> {code}
> and then running *cordova prepare*, the following error is shown among the output.
> {code}
> [ReferenceError: a is not defined]
> {code}
> As a second side effect, bigger than just a logged error, the *orientation* preference
isn't working as expected: the *android:screenOrientation* isn't set according to what's in
the *config.xml* (it isn't set at all, by the way).
> PS: I've checked case sensitivity, and I've checked all possible values \[default, landscape,
portrait\].



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message