Skip to content

Fixing removal of None from Page under certain conditions #1768

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Sep 6, 2019

Conversation

rladuca
Copy link
Member

@rladuca rladuca commented Sep 4, 2019

Addresses #1758

Fixing removal of None from Page under certain conditions (EnableDefaultApplicationDefinition or EnableDefaultPageItems is false).

Further adding a fix to ensure this doesn't result in ApplicationDefinition being included in Page as well when EnableDefaultApplicationDefinition is false.

@nguerrera Can you take a look at this as well? Thanks!

…ultApplicationDefinition or EnableDefaultPageItems is false).

Further adding a fix to ensure this doesn't result in ApplicationDefinition being included in Page as well when EnableDefaultApplicationDefinition is false.
@ghost ghost requested review from vatsan-madhavan, ryalanms and stevenbrix September 4, 2019 16:35
@ghost ghost added the PR metadata: Label to tag PRs, to facilitate with triage label Sep 4, 2019
@ghost ghost requested a review from SamBent September 4, 2019 16:35
@rladuca rladuca requested a review from nguerrera September 4, 2019 16:35
@rladuca rladuca self-assigned this Sep 4, 2019
@rladuca rladuca added area-infrastructure Bug Product bug (most likely) labels Sep 4, 2019
@rladuca rladuca added this to the 3.0 milestone Sep 4, 2019
@rladuca rladuca added the * NO MERGE * metadata: The PR is not ready for merge yet (see discussion for detailed reasons) label Sep 4, 2019
@nguerrera
Copy link

@dsplaisted

@rladuca
Copy link
Member Author

rladuca commented Sep 5, 2019

@nguerrera @dsplaisted Any input on this?

Copy link
Member

@dsplaisted dsplaisted left a comment

Choose a reason for hiding this comment

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

Looks good, though I have a question about the last bit.

Also, I would really love to see test coverage of the different cases here.

@vatsan-madhavan vatsan-madhavan modified the milestones: 3.0, 5.0 Sep 5, 2019
@vatsan-madhavan vatsan-madhavan removed the * NO MERGE * metadata: The PR is not ready for merge yet (see discussion for detailed reasons) label Sep 5, 2019
@vatsan-madhavan
Copy link
Member

@rladuca, Marking as milestone=5.0 since this targets master. We need another PR targeting release/3.0

@rladuca
Copy link
Member Author

rladuca commented Sep 5, 2019

Looks good, though I have a question about the last bit.

Also, I would really love to see test coverage of the different cases here.

That's fair, we'd have to add this via manual tests on the backend since we won't have access to a full up SDK with these enabled. We can probably get this working by replacing the files in the builds, but for now, a manual set should suffice.

I am creating a set of tests that can easily be run for various switch combinations, I'll put them up on GitHub and we can use them in validations going forward.

@vatsan-madhavan
Copy link
Member

I am creating a set of tests that can easily be run for various switch combinations, I'll put them up on GitHub and we can use them in validations going forward.

It's possible to re-use the tests (the infrastructure portion) from dotnet/sdk (or pehraps it is from dotnet/core-sdk) by consuming them as NuGet package and bootstrap testing for WindowsDesktop SDK. It's the sort of thing we should do in .NET 5/master (and not create a disparate test-framework/system for this).

@rladuca
Copy link
Member Author

rladuca commented Sep 5, 2019

I am creating a set of tests that can easily be run for various switch combinations, I'll put them up on GitHub and we can use them in validations going forward.

It's possible to re-use the tests (the infrastructure portion) from dotnet/sdk (or pehraps it is from dotnet/core-sdk) by consuming them as NuGet package and bootstrap testing for WindowsDesktop SDK. It's the sort of thing we should do in .NET 5/master (and not create a disparate test-framework/system for this).

Yeah, that makes complete sense in the long term. The tests I have are basic project builds that I scripted to test these changes myself. I'll give these to our test team for manual verification for immediate previews and daily builds so we have some coverage until we can get a real infrastructure set up and running.

@rladuca
Copy link
Member Author

rladuca commented Sep 5, 2019

I uploaded test cases I used locally to verify this change (via replacing the relevant code in a local install). They can be found here. If you have any suggestions on extra coverage or different switch combinations, let me know.

I'll give these to our test team with instructions to run against our daily builds once these changes make it to the SDK.

@rladuca rladuca merged commit 022c395 into master Sep 6, 2019
@rladuca rladuca deleted the dev/roladuca/PageFixup branch September 6, 2019 00:27
@ghost ghost locked as resolved and limited conversation to collaborators Apr 15, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-infrastructure Bug Product bug (most likely) PR metadata: Label to tag PRs, to facilitate with triage
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants