[MAGNOLIA-3558] "Open Page" from Admin Central should open page with choosen default extension Created: 22/Feb/11  Updated: 04/Nov/15  Resolved: 04/Nov/15

Status: Closed
Project: Magnolia
Component/s: admininterface
Affects Version/s: 4.4.2
Fix Version/s: None

Type: Improvement Priority: Neutral
Reporter: Kimmo Björnsson Assignee: Philipp Bärfuss
Resolution: Won't Do Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Date of First Response:

 Description   

I have choosen a default extension as empty. But when opening pages from Admin Central they open with html as extension. It would be nice to have no extension as choosen for various reasons.

In contextmenu.js row 263, html hard-coded.

function mgnlTreeMenuItemOpen(tree){
var url= contextPath + tree.selectedNode.path+".html";
var w=window.open(mgnlEncodeURL(url),"mgnlInline","");
if (w)
w.focus();
}



 Comments   
Comment by Magnolia International [ 22/Mar/11 ]

Good point. Not sure we'll be able to fix this before 5.0 though. A patch might help your case though I'm assuming the extension could be somehow passed to the js via the tree or treeconfiguration classes.

Comment by Michael Mühlebach [ 04/Nov/15 ]

Given the thousands of other issues we have open that are more highly requested, we won't be able to address this issue in the foreseeable future. Instead we will focus on issues with a higher impact, and more votes.
Thanks for taking the time to raise this issue. As you are no doubt aware this issue has been on our backlog for some time now with very little movement.
I'm going to close this to set expectations so the issue doesn't stay open for years with few updates. If the issue is still relevant please feel free to reopen it or create a new issue.

Generated at Mon Feb 12 03:47:36 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.