Bug 12577 - [Device only]For 'Data' iOS sample, on clicking "Basic Vici CoolStorage" option related page does not open.
Summary: [Device only]For 'Data' iOS sample, on clicking "Basic Vici CoolStorage" opti...
Status: RESOLVED FEATURE
Alias: None
Product: iOS
Classification: Xamarin
Component: Samples ()
Version: 6.2.x
Hardware: All All
: --- normal
Target Milestone: Untriaged
Assignee: GouriKumari
URL:
Depends on:
Blocks:
 
Reported: 2013-06-06 12:13 UTC by Saurabh
Modified: 2013-07-22 14:26 UTC (History)
1 user (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 FEATURE

Description Saurabh 2013-06-06 12:13:13 UTC
Step to reproduce:
1. Open Data iOS sample
2. Run the application
3. Application deploys successfully
4. Click on third option "Basic Vici CoolStorage"

Actual result:
On clicking "Basic Vici CoolStorage" option related page does not open. Same issue also appear with MTVS.

Expected result:
On clicking "Basic Vici CoolStorage" option related page should open similar to other options like 'Basic ADO.Net' and 'Bsic SQLite-Net'.

Note: This issue exist only with device. On simulator it is working fine and on clicking "Basic Vici CoolStorage" option related page opens.

Environment info:
All Mac and All Windows
Mono 2.10.12
XS 4.0.8
MT 6.2.7.1
VS 2010/12
MTVS 1.2.118

App info:
monotouch-samples-master-9a64c0acc0ce929089d299ea349e5a1326c3922e

Regression status: Regression, as we are reporting this issue with stable MT 6.2.7.1
Comment 1 Saurabh 2013-06-06 12:15:17 UTC
Supplement info for above issue:

Application output: https://gist.github.com/atin360/77440b0426729001f192
iOS device log: https://gist.github.com/atin360/fb1e2997765cff2999fb

Device info: iPhone5 iOS 6.0.2
Comment 2 Saurabh 2013-06-06 12:47:50 UTC
Sorry for wrong Regression Status.

This issue is NOT REGRESSION as this issue exist with Stable MT 6.2.7.1
Comment 3 GouriKumari 2013-07-22 14:26:42 UTC
Data sample on iOS device:

The sample checks if the database is already created or not. If database is already created, table won't be populated with initial data.

Refer: Line 89 ViciCoolStorage/BasicOperations.cs 

The code populating database table is skipped, since the database is already created

Data sample on iOS simulator:

However, database is created each time in simulator and it is populated by initial data.

I think this sample is working as per design

Test Env:
Xamarin Studio
Version 4.0.10 (build 5)
Installation UUID: fafd3486-1aec-4f9c-ab77-08bf4a000708
Runtime:
	Mono 3.1.2 ((no/71af847)
	GTK 2.24.20
	GTK# (2.12.0.0)
	Package version: 301020000

Apple Developer Tools
Xcode 4.6.3 (2068)
Build 4H1503

Xamarin.iOS
Version: 6.4.0.2 (Trial Edition)
Hash: c9f7659