Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-11919] CLI: Creating MobileWeb module with ti.cloud as appid prohibits any MW Project to run on MWBrowser or Emulator.

GitHub Issuen/a
TypeBug
PriorityMedium
StatusClosed
ResolutionWon't Fix
Resolution Date2018-04-04T23:57:42.000+0000
Affected Version/sRelease 3.0.0
Fix Version/sRelease 3.0.2, Release 3.1.0, 2013 Sprint 02 JS, 2013 Sprint 02
ComponentsCLI, MobileWeb
Labelscli, qe-mw100112, qe-testadded
ReporterPragya Rastogi
AssigneeChris Barber
Created2012-12-01T11:28:10.000+0000
Updated2018-04-05T00:00:03.000+0000

Description

Steps To Reproduce: 1. Create MW module with app-id ti.cloud 2. Package it in a default project. (Project with cloud service enabled) 3. Try running same project or new default project in MW Preview in Browser or Emulator.[issue appears here] 4. Now try running a project with disabled cloud service and run same on MW Browser and Emulator.[This runs fine] Actual: The folder /Users/pragyarastogi/Library/Application Support/Titanium/modules/mobileweb/ti.cloud prohibits any MW project to run in browser and emulator. Refer screenshot for Emulator error and Browser error. The folder is created when MW module is Package to Titanium SDK. Note: In 2.1.4.GA SDK the error appears is somewhat different. Refer Screenshot. Expected: Project must run on MW Emulator or Browser without any error.

Attachments

FileDateSize
2.1.4.gaBuildBrowserError.png2012-12-01T11:28:10.000+0000395405
EmulatorErrorCloudServiceEnabled.png2012-12-01T11:28:10.000+0000344520
EmulatorErrorCloudServiceEnabled.rtf2012-12-01T11:28:10.000+000070199
MWBrowser.png2012-12-01T11:28:10.000+0000199039

Comments

  1. Chris Barber 2012-12-03

    Confirmed. You cannot have a mobileweb AND commonjs module with the same name. I'll have to add some validation to detect and error when that case is encountered.
  2. Chris Barber 2013-01-18

    node-appc pull request: https://github.com/appcelerator/node-appc/pull/24 timob master pull request: https://github.com/appcelerator/titanium_mobile/pull/3729 timob 3.0.x pull request: https://github.com/appcelerator/titanium_mobile/pull/3730
  3. Chris Barber 2013-01-18

    To test, copy ti.cloud from the commonjs module folder to the mobileweb module folder, then add the following to your tiapp.xml:
           <modules>
               <module platform="commonjs">ti.cloud</module>
               <module platform="mobileweb">ti.cloud</module>
           </modules>
       
  4. Lokesh Choudhary 2013-02-08

    Verified the fix.Now get the proper error in the studio console. Thus closing the issue. Environment: Ti Studio : 3.0.2.201302041757 Ti BB SDK : 3.0.2.v20130207164659 Mac OSX : 10.8.2 CLI Version : 3.0.24-cr
  5. Kajenthiran Velummaylum 2014-06-12

    Reopening the issue since it *still occur* in windows. (/) In Mac OSX, appropriate error message is thrown. (x) In windows, Issue occurs in previous versions as well (3.2.3 GA, 3.2.0GA). Tested Environment: || *Component* || *Version*|| | Appcelerator Studio | 3.3.0.201406111021 | | Titanium SDK | 3.3.0.v20140611130912, 3.2.3 GA, 3.2.0 GA | | ACS | 1.0.14 | | Alloy | 1.4.0-rc | | CLI | 3.3.0-rc | | Titanium-code-processor | 1.1.1 | | OS | Windows 8.1 (x64) |
  6. Eric Merriman 2018-04-04

    Closing as will not fix
  7. Eric Merriman 2018-04-05

    Closing as will not fix

JSON Source