?
avatar osignell
osignell
9 Jun 2017

Steps to reproduce the issue

Create an article A.
Create menu item 1 of the type "single article" that points to the article A.
Assign a separate template to menu item 1.
Create menu item 2 of the type "create article"
Open page 1.
Click "edit" on the article.

Expected result

Article editor for article A opened with the template and modules assigned to menu item 1.

Actual result

Article editor for article A opened with Menu item 2 and the layout and modules for that menu item.

System information (as much as possible)

Joomla 3.7.2

Additional comments

This is probably related to #12687 ?

This used to work in Joomla 3.6, ie the menu item id for the page with the edit button was used when showing the editor.

avatar osignell osignell - open - 9 Jun 2017
avatar joomla-cms-bot joomla-cms-bot - labeled - 9 Jun 2017
avatar brianteeman
brianteeman - comment - 9 Jun 2017

That is the expected behaviour as you have defined a template for the edit view and that is being loaded when you try to edit the article

avatar joomla-cms-bot joomla-cms-bot - change - 9 Jun 2017
Status Expected Behaviour Closed
Closed_By franz-wohlkoenig joomla-cms-bot
avatar joomla-cms-bot joomla-cms-bot - close - 9 Jun 2017
avatar franz-wohlkoenig franz-wohlkoenig - change - 9 Jun 2017
Status New Expected Behaviour
Closed_Date 0000-00-00 00:00:00 2017-06-09 17:31:19
Closed_By franz-wohlkoenig
avatar joomla-cms-bot
joomla-cms-bot - comment - 9 Jun 2017
avatar franz-wohlkoenig
franz-wohlkoenig - comment - 9 Jun 2017

Closed as expected Behaviour.


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/16598.

avatar osignell
osignell - comment - 12 Jun 2017

Let me elaborate a bit... Let's say I have a site with two article categories and two blog view pages, one for each category. Each blog view has its own template.

I would like to make it easy for the persons creating content, so I created "add article" pages below each of the blog views and set these up with a "default category" to force the articles into the right categories. I also selected the same templates as the blog views to make it consistent.

This is all well and good, except..
when an existing article (any article) is edited, the itemid used is always the first create article menu item (with the lower id) regardless of any "default category" settings. Example:

  • I open the category 2 blog view - I get template2
  • I create an article there with the dedicated create men item - I get template2
  • I open a single article in its entirety - I get template2
  • I try to edit this article - I suddenly get template 1?
avatar joomla-cms-bot joomla-cms-bot - change - 12 Jun 2017
Status Discussion New
Closed_Date 0000-00-00 00:00:00
avatar joomla-cms-bot joomla-cms-bot - reopen - 12 Jun 2017
avatar franz-wohlkoenig franz-wohlkoenig - change - 12 Jun 2017
Status Closed Discussion
Closed_Date 2017-06-09 17:31:19
Closed_By joomla-cms-bot
avatar joomla-cms-bot
joomla-cms-bot - comment - 12 Jun 2017
avatar franz-wohlkoenig
franz-wohlkoenig - comment - 12 Jun 2017

@osignell thanks for Info, this sounds similar to #16612 – can you have a Look at this or is it different?

avatar franz-wohlkoenig franz-wohlkoenig - change - 13 Jun 2017
Status New Information Required
avatar osignell
osignell - comment - 3 Aug 2017

Yes, this is the same issue as #16612, closing.

avatar osignell osignell - change - 3 Aug 2017
Status Information Required Closed
Closed_Date 0000-00-00 00:00:00 2017-08-03 12:19:28
Closed_By osignell
avatar osignell osignell - close - 3 Aug 2017

Add a Comment

Login with GitHub to post a comment