[TIMOB-17074] MobileWeb: Preview in Browser - KitchenSink - Application Error
| GitHub Issue | n/a |
|---|---|
| Type | Bug |
| Priority | Critical |
| Status | Closed |
| Resolution | Fixed |
| Resolution Date | 2014-06-06T22:11:35.000+0000 |
| Affected Version/s | Release 3.3.0 |
| Fix Version/s | Release 3.3.0 |
| Components | MobileWeb |
| Labels | module_samples, qe-3.3.0, qe-testadded |
| Reporter | Olga Romero |
| Assignee | Chris Barber |
| Created | 2014-06-04T18:22:11.000+0000 |
| Updated | 2014-07-03T07:26:17.000+0000 |
Description
To reproduce
Using Studio Project Explorer 1. KS> Run> Mobile Web> Preview in BrowserActual result
Application Error h5 Expected result Successful preview in a desirable browserNo issues if
Using Studio Project Explorer 1. KS> Package Mobile Web 2. Open the browser on the tested device (device and desktop should be on the same network) Packaged for Mobile Web app can be previewed in a device browserAttachments
| File | Date | Size |
|---|---|---|
| Screen Shot 2014-06-04 at 11.16.59 AM.png | 2014-06-04T18:22:11.000+0000 | 41164 |
| Screen Shot 2014-06-05 at 11.42.02 AM.png | 2014-06-05T18:42:28.000+0000 | 132855 |
KS from Studio Samples works fine now.
KS master still has the error on launch, however when dismissed, the app works as expected.<sdk-version>3.3.0.v20140605100912</sdk-version> <id>com.appcelerator.kitchensink</id> <name>KitchenSink</name> <version>3.2.3</version> <publisher>appcelerator</publisher><sdk-version>3.3.0.v20140605100912</sdk-version> <id>com.appcelerator.kitchensink</id> <name>KitchenSink</name> <version>3.3.0</version> <publisher>appcelerator</publisher> <url>http://appcelerator.com</url>Actual result
[Warning] Invalid CSS property declaration at: url("images/insignia.svg") (index.html, line 654) [Log] [INFO] Appcelerator Titanium 3.3.0 Mobile Web (index.html, line 2439) [Log] [INFO] FOCUS RECEIVED IN base_ui (index.html, line 2439) [Error] TypeError: 'undefined' is not a function (evaluating 'messageWin.setLabel(message)') showMessage (undefined, line 145) (anonymous function) fireEvent (index.html, line 2515) fireEvent (index.html, line 7881) open (index.html, line 16390) (anonymous function) (app.js, line 50)This is a bug in KitchenSink's master branch. Fixed in https://github.com/appcelerator/KitchenSink/pull/21.
Mac osx 10.9.3 Mavericks Appcelerator Studio, build: 3.3.0.201406061445 Titanium SDK, build: 3.3.0.v20140611084912 Node.JS Version: v0.10.13 NPM Version: 1.3.2 acs@1.0.14 alloy@1.4.0-beta npm@1.3.2 titanium@3.3.0-beta2 titanium-code-processor@1.1.1 Device: BB Z10 (10.2.1) No error when Run> Mobile Web Preview in Browser