? ? Pending

User tests: Successful: Unsuccessful:

avatar SharkyKZ
SharkyKZ
9 Jun 2020

Pull Request for Issue #29494.

Summary of Changes

When template preview is enabled and no module is published in a module position, a module based on position name is created in the position. This changes the module to an empty dummy module.

Testing Instructions

  1. Make sure no module is published in frontend footer position. Enable template preview. Inspect module positions.
  2. Create an article. Use {loadmoduleid} shortcode to insert module. One with existing ID and one with non-existing.
  3. Go to Postinstall Messages in backend. Check that Release news from the Joomla! Project newsfeed still appears.

Expected result

  1. Empty footer position is shown.
  2. Works like before (existing module shows up, non-existing does not).
  3. Works like before. No notices.

Actual result

  1. mod_footer is shown in footer position (contents: Copyright © 2020 Joomla!. All Rights Reserved.).

Documentation Changes Required

No.

avatar SharkyKZ SharkyKZ - open - 9 Jun 2020
avatar SharkyKZ SharkyKZ - change - 9 Jun 2020
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 9 Jun 2020
Category Libraries
avatar SharkyKZ SharkyKZ - change - 9 Jun 2020
The description was changed
avatar SharkyKZ SharkyKZ - edited - 9 Jun 2020
avatar SharkyKZ SharkyKZ - change - 9 Jun 2020
Labels Added: ?
avatar toivo toivo - test_item - 9 Jun 2020 - Tested successfully
avatar toivo
toivo - comment - 9 Jun 2020

I have tested this item successfully on e380b89

Tested successfully in 4.0-beta2-dev of 9 May.


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

avatar Quy Quy - test_item - 9 Jun 2020 - Tested successfully
avatar Quy
Quy - comment - 9 Jun 2020

I have tested this item successfully on e380b89


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

avatar Quy Quy - change - 9 Jun 2020
Status Pending Ready to Commit
avatar Quy
Quy - comment - 9 Jun 2020

RTC


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

avatar wilsonge wilsonge - close - 10 Jun 2020
avatar wilsonge wilsonge - merge - 10 Jun 2020
avatar wilsonge wilsonge - change - 10 Jun 2020
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2020-06-10 22:32:33
Closed_By wilsonge
Labels Added: ?
avatar wilsonge
wilsonge - comment - 10 Jun 2020

Thanks!

Add a Comment

Login with GitHub to post a comment