Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-15933] Capitalization inconsistencies cause error in distributed apps but not emulator or dev apps on ios7

GitHub Issuen/a
TypeBug
PriorityCritical
StatusClosed
ResolutionWon't Do
Resolution Date2020-01-09T22:14:51.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsiOS
Labelsassets, cb-tooling, distribution, ios
ReporterLaney Dale
AssigneeUnknown
Created2013-12-04T15:55:07.000+0000
Updated2020-01-09T22:14:51.000+0000

Description

Steps to Reproduce

Create a mobile app for ios. Create a file (image, js, etc) using a capital letter at the beginning. in the app's js files referenc ethe file without the capital leter. Build the app for emulator or ios device it runs fine. To see an exampl in the app stor download the app 'Goodnight Carolina' on an iphone the first page is missing the page backgrouns as shown by the white ath the top. The file is Background.jpg In the Js its used as win.backgroundImage = 'background.jpg' Worked fine in testing
// Import any image as "Background.png" (note capital 'B')

var win = Titanium.UI.createWindow({ title: 'Home', backgroundImage:'/images/background.png' });

var nav = Titanium.UI.iOS.createNavigationWindow({window:win});
Ti.App.nav = nav;
nav.open();

Actual Result

When deployed to app store file will not be seen

Expected Result

file should be seen when deployed or not seen in dev/testing environment

Attachments

FileDateSize
.log2013-12-04T15:55:09.000+000085367
diagnostic5010500861620499809.log2013-12-04T15:55:11.000+000013591

Comments

  1. Ingo Muschenetz 2013-12-04

    Please attach a sample app.js file, a screenshot of the issue, and confirm this is still a problem on SDK beta 3.2.0.
  2. Laney Dale 2013-12-04

    Where do I get 3.2.0 Beta?
  3. Ingo Muschenetz 2013-12-04

    Here: https://www.appcelerator.com/blog/2013/11/3-2-0-beta-of-sdkstudio-now-available/
  4. Eric Wieber 2013-12-09

    Hi Laney, I cannot reproduce your issue with the latest version of the SDK. When I have an image with a capital letter and reference it with a lowercase letter, the image does not display (it is case sensitive). Have you updated your SDK version? If so, can you please verify if you are still seeing this issue? Thanks!
  5. Laney Dale 2013-12-09

    Which version in particular are you referencing?
  6. Eric Wieber 2013-12-09

    Laney, I tested on 3.2.0.v20131209110113 and 3.3.0.v20131209000849. In case you need the link again, you can get those builds from here: http://builds.appcelerator.com.s3.amazonaws.com/index.html
  7. Laney Dale 2013-12-09

    Well I'd like to tell you but 3.2 breaks my navigation group so I can't get to the image. I can confirm it happens in 3.13GA
  8. Laney Dale 2013-12-09

    Ok, I replaced the navgroup with a navwindow and even using the latest build I can get the image to load with the incorrect case. Code for window (truncated to show only offending item) var win = Titanium.UI.createWindow({ title: 'Home', backgroundImage:'/images/background.jpg' }); code for nav var win1 = ld.ui.createHomeWindow(); var nav = Titanium.UI.iOS.createNavigationWindow({window:win1}); Ti.App.nav = nav; nav.open();
  9. Eric Wieber 2013-12-09

    Laney, After making a simpler test case, I finally was able to reproduce your issue. I am seeing the image on the simulator, but not on the device (when building for ad hoc). I'll make this ticket an official bug for further investigation. Thank you for your diligence and patience!
  10. Alan Hutton 2020-01-09

    This issue is out of date with our current supported SDK release (7.5.2.GA as of the date of closure), and out of date with mobile OS versions. If community members feel that the issue is still valid, please create a new ticket. Please reference this closed ticket number, include SDK used, comments, and code that demonstrates/reproduces the issue.

JSON Source