? Pending

User tests: Successful: Unsuccessful:

avatar bembelimen
bembelimen
3 Sep 2018

Summary of Changes

This PR fixes the installation sample data. Now they are assigned to the specific stages.

Testing Instructions

  • Reinstall Joomla! 4
  • At the last step, skip the language and install sample datas
  • After the installation check the articles

Expected result

  • All articles should work with the default workflow (Change stage)

Actual result

  • Articles are broken
avatar bembelimen bembelimen - open - 3 Sep 2018
avatar bembelimen bembelimen - change - 3 Sep 2018
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 3 Sep 2018
Category SQL Installation Postgresql
avatar ChristineWk
ChristineWk - comment - 3 Sep 2018

Hi bembelinen,

I'm not sure, if my failures has same behaviour. I made the update from here: https://developer.joomla.org/nightly-builds.html (date 03sep2018)
Update Source (Channel) should be OK.

Frontend:

Joomla\Database\Exception\PrepareStatementFailureException: Table '9130520db12.qdg46_workflow_stages' doesn't exist in /my path/libraries/vendor/joomla/database/src/Mysqli/MysqliStatement.php:135

Backend:

0 Argument 1 passed to Joomla\Utilities\ArrayHelper::getColumn() must be of the type array, boolean given, called in /my path/administrator/components/com_content/Model/ArticlesModel.php on line 495

and Stack Trace shows also many comments.

If it's not possible to use Patch-Tester, could I make amendments as shown in your PR accordingly in that file?

Thank you. Sorry, I can't find a button to insert Codes and: I wanted to insert your PR and then my post were lost :-)

Christine


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/21978.
avatar alikon
alikon - comment - 3 Sep 2018

it is a duplicate of #21681 ?

avatar ChristineWk
ChristineWk - comment - 3 Sep 2018

@alikon
I don't know, but will check nevertheless. Update from "my situation" x tried following:

Backend: System > database > Warning: There are tables not up to date > Problems > 1 Problem > Pressed Fix button.
Result: Info: All database table structures are up to date.

Menues, Categories are available & shown - but I lost all articles. Now I give up.
Sorry for causing annoyance. Thank you.


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

avatar chmst
chmst - comment - 4 Sep 2018

@ChristineWk

If it's not possible to use Patch-Tester, could I make amendments as shown in your PR accordingly in that file?
Yes, you always can do that. Which problems do you have with patchtester?

avatar ChristineWk
ChristineWk - comment - 4 Sep 2018

@chmst

in principle I don't have problems using patchtester, but I didn't use it on Joomla 4 yet.

Update from my situation: As I wrote above, menues, categories are available, activated and also user.css (some formatting) has not been removed :-)
But all my articles are gone. Re-importing from an older MySQL will not help (think so).

After my last comment above, I tried to create a NEW article (in present category/menue). Unfortunately the response is:

Fehler - Speichern fehlgeschlagen - No default workflow available, please define one or contact .....

I also think, that PR d945a22 belongs to a NEW installation. Therefore my case might be wrong here. Sorry about & Thank you.


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

avatar chmst
chmst - comment - 4 Sep 2018

Testing this PR with nightly build is not possible, as there is no installation/sql/mysql/sample_testing.sql file.
Adding the file from the dev 4.0 branch brings Workflow and transitions.

avatar bembelimen
bembelimen - comment - 5 Sep 2018

@alikon you're right and I also tested your code, d'oh...my brain is a mesh.

But one thing: one article is archived in the sample data, this should be taken in account.

avatar chmst
chmst - comment - 5 Sep 2018

I have tested this item successfully on d945a22


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

avatar chmst chmst - test_item - 5 Sep 2018 - Tested successfully
avatar Didldu-Florian
Didldu-Florian - comment - 8 Sep 2018

I have tested this item successfully on d945a22


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

avatar Didldu-Florian Didldu-Florian - test_item - 8 Sep 2018 - Tested successfully
avatar franz-wohlkoenig franz-wohlkoenig - change - 8 Sep 2018
Status Pending Ready to Commit
avatar franz-wohlkoenig
franz-wohlkoenig - comment - 8 Sep 2018

Ready to Commit after two successful tests.

avatar wilsonge wilsonge - change - 9 Sep 2018
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2018-09-09 23:54:34
Closed_By wilsonge
Labels Added: ?
avatar wilsonge wilsonge - close - 9 Sep 2018
avatar wilsonge wilsonge - merge - 9 Sep 2018

Add a Comment

Login with GitHub to post a comment