Bug 10165 - [VS 2010/12] For 'Calendars' iOS sample:On clicking 'Get Event via Query', it throws Exception.
Summary: [VS 2010/12] For 'Calendars' iOS sample:On clicking 'Get Event via Query', it...
Status: VERIFIED FIXED
Alias: None
Product: iOS
Classification: Xamarin
Component: Samples ()
Version: 6.2.x
Hardware: PC Windows
: Normal normal
Target Milestone: Untriaged
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2013-02-08 09:09 UTC by narayanp
Modified: 2013-03-04 06:19 UTC (History)
4 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:
VERIFIED FIXED

Description narayanp 2013-02-08 09:09:32 UTC
Steps to reproduce:
1. Open Calendars iOS sample in VS
2. Debug OR Release the application
3. Observe that application launches successfully on server machine
4. Click on 'Get Event via Query' option under Events section.

Actual result:
On clicking 'Get Event via Query' option under Events section, it throws Exception.

Expected result:
On clicking 'Get Event via Query' option under Events section, it should not throw any Exception.

Supplement info:
http://screencast.com/t/2lL727Q9cgFs
VS Output: https://gist.github.com/atin360/bc9a261edc6cd0e880d0
Mac Server log: https://gist.github.com/atin360/ab773c2406b0f885569f

Environment:
All windows
VS 2010/12
MTVS 1.0.857
MT 6.2.0.27(Server)
Xcode 4.5

Device info:
iPhone 4 iOS 6.0.1

App info:
monotouch-samples-master-42a0e4ff4de4011624448c25742fc44681005976
Comment 1 Miguel de Icaza [MSFT] 2013-02-11 22:22:08 UTC
This was a bug in the sample, because the simulator has no events.

Fixed the sample, please reopen if this happen on a device with actual events.
Comment 2 Saurabh 2013-03-04 06:19:46 UTC
Today we have checked this issue with following builds:

VS 2012/2010
MTVS 1.1.152
MT 6.2.1.196

Now after clicking on 'Get Event via Query' option under Events section, it does not crash. and display No calendar event.

Changing the status to Verified.