Skip to content

Remove obsolete usages in DotNetNuke.Website#6535

Merged
bdukes merged 5 commits intodnnsoftware:developfrom
bdukes:obsolete
May 2, 2025
Merged

Remove obsolete usages in DotNetNuke.Website#6535
bdukes merged 5 commits intodnnsoftware:developfrom
bdukes:obsolete

Conversation

@bdukes
Copy link
Copy Markdown
Contributor

@bdukes bdukes commented May 1, 2025

Summary

This PR resolves and treats as errors the following warnings:

  • CS0809 (Obsolete member overrides non-obsolete member)
  • CS3001 (Argument type is not CLS-compliant)
  • CS3005 (Identifier differing only in case in not CLS-compliant)
  • CS3008 (Identifier beginning with an underscore is not CLS-compliant)
  • CS0618 (Usage of obsolete member) only in DotNetNuke.Website

Notable changes

Remove the "user online" indicator from the Manage Users and Membership controls.

Mark the admin/Sales PayPal integration pages & control as deprecated

I did not yet change calls to PortalSecurity.InputFilter for usernames and things like that, instead suppressing those warnings.

bdukes added 4 commits May 1, 2025 09:09
Obsolete member 'memberA' overrides non-obsolete member 'memberB'.

Remove DnnDeprecated attributes from methods within classes that are
deprecated (they're already deprecated at the class level).
Argument type is not CLS-compliant
Identifier 'identifier' differing only in case is not CLS-compliant

In cases where the duplicate member is deprecated and planned to be
removed, disable the warnings with #pragma statements.

Rename the Dnn.PersonaBar.Library.DTO namespace to
Dnn.PersonaBar.Library.Dto
Identifier beginning with an underscore is not CLS-compliant
@bdukes bdukes added this to the 10.0.2 milestone May 1, 2025
Remove the "user online" indicator from the Manage Users and Membership
controls.

Mark the admin/Sales PayPal integration pages & control as deprecated

I did not yet change calls to PortalSecurity.InputFilter for usernames
and things like that, instead suppressing those warnings.
Copy link
Copy Markdown
Contributor

@donker donker left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Copy Markdown
Contributor

@mitchelsellers mitchelsellers left a comment

Choose a reason for hiding this comment

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

LGTM

@bdukes bdukes merged commit db46a7d into dnnsoftware:develop May 2, 2025
3 checks passed
@bdukes bdukes deleted the obsolete branch May 2, 2025 15:07
@valadas valadas modified the milestones: 10.0.2, 10.1.0 Jul 30, 2025
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