Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-17074] MobileWeb: Preview in Browser - KitchenSink - Application Error

GitHub Issuen/a
TypeBug
PriorityCritical
StatusClosed
ResolutionFixed
Resolution Date2014-06-06T22:11:35.000+0000
Affected Version/sRelease 3.3.0
Fix Version/sRelease 3.3.0
ComponentsMobileWeb
Labelsmodule_samples, qe-3.3.0, qe-testadded
ReporterOlga Romero
AssigneeChris Barber
Created2014-06-04T18:22:11.000+0000
Updated2014-07-03T07:26:17.000+0000

Description

To reproduce

Using Studio Project Explorer 1. KS> Run> Mobile Web> Preview in Browser

Actual result

Application Error h5 Expected result Successful preview in a desirable browser

No 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 browser

Attachments

FileDateSize
Screen Shot 2014-06-04 at 11.16.59 AM.png2014-06-04T18:22:11.000+000041164
Screen Shot 2014-06-05 at 11.42.02 AM.png2014-06-05T18:42:28.000+0000132855

Comments

  1. Olga Romero 2014-06-05

    KS from Studio Samples works fine now.
       <sdk-version>3.3.0.v20140605100912</sdk-version>
           <id>com.appcelerator.kitchensink</id>
           <name>KitchenSink</name>
           <version>3.2.3</version>
           <publisher>appcelerator</publisher>
       
    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.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)
       
  2. Chris Barber 2014-06-06

    This is a bug in KitchenSink's master branch. Fixed in https://github.com/appcelerator/KitchenSink/pull/21.
  3. Olga Romero 2014-06-11

    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

JSON Source