? Pending

User tests: Successful: Unsuccessful:

avatar csthomas
csthomas
13 Sep 2018

Summary of Changes

Every module row should have asset_id value if the appropriate value exists in #__assets table.

Adds the missing asset_id column in the insertion query and fills IDs from the #__ assets table.

Testing Instructions

Install joomla 4 with sample testing data. Installation works.

avatar csthomas csthomas - open - 13 Sep 2018
avatar csthomas csthomas - change - 13 Sep 2018
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 13 Sep 2018
Category SQL Installation Postgresql
avatar csthomas csthomas - change - 13 Sep 2018
Title
Add missing asset_id column in sample testing
[4.0] Add missing asset_id column in sample testing
avatar csthomas csthomas - edited - 13 Sep 2018
avatar laoneo
laoneo - comment - 17 Sep 2018

@Bakual and @infograf768 are you guys ok with this change?

avatar infograf768
infograf768 - comment - 17 Sep 2018

I am a bit confused here.
I thought that there would be no more sample data to install at installation time in J4 (testing or else) and that only the sample data module would be used from the CPanel (for blog and multilang).

avatar csthomas
csthomas - comment - 17 Sep 2018

I thought that there would be no more sample data to install at installation time in J4

I thought so too, but sql files (sample_testing.sql) are still here and are constantly being updated, so I'm doing the same.
Until they are removed they should be updated.

avatar infograf768
infograf768 - comment - 17 Sep 2018

Then I guess this PR is necessary. Not really understanding why I am asked my advice. ?

avatar Bakual
Bakual - comment - 17 Sep 2018

They still should be removed for 4.0. So this PR is lost work in the end.
But I don't mind what you guys do with your time ?

avatar csthomas
csthomas - comment - 17 Sep 2018

Then I will close it.

It would be good to know that testers should not use this sample on testing PRs.

avatar infograf768
infograf768 - comment - 17 Sep 2018

Well, I guess that 4.0 Production leaders had a reason to leave these files in.
Therefore I would wait for @wilsonge to decide.

avatar wilsonge
wilsonge - comment - 17 Sep 2018

Basically from core perspective they are going to get removed. However there's been issues flagged by several template companies about going down the plugin approach. So I'm leaving these files here as a placeholder whilst I try and figure out how to best accomodate everybody (for example potentially if there is an installation sql file automatically installing it (where core won't have one by default) or something related)

avatar mbabker
mbabker - comment - 17 Sep 2018

However there's been issues flagged by several template companies about going down the plugin approach.

There is already support for a supplemental SQL file in the install app without hooking into either existing convention for sample data installation. What more is needed?

avatar wilsonge
wilsonge - comment - 1 Oct 2018

There is already support for a supplemental SQL file in the install app without hooking into either existing convention for sample data installation. What more is needed?

Nothing. That's the first I knew of this feature.

avatar csthomas
csthomas - comment - 18 Oct 2018

I understand that this PR is not needed.

avatar csthomas csthomas - change - 18 Oct 2018
The description was changed
Status Pending Closed
Closed_Date 0000-00-00 00:00:00 2018-10-18 10:58:57
Closed_By csthomas
Labels Added: ?
avatar csthomas csthomas - close - 18 Oct 2018

Add a Comment

Login with GitHub to post a comment