RTC bug PR-5.1-dev Pending

User tests: Successful: Unsuccessful:

avatar obuisard
obuisard
14 Mar 2024

Summary of Changes

Since the introduction of the welcome tour, the addition of the autostart column fails the saving of tours.

Testing Instructions

Go to System -> Guided Tours, create a tour and save.
Try also 'duplicate' and 'save as copy'.

Actual result BEFORE applying this Pull Request

Error 'Save failed with the following error: Column 'autostart' cannot be null'.

Expected result AFTER applying this Pull Request

No error on save.

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 obuisard obuisard - open - 14 Mar 2024
avatar obuisard obuisard - change - 14 Mar 2024
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 14 Mar 2024
Category Administration
avatar obuisard obuisard - change - 14 Mar 2024
Title
Update TourTable.php
[5.1] Update TourTable.php to allow save on tours
avatar obuisard obuisard - edited - 14 Mar 2024
avatar brianteeman
brianteeman - comment - 14 Mar 2024

would it not be better to update the sql instead?

avatar obuisard
obuisard - comment - 14 Mar 2024

would it not be better to update the sql instead?

The database already defaults autostart to 0.
At this point, the autostart is not present as an option to the user. Once we have the full functionality (we will make auto-start as an option to the tour in the form), we can remove that additional test.

avatar obuisard obuisard - change - 14 Mar 2024
The description was changed
avatar obuisard obuisard - edited - 14 Mar 2024
avatar brianteeman
brianteeman - comment - 14 Mar 2024

yes but you could also set it to allow null couldnt you and then you dont need this temporary code?

avatar obuisard
obuisard - comment - 14 Mar 2024

yes but you could also set it to allow null couldnt you and then you dont need this temporary code?

Oh I see what you mean... It felt 'safer' this way so I don't mess with the database again and add extra files.

avatar garstud garstud - test_item - 15 Mar 2024 - Tested successfully
avatar garstud
garstud - comment - 15 Mar 2024

I have tested this item ✅ successfully on cf6cbc2


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

avatar obuisard obuisard - change - 15 Mar 2024
Labels Added: PR-5.1-dev
avatar obuisard obuisard - change - 16 Mar 2024
Labels Added: bug
avatar Quy Quy - test_item - 16 Mar 2024 - Tested successfully
avatar Quy
Quy - comment - 16 Mar 2024

I have tested this item ✅ successfully on 1bef0eb


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

avatar viocassel viocassel - test_item - 16 Mar 2024 - Tested successfully
avatar viocassel
viocassel - comment - 16 Mar 2024

I have tested this item ✅ successfully on 1bef0eb


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

avatar Quy Quy - change - 16 Mar 2024
Status Pending Ready to Commit
avatar Quy
Quy - comment - 16 Mar 2024

RTC


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

avatar bembelimen bembelimen - change - 17 Mar 2024
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2024-03-17 11:56:48
Closed_By bembelimen
Labels Added: RTC
avatar bembelimen bembelimen - close - 17 Mar 2024
avatar bembelimen bembelimen - merge - 17 Mar 2024
avatar bembelimen
bembelimen - comment - 17 Mar 2024

Thx

Add a Comment

Login with GitHub to post a comment