Skip to content
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

Clean up warnings in DnnExportImport #4373

Merged
merged 1 commit into from
Dec 21, 2020

Conversation

bdukes
Copy link
Contributor

@bdukes bdukes commented Dec 16, 2020

594 obsolete and documentation warnings remain

@valadas
Copy link
Contributor

valadas commented Dec 16, 2020

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

Copy link
Contributor

@valadas valadas left a comment

Choose a reason for hiding this comment

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

Just one typo and a couple of interrogations, otherwise, happy with this.

file.EndDate ?? Null.NullDate,
file.EnablePublishPeriod,
Null.NullInteger);
////file.ContentItemId ?? Null.NullInteger);--If we keep it we will see FK_PK relationship errors.
Copy link
Contributor

Choose a reason for hiding this comment

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

Should we just delete this line ?

localTab.IsVisible = otherTab.IsVisible;
EntitiesController.Instance.SetTabSpecificData(localTab.TabID, false, localTab.IsVisible);

// tabController.UpdateTab(localTab); // to clear cache
Copy link
Contributor

Choose a reason for hiding this comment

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

Should we remove commented out code ?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

We can, doesn't matter much to me either way. For both of them you've called out here, there's at least a comment indicating the thinking somewhat, which might protect against re-making the same mistake.

Copy link
Contributor

Choose a reason for hiding this comment

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

Ok, makes sense

@valadas valadas added this to the 9.8.1 milestone Dec 16, 2020
594 obsolete and documentation warnings remain

Co-authored-by: Daniel Valadas <info@danielvaladas.com>
@bdukes bdukes force-pushed the warnings-import-export branch from 9512135 to 2b5853c Compare December 17, 2020 14:44
@valadas valadas merged commit 016ebf6 into dnnsoftware:develop Dec 21, 2020
@bdukes bdukes deleted the warnings-import-export branch December 22, 2020 14:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants