Bug 38509 - setting main page from a content page to a masterDetail page to a content page to a masterDetail page crashes on android
Summary: setting main page from a content page to a masterDetail page to a content pag...
Status: RESOLVED NORESPONSE
Alias: None
Product: Forms
Classification: Xamarin
Component: Android ()
Version: 2.0.0
Hardware: PC Windows
: --- normal
Target Milestone: ---
Assignee: Rui Marinho
URL:
Depends on:
Blocks:
 
Reported: 2016-02-05 21:22 UTC by Erik Renaud
Modified: 2017-06-19 21:18 UTC (History)
6 users (show)

Tags: Android MasterDetailPage
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 NORESPONSE

Description Erik Renaud 2016-02-05 21:22:33 UTC
Set main page to contentpage #1
Set main page to contentpage #2
Set main page to contentpage #3
Set main page to a masterDetail page with Detail #A
Change the detail to #B
Set main page to contentpage #1
Set main page to contentpage #2
Set main page to contentpage #3
Set main page to a masterDetail page with Detail #A
Change the detail to #B

I get a System.InvalidOperationException: Detail must not already have a parent
Comment 1 Erik Renaud 2016-02-09 20:46:12 UTC
Please contact me to receive the url to the project on OneDrive erik.renaud@modelon.net

Start the app on android
on the tutorial page, click start, select the third option. When on the main screen click the hamburger button and "profiles". Select logout.
on the tutorial page, click start, select the third option. When on the main screen click the hamburger button and "profile". CRASH
Comment 2 Erik Renaud 2016-02-10 14:06:37 UTC
Same bug on IOS
Comment 3 Rui Marinho 2016-12-20 23:10:23 UTC
Thank you for taking the time to submit the bug. We tried to reproduce the issue you reported but were unable given the description. If you could please attach a reproduction to the bug by starting with a clean Xamarin.Forms project and adding just the code necessary to demonstrate the issue, we would very much appreciate it.  


For your convenience, we have created some reproduction best practices viewable here: https://gist.github.com/jassmith/92405c300e54a01dcc6d  

Warm regards, 

Xamarin Forms Team
Comment 4 Chris King 2017-06-19 17:21:50 UTC
Assigned to you as you were last to request additional info.
Comment 5 Samantha Houts [MSFT] 2017-06-19 21:18:03 UTC
Because we have not received a reply to our request for more information we are closing this issue. If you are still encountering this issue, please reopen the ticket with the requested information. Thanks!