[MGNLSITE-161] Support more that websites workspace, include support for custom workspaces and pages apps Created: 21/Jun/21  Updated: 30/Jan/24  Resolved: 27/Jul/23

Status: Closed
Project: Magnolia Site Module
Component/s: None
Affects Version/s: None
Fix Version/s: 1.4.5

Type: New Feature Priority: Major
Reporter: James Alexander Assignee: Javier Benito
Resolution: Fixed Votes: 0
Labels: core
Σ Remaining Estimate: Not Specified Remaining Estimate: Not Specified
Σ Time Spent: 1.5h Time Spent: Not Specified
Σ Original Estimate: Not Specified Original Estimate: Not Specified
Environment:

Linux/Openshift


Attachments: Java Source File SgConfiguredSiteTemplateAvailability.java    
Issue Links:
Relates
relates to PAGES-457 Support for multiple pages apps In Progress
causality
relation
is related to DOCU-3413 Add note that the hard-coded workspac... Closed
Sub-Tasks:
Key
Summary
Type
Status
Assignee
MGNLSITE-197 Implement fix Technical task Completed Javier Benito  
MGNLSITE-198 Review Technical task Closed Oanh Thai Hoang  
MGNLSITE-199 Pre-Integration QA Technical task Completed Robert Šiška  
MGNLSITE-200 QA Technical task Closed Oanh Thai Hoang  
Template:
Patch included:
Yes
Acceptance criteria:
Empty
Documentation update required:
Yes
Date of First Response:
Visible to:
Dan Christiansen, Klaus Pedersen
Epic Link: Support
Sprint: DevX 42, DevX 43
Story Points: 3
Team: DeveloperX
Work Started:
Approved:
Yes

 Description   

We have a custom Pages App (sg_category_pages) which we wanted to manage the available templates in the way that is done in the Magnolia Pages app (using sites). Currently this is not supported in Magnolia 6.2.x. 

We added this functionality with the included file (see the import for the magnolia class path) which simply removed the workspace = website check, and a little mapping magic and we had a solution.

We request that you add support for multiple workspaces so we can remove this fix.

See SUPPORT-13208 

<type-mapping>
<type>info.magnolia.module.site.templates.ConfiguredSiteTemplateAvailability</type>
<implementation>com.sallinggroup.magnolianext.app.categorypages.data.SgConfiguredSiteTemplateAvailability</implementation>
</type-mapping>

What was done:

Previously in ConfiguredSiteTemplateAvailability if the workspace was not "website" then this error was logged: "Not able to access the Node's session or workspace"

This check has been removed.



 Comments   
Comment by Christopher Zimmermann [ 26/Sep/22 ]

Lets do discovery on this ticket to see if it is still relevant (probably) and how much of an effort it would be to implement.

Comment by Christopher Zimmermann [ 30/Jan/24 ]

Previously in ConfiguredSiteTemplateAvailability if the workspace was not "website" then this error was logged: "Not able to access the Node's session or workspace"

This check has been removed.{}

Generated at Mon Feb 12 07:13:19 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.