Bug 5101 - Naming UIIMageView to imgBck in the designer crashes the app
Summary: Naming UIIMageView to imgBck in the designer crashes the app
Status: RESOLVED FIXED
Alias: None
Product: iOS
Classification: Xamarin
Component: General ()
Version: 5.3.x
Hardware: Macintosh Mac OS
: --- normal
Target Milestone: Untriaged
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2012-05-15 16:30 UTC by Art
Modified: 2012-05-17 10:11 UTC (History)
2 users (show)

Tags:
Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
RESOLVED FIXED

Description Art 2012-05-15 16:30:28 UTC
To reproduce
1- Create a single view ipad project
2- Add UIIMageView in the designer and name it imgBck
3- Set region format to Turkey

I used XCode 4.2
Comment 1 Sebastien Pouliot 2012-05-15 22:39:11 UTC
I can duplicate the crash (device) and the following exception (simulator)

Objective-C exception thrown.  Name: NSUnknownKeyException Reason: [<MainViewController 0x9e56330> setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key imgBtn.
Comment 2 Sebastien Pouliot 2012-05-16 20:34:52 UTC
set?mgBtn vs setImgBtn <- that's our mistake! nice catch Art :-)
Comment 3 Sebastien Pouliot 2012-05-16 20:40:16 UTC
fixed in 5.2-series: 696881dfa4b9bcffaef71cfbc64794243f98b300

will commit to master once the build is fixed (and close it later)
Comment 4 Sebastien Pouliot 2012-05-17 10:11:15 UTC
master: cbb8aa4a56226ec2c966d350acfc479976c82bc2

QA: this occurs too soon (registration time) to put a test in the unit tests. I suggest you adapt an existing application (already being tested) that use NIBs and rename one outlet to start with a 'i'. Then ensure it's being tested under the Turkish region.