? PR-4.3-dev Pending

User tests: Successful: Unsuccessful:

avatar joomdonation
joomdonation
5 Mar 2023

Pull Request for Issue # .

Summary of Changes

This PR move the code which is used to update language of steps belong to a tour from Helper to Model for two reasons:

  • In model, we have database object and ready to use, unless in Helper, we have to use Factory::getDbo() to get database object (we are trying to move a way from using the static methods from Factory)
  • I believe that a doing something operation, especially update data from database should be a task of model, not something for Helper

Testing Instructions

  1. Use Joomla 4.3 nightly build or a Joomla 4.3 installation which has Guided Tours available
  2. Edit a tour, save it, make sure nothing broken

Actual result BEFORE applying this Pull Request

Works.

Expected result AFTER applying this Pull Request

Works.

Link to documentations

Please select:

  • Documentation link for docs.joomla.org:

  • No documentation changes for docs.joomla.org needed

  • Pull Request link for manual.joomla.org:

  • No documentation changes for manual.joomla.org needed

avatar joomla-cms-bot joomla-cms-bot - change - 5 Mar 2023
Category Administration
avatar joomdonation joomdonation - open - 5 Mar 2023
avatar joomdonation joomdonation - change - 5 Mar 2023
Status New Pending
avatar joomdonation joomdonation - change - 5 Mar 2023
Labels Added: PR-4.3-dev
avatar obuisard obuisard - test_item - 9 Mar 2023 - Tested successfully
avatar obuisard
obuisard - comment - 9 Mar 2023

I have tested this item successfully on 7da4654


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

avatar khu5h1 khu5h1 - test_item - 9 Mar 2023 - Tested successfully
avatar khu5h1
khu5h1 - comment - 9 Mar 2023

I have tested this item successfully on 7da4654


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

avatar Quy Quy - change - 9 Mar 2023
Status Pending Ready to Commit
avatar Quy
Quy - comment - 9 Mar 2023

RTC


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

avatar obuisard
obuisard - comment - 9 Mar 2023

Not sure why there is conflict here. Can you check Tuan @joomdonation ? Thanks!

avatar joomdonation joomdonation - change - 10 Mar 2023
Labels Added: ?
avatar obuisard obuisard - change - 10 Mar 2023
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2023-03-10 04:29:20
Closed_By obuisard
avatar obuisard obuisard - close - 10 Mar 2023
avatar obuisard obuisard - merge - 10 Mar 2023
avatar obuisard
obuisard - comment - 10 Mar 2023

Thank you Tuan @joomdonation !

avatar joomdonation
joomdonation - comment - 10 Mar 2023

Thanks Olivier !

Add a Comment

Login with GitHub to post a comment