HotcakesCommerce / hotcakes-commerce-core

The core of the e-commerce part of the overall solution. This is an ecommerce shopping cart solution built on top of the DNN (DotNetNuke) CMS. Anyone can do commerce online now!
https://mmmcommerce.com
MIT License
67 stars 55 forks source link

Remove/Resolve Obsolete Methods before DNN 11 #332

Open WillStrohl opened 3 years ago

WillStrohl commented 3 years ago

Describe the bug

There about 9 methods/API calls that will be obsolete in DNN 11. They need to be updated to use the replacement API endpoint and/or development pattern in DNN.

Providers\HccFriendlyUrlProvider.cs(84,32): warning CS0672: Member 'Hotcakes.Commerce.Dnn.Providers.HccFriendlyUrlProvider.FriendlyUrl(DotNetNuke.Entities.Tabs.TabInfo, string, string, DotNetNuke.Entities.Portals.PortalSettings)' overrides obsolete member 'DotNetNuke.Services.Url.FriendlyUrl.FriendlyUrlProvider.FriendlyUrl(DotNetNuke.Entities.Tabs.TabInfo, string, string, DotNetNuke.Entities.Portals.PortalSettings)'. Add the Obsolete attribute to 'Hotcakes.Commerce.Dnn.Providers.HccFriendlyUrlProvider.FriendlyUrl(DotNetNuke.Entities.Tabs.TabInfo, string, string, DotNetNuke.Entities.Portals.PortalSettings)'. [c:\Work\HCC-core\hcc-core\Libraries\Hotcakes.Commerce.Dnn\Hotcakes.Commerce.Dnn.csproj]
  c:\Work\HCC-core\hcc-core\References\Dnn\DotNetNuke.dll: (Location of symbol related to previous warning)
DnnMembershipServices.cs(124,20): warning CS0618: 'DotNetNuke.Common.Globals.NavigateURL(int, string, params string[])' is obsolete: 'Deprecated in Platform 9.4.2. Scheduled removal in v11.0.0.' [c:\Work\HCC-core\hcc-core\Libraries\Hotcakes.Commerce.Dnn\Hotcakes.Commerce.Dnn.csproj]
Mvc\DnnHccUrlResolver.cs(109,24): warning CS0618: 'DotNetNuke.Common.Globals.NavigateURL(string)' is obsolete: 'Deprecated in Platform 9.4.2. Scheduled removal in v11.0.0.' [c:\Work\HCC-core\hcc-core\Libraries\Hotcakes.Commerce.Dnn\Hotcakes.Commerce.Dnn.csproj]
Mvc\DnnHccUrlResolver.cs(113,24): warning CS0618: 'DotNetNuke.Common.Globals.NavigateURL(string)' is obsolete: 'Deprecated in Platform 9.4.2. Scheduled removal in v11.0.0.' [c:\Work\HCC-core\hcc-core\Libraries\Hotcakes.Commerce.Dnn\Hotcakes.Commerce.Dnn.csproj]
Mvc\DnnHccUrlResolver.cs(117,24): warning CS0618: 'DotNetNuke.Common.Globals.NavigateURL(string)' is obsolete: 'Deprecated in Platform 9.4.2. Scheduled removal in v11.0.0.' [c:\Work\HCC-core\hcc-core\Libraries\Hotcakes.Commerce.Dnn\Hotcakes.Commerce.Dnn.csproj]
Mvc\DnnHccUrlResolver.cs(166,31): warning CS0618: 'DotNetNuke.Common.Globals.NavigateURL(int, bool, DotNetNuke.Entities.Portals.PortalSettings, string, string, params string[])' is obsolete: 'Deprecated in Platform 9.4.2. Scheduled removal in v11.0.0.' [c:\Work\HCC-core\hcc-core\Libraries\Hotcakes.Commerce.Dnn\Hotcakes.Commerce.Dnn.csproj]
Providers\HccFriendlyUrlProvider.cs(74,35): warning CS0618: 'DotNetNuke.Entities.Portals.IPortalController.GetCurrentPortalSettings()' is obsolete: 'Deprecated in Platform 9.4.2. Scheduled removal in v11.0.0. Use GetCurrentSettings instead.' [c:\Work\HCC-core\hcc-core\Libraries\Hotcakes.Commerce.Dnn\Hotcakes.Commerce.Dnn.csproj]
Providers\HccFriendlyUrlProvider.cs(75,20): warning CS0618: 'DotNetNuke.Services.Url.FriendlyUrl.FriendlyUrlProvider.FriendlyUrl(DotNetNuke.Entities.Tabs.TabInfo, string, string, DotNetNuke.Entities.Portals.PortalSettings)' is obsolete: 'Deprecated in Platform 9.4.3. Scheduled for removal in v11.0.0. Use the IPortalSettings overload' [c:\Work\HCC-core\hcc-core\Libraries\Hotcakes.Commerce.Dnn\Hotcakes.Commerce.Dnn.csproj]
Providers\HccFriendlyUrlProvider.cs(80,35): warning CS0618: 'DotNetNuke.Entities.Portals.IPortalController.GetCurrentPortalSettings()' is obsolete: 'Deprecated in Platform 9.4.2. Scheduled removal in v11.0.0. Use GetCurrentSettings instead.' [c:\Work\HCC-core\hcc-core\Libraries\Hotcakes.Commerce.Dnn\Hotcakes.Commerce.Dnn.csproj]
Providers\HccFriendlyUrlProvider.cs(81,20): warning CS0618: 'DotNetNuke.Services.Url.FriendlyUrl.FriendlyUrlProvider.FriendlyUrl(DotNetNuke.Entities.Tabs.TabInfo, string, string, DotNetNuke.Entities.Portals.PortalSettings)' is obsolete: 'Deprecated in Platform 9.4.3. Scheduled for removal in v11.0.0. Use the IPortalSettings overload' [c:\Work\HCC-core\hcc-core\Libraries\Hotcakes.Commerce.Dnn\Hotcakes.Commerce.Dnn.csproj]
ProductReviews\ProductReviewsView.ascx.cs(49,43): warning CS0618: 'DotNetNuke.Common.Globals.NavigateURL(int)' is obsolete: 'Deprecated in Platform 9.4.2. Scheduled removal in v11.0.0.' [c:\Work\HCC-core\hcc-core\Website\DesktopModules\Hotcakes\Hotcakes.Modules.csproj]
ProductViewer\ProductViewerView.ascx.cs(62,43): warning CS0618: 'DotNetNuke.Common.Globals.NavigateURL(int)' is obsolete: 'Deprecated in Platform 9.4.2. Scheduled removal in v11.0.0.' [c:\Work\HCC-core\hcc-core\Website\DesktopModules\Hotcakes\Hotcakes.Modules.csproj]
WillStrohl commented 11 months ago

There are more now... ;)

WillStrohl commented 11 months ago

Cleared the milestone, as we'll need to wait until we're closer to DNN 11 before we can resolve many of these.