User tests: Successful: Unsuccessful:
Fix the creation of the basic step when creating a new tour
Create a new tour
The new tour does not contain steps
The tour saves properly, and when going to the steps page, the user is prompted to create a step.
Please select:
Category | ⇒ | Administration |
Status | New | ⇒ | Pending |
Could you describe in detail what you have done to get these errors?
@richard67 I get it while debugging (xDebug) why no step is created. The exception is caught by the table class but you can check it also with this code
if (!$table->store()) {
throw new \Exception(implode("\n", $table->getErrors()), 500);
}
And what's your PHP and your database server type (MySQL or MariaDB) and version?
I have tested this item
I can confirm that without this PR, the basic step doesn't get created when using "save" or "save and new", while it gets created with this PR applied.
I also can confirm that the columns handled by this PR here indeed don't have default values, so they should be set when creating a new record.
Now, I am not sure we really need a basic step here....
Following the instructions I can confirm that the mentioned exceptions are resolved and an first step is stored. But there is still the Message
Column 'ordering' cannot be null
I would just remove the code that is never executed rather than try fixing it. To me, it does not help to have a pre-installed step when a tour is created.
Right now, the behavior users get is that no step is created when creating a new tour.
We should just leave it like that (the behavior) and remove the code that was supposed to create a new step but is never reached.
Title |
|
Category | Administration | ⇒ | Administration Language & Strings |
Labels |
Added:
bug
PR-4.3-dev
|
Labels |
Added:
Language Change
|
I have tested this item
I have tested this item
Status | Pending | ⇒ | Ready to Commit |
RTC
Labels |
Added:
?
|
Status | Ready to Commit | ⇒ | Fixed in Code Base |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2023-08-11 13:55:55 |
Closed_By | ⇒ | sdwjoomla |
@heelc29 I don't get these database errors when creating a new tour on a clean, current 4.3-dev branch after a new installation of Joomla.
Could you describe in detail what you have done to get these errors? And what's your PHP and your database server type (MySQL or MariaDB) and version?