? ?
avatar alikon
alikon
12 Aug 2018

Steps to reproduce the issue

install the lastest staging/nightly
with sample data

Expected result

articles are showed botH in the backend/frontend

Actual result

backend
screenshot from 2018-08-12 11-51-26

frontend
screenshot from 2018-08-12 11-52-40

avatar alikon alikon - open - 12 Aug 2018
avatar joomla-cms-bot joomla-cms-bot - change - 12 Aug 2018
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - labeled - 12 Aug 2018
avatar brianteeman
brianteeman - comment - 12 Aug 2018

That is because there is no entry in the _workflow_associations table

The only code that exists to create the entries for existing content is in the update sql

avatar brianteeman brianteeman - change - 12 Aug 2018
Labels Added: ?
avatar brianteeman brianteeman - labeled - 12 Aug 2018
avatar infograf768
infograf768 - comment - 12 Aug 2018

@alikon
Please look at my POC for multilingual sample data where I point to the issues with the new workflow system.
#21553

avatar alikon
alikon - comment - 12 Aug 2018

i've already looked at that pr ....but here i'm talking about a step before ie when you install with sample data withot multilanguage or using the sample date plugin

avatar alikon
alikon - comment - 12 Aug 2018

even then i got the same error 500 JHtml workflowstage not found.

avatar infograf768
infograf768 - comment - 12 Aug 2018

The blog sample data is absolutely not modified to use workflow.

avatar alikon
alikon - comment - 12 Aug 2018

if it was only that

avatar infograf768
infograf768 - comment - 12 Aug 2018

Yeah, agree.

avatar franz-wohlkoenig franz-wohlkoenig - change - 12 Aug 2018
Status New Discussion
avatar franz-wohlkoenig franz-wohlkoenig - change - 12 Aug 2018
Category com_workflow
avatar brianteeman brianteeman - change - 12 Aug 2018
Labels Added: J4 Issue
avatar brianteeman brianteeman - labeled - 12 Aug 2018
avatar Bakual
Bakual - comment - 12 Aug 2018

The sample data uses the article model to create the articles. If that doesn't also set the correct workflow states, then something is wrong with workflows. The model or workflows should handle that. There should be no change in sample data. It can't be that we have to go through each workflow stages when creating items programatically, that would make it an impossible task.

avatar franz-wohlkoenig franz-wohlkoenig - change - 18 Aug 2018
Status Discussion Closed
Closed_Date 0000-00-00 00:00:00 2018-08-18 08:56:07
Closed_By franz-wohlkoenig
avatar joomla-cms-bot joomla-cms-bot - change - 18 Aug 2018
Closed_By franz-wohlkoenig joomla-cms-bot
avatar joomla-cms-bot joomla-cms-bot - close - 18 Aug 2018
avatar joomla-cms-bot
joomla-cms-bot - comment - 18 Aug 2018
avatar franz-wohlkoenig
franz-wohlkoenig - comment - 18 Aug 2018

closed as having Pull Request #21681

avatar infograf768
infograf768 - comment - 18 Aug 2018

#21681 will not solve installing sample data (Blog or multilingual) from the sample data module.

avatar alikon
alikon - comment - 18 Aug 2018

@infograf768 please open a new issue if there is not already one open,
this issue was only about sample_testing.sql not for the sampledata module/plugin....

avatar franz-wohlkoenig franz-wohlkoenig - change - 20 Apr 2019
Labels Added: ?
Removed: J4 Issue ?
avatar franz-wohlkoenig franz-wohlkoenig - unlabeled - 20 Apr 2019

Add a Comment

Login with GitHub to post a comment