Skip to content
This repository was archived by the owner on May 1, 2024. It is now read-only.

Conversation

rmarinho
Copy link
Member

@rmarinho rmarinho commented Nov 6, 2018

Description of Change

Clear the global closer delegate from ContextActionCell when disposing.

Issues Resolved

API Changes

None

Platforms Affected

  • iOS

Behavioral/Visual Changes

None

Before/After Screenshots

Not applicable

Testing Procedure

Use issue 4314 gallery page.
Swipe the 2 cell to reveal content actions and delete both items.
Should go the other page without crash

PR Checklist

  • Has automated tests
  • Rebased on top of the target branch at time of PR
  • Changes adhere to coding standard


if (_scroller != null)
{
_scroller.Delegate = null;
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is the only real change.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So what's all this other stuff?

Copy link
Contributor

@hartez hartez left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just wondering what all the other changes are about.


if (_scroller != null)
{
_scroller.Delegate = null;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So what's all this other stuff?

@rmarinho
Copy link
Member Author

rmarinho commented Nov 6, 2018

Update UITests and another plugin . and of course the test.

@PureWeen
Copy link
Contributor

I re-queue'd the iOS10 test but it looks like the iOS 10 test for this PR failed


System.Exception : Error while performing WaitForElement(Marked("Delete"), "Timed out waiting for element...", null, null, null) ----> System.TimeoutException : Timed out waiting for element...
Stack trace
at Xamarin.UITest.Utils.ErrorReporting.With[T] (System.Func`1[TResult] func, System.Object[] args, System.String memberName) [0x0005b] in <2a16c16730a54859bda72c6bc1c728f7>:0
at Xamarin.UITest.iOS.iOSApp.WaitForElement (System.Func`2[T,TResult] query, System.String timeoutMessage, System.Nullable`1[T] timeout, System.Nullable`1[T] retryFrequency, System.Nullable`1[T] postTimeout) [0x00032] in <2a16c16730a54859bda72c6bc1c728f7>:0
at Xamarin.UITest.iOS.iOSApp.WaitForElement (System.String marked, System.String timeoutMessage, System.Nullable`1[T] timeout, System.Nullable`1[T] retryFrequency, System.Nullable`1[T] postTimeout) [0x0000d] in <2a16c16730a54859bda72c6bc1c728f7>:0
at Xamarin.Forms.Controls.ScreenshotConditionalApp.WaitForElement (System.String marked, System.String timeoutMessage, System.Nullable`1[T] timeout, System.Nullable`1[T] retryFrequency, System.Nullable`1[T] postTimeout) [0x00001] in <e408e636c2ce4f5cbcce37f318de3df5>:0
at Xamarin.Forms.Controls.Issues.Issue4341.Issue4341Test () [0x00072] in <e408e636c2ce4f5cbcce37f318de3df5>:0
--TimeoutException
at Xamarin.UITest.Shared.WaitForHelper.WaitForAny[T] (System.Func`1[TResult] query, System.String timeoutMessage, System.Nullable`1[T] timeout, System.Nullable`1[T] retryFrequency, System.Nullable`1[T] postTimeout) [0x0001d] in <2a16c16730a54859bda72c6bc1c728f7>:0
at Xamarin.UITest.iOS.iOSApp+<>c__DisplayClass65_0.<WaitForElement>b__0 () [0x00054] in <2a16c16730a54859bda72c6bc1c728f7>:0
at Xamarin.UITest.Utils.ErrorReporting.With[T] (System.Func`1[TResult] func, System.Object[] args, System.String memberName) [0x0000e] in <2a16c16730a54859bda72c6bc1c728f7>:0

@samhouts samhouts changed the base branch from 3.3.0 to 3.4.0 November 20, 2018 01:25
Copy link
Contributor

@PureWeen PureWeen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure if we want to open a new issue for this but I'm still getting a NRE in GetContextCell

  • delete both rows
  • now it goes to success page
  • navigate back
  • swipe the listview

image

2018-11-27_11-09-24

@rmarinho
Copy link
Member Author

Good catch @PureWeen can you test now?

Thanks

@rmarinho rmarinho merged commit 028b9f1 into 3.4.0 Nov 29, 2018
@samhouts samhouts added this to the 4.0.0 milestone Dec 4, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants