? ? ? Pending

User tests: Successful: Unsuccessful:

avatar csthomas
csthomas
24 Feb 2017

Pull Request for Issue #13981

Summary of Changes

Testing Instructions

Install each sample per database, install should success.

On postgresql and mssql please check front page and backend (specially Component lists).

Expected result

All as before, on postgresql and mssql after sync there may be more samples/items.

Actual result

Joomla with samles on postgresql and mssql does not work.
Take a look at backend->Components.

Documentation Changes Required

None

avatar csthomas csthomas - open - 24 Feb 2017
avatar csthomas csthomas - change - 24 Feb 2017
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 24 Feb 2017
Category SQL Installation Postgresql MS SQL Libraries
avatar csthomas csthomas - change - 24 Feb 2017
The description was changed
avatar csthomas csthomas - edited - 24 Feb 2017
avatar franz-wohlkoenig
franz-wohlkoenig - comment - 24 Feb 2017

Install each sample per database

how is this be done in phpMyAdmin?

avatar csthomas
csthomas - comment - 24 Feb 2017

Install joomla with each samples. DO NOT REMOVE INSTALL FOLDER.

Install joomla with "none - sample", test and at the end remove configuration.php file.
Then refresh page and install again next one, fields should be auto filled up, but password you have to retype.

avatar csthomas
csthomas - comment - 24 Feb 2017

Suggestion: always use the same prefix for tables and set to remove (not backup) tables on installation process.

avatar franz-wohlkoenig
franz-wohlkoenig - comment - 24 Feb 2017

@csthomas will test today.

avatar zero-24
zero-24 - comment - 24 Feb 2017

@franz-wohlkoenig you need to use: https://github.com/csthomas/joomla-cms/archive/sync_sql_install_samples.zip as Using Joomla_3.7.0-rc1-dev-Full_Package? does not contain the changes here in that PR 😄

avatar franz-wohlkoenig
franz-wohlkoenig - comment - 24 Feb 2017

I have tested this item ✅ successfully on 4c32beb

Test on MySQLi each Sample including "None".


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

avatar franz-wohlkoenig franz-wohlkoenig - test_item - 24 Feb 2017 - Tested successfully
avatar waader
waader - comment - 24 Feb 2017

I started testing with mssql and the testing data using current staging. Here are my findings:

Testing Data - Frontend:

  • Home: An error has occurred.
  • Content Modules: [Microsoft][SQL Server Native Client 11.0][SQL Server]Incorrect syntax near ')'.
  • Archiv: An error has occurred.
  • Similar Tags: An error has occurred.
  • Popular Tags: [Microsoft][SQL Server Native Client 11.0][SQL Server]Incorrect syntax near ')'.
  • Compact tagged: should show one record
  • Tagged items: should show one record

Trying to install multiple languages I get:
[Microsoft][SQL Server Native Client 11.0][SQL Server]Cannot insert the value NULL into column 'custom_data', table 'joomla37.dbo.#__extensions'; column does not allow nulls. INSERT fails.

Backend looks pretty good.

avatar csthomas
csthomas - comment - 24 Feb 2017

Thanks for details @waader.

Home: An error has occurred.

Unrelated query in mod_tags_similar. You mentioned that a few times before in other PRs. Fixed in #13262.

Content Modules: [Microsoft][SQL Server Native Client 11.0][SQL Server]Incorrect syntax near ')'.

Unrelated. query problem solved by #13262

Archive: An error has occurred.

I have found. Menu left.
This is query error also solved by #13262

Similar Tags: An error has occurred.
Popular Tags: [Microsoft][SQL Server Native Client 11.0][SQL Server]Incorrect syntax near ')'.

Unrelated. Query syntax problem fixed in #13262

Compact tagged: should show one record
Tagged items: should show one record

This is bug in query, not yet solved in #13262 :(

Trying to install multiple languages I get:
[Microsoft][SQL Server Native Client 11.0][SQL Server]Cannot insert the value NULL into column 'custom_data', table 'joomla37.dbo.#__extensions'; column does not allow nulls. INSERT fails.

This PR won't fix columns types or php code on mssql.

avatar csthomas
csthomas - comment - 24 Feb 2017

All mentioned errors are unrelated.

It would be good to have one test on postgresql.

avatar waader
waader - comment - 25 Feb 2017

When I try to install the Blog English (GB) Sample Data on mssql I get this message:
[Microsoft][SQL Server Native Client 11.0][SQL Server]The number of columns for each row in a table value constructor must be the same.

Installing the different data sets on postgresql went fine.

avatar csthomas
csthomas - comment - 25 Feb 2017

I confirm, I'm working on it.

avatar csthomas csthomas - change - 25 Feb 2017
Labels Added: ? ?
avatar joomla-cms-bot joomla-cms-bot - change - 25 Feb 2017
Category SQL Installation Postgresql MS SQL Libraries SQL Installation Postgresql MS SQL
avatar csthomas
csthomas - comment - 25 Feb 2017

Fixed. I have rebased PR in order to add changes from merged PR #13262.

avatar waader waader - test_item - 25 Feb 2017 - Tested successfully
avatar waader
waader - comment - 25 Feb 2017

I have tested this item ✅ successfully on f8e8ee9

Works for mssql and postgresql. Thanks!


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

avatar franz-wohlkoenig
franz-wohlkoenig - comment - 26 Feb 2017

RTC as there are 2 successfully Tests?

avatar csthomas
csthomas - comment - 26 Feb 2017

It would be good to test again on mysql and maybe on postgresql for make easier decision to approvers.

avatar franz-wohlkoenig
franz-wohlkoenig - comment - 26 Feb 2017

will test on mysqli

avatar franz-wohlkoenig franz-wohlkoenig - test_item - 26 Feb 2017 - Tested successfully
avatar franz-wohlkoenig
franz-wohlkoenig - comment - 26 Feb 2017

I have tested this item ✅ successfully on f8e8ee9

all types of sample files can be installed.


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

avatar waader waader - test_item - 26 Feb 2017 - Tested successfully
avatar waader
waader - comment - 26 Feb 2017

I have tested this item ✅ successfully on f8e8ee9

Works also with mysql.


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

avatar zero-24 zero-24 - change - 26 Feb 2017
Milestone Added:
Status Pending Ready to Commit
Labels Added: ?
avatar rdeutz rdeutz - change - 28 Feb 2017
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2017-02-28 13:05:35
Closed_By rdeutz
Labels
avatar rdeutz rdeutz - close - 28 Feb 2017
avatar rdeutz rdeutz - merge - 28 Feb 2017

Add a Comment

Login with GitHub to post a comment