Skip to content

Centralize all portal template operations in the library project#5387

Merged
valadas merged 6 commits intodnnsoftware:developfrom
donker:portaltemplates2022
Nov 13, 2022
Merged

Centralize all portal template operations in the library project#5387
valadas merged 6 commits intodnnsoftware:developfrom
donker:portaltemplates2022

Conversation

@donker
Copy link
Copy Markdown
Contributor

@donker donker commented Nov 11, 2022

Currently the code for the creation of portal templates is in the AE Extensions library making it inaccessible to developers. This code is now moved to the main library.

Currently the code for the "application" of a portal template is in the PortalController. Given it is in the order of 1.5K lines of code it seriously bloats the PortalController code. This code is now moved to "PortalTemplateImporter".

To provide access to portal templates a new controller is created: PortalTemplateController which now has two methods: one for creating a portal template and one for the application of a portal template.

Copy link
Copy Markdown
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.

Everything looks good to me except the PortalTemplate deletion without deprecation warning

Copy link
Copy Markdown
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.

Everything looks ok to me.

@valadas valadas added this to the 9.11.1 milestone Nov 13, 2022
@valadas valadas merged commit ec01cd2 into dnnsoftware:develop Nov 13, 2022
@donker donker deleted the portaltemplates2022 branch November 13, 2022 10:33
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.

3 participants