? Success

User tests: Successful: Unsuccessful:

avatar richard67
richard67
1 Mar 2016

Pull Request for Issue #9258 .

Related also to issue #9247

Summary of Changes

This pull request does not fix everything for the general problem described in issue #9258 in one of the ways I suggested there.

It only makes the database schema manager be tolerant for the automatic column data type changes on conversion to utf8mb4 character set on systems supporting utf8mb4 when checking the schema.

Testing Instructions

On a system with a mysql or MariaDB database supporting utf8mb4 (mysql server version >= 5.5.3 or some new MariaDB):

  1. Update a Joomla! 3.4.8 to 3.5.0 Beta 3.
  2. After successful update go to "Extensions -> Manage -> Database"
  3. You will see a database problem reported that the conversion to "UTF-8 Multibyte (utf8mb4)" has not been done yet.
  4. Click the "Fix" button to solve the problem.

Expected result

All database problems are solved.

Actual result

A new problem occurs:

Table '#__user_profiles' does not have column 'profile_value' with type 'TEXT'. (From file 3.3.4-2014)

(replace "#__" by your database prefix)

Now repeat the same with an update container patched by this PR.

You can find it here: http://test5.richard-fath.de/Joomla_3.5.0-beta3-Beta-Update_Package_test3.zip

You als can use following link as custom url when using Joomla! Update component: http://test5.richard-fath.de/list_test3.xml

Result: The problem about the user_profiles table is not shown anymore after the 1st successful database Fix for the utf8mb4 conversion.

avatar richard67 richard67 - open - 1 Mar 2016
avatar richard67 richard67 - change - 1 Mar 2016
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 1 Mar 2016
Labels Added: ?
avatar andrepereiradasilva
andrepereiradasilva - comment - 1 Mar 2016

what's the test update package URI?

avatar richard67
richard67 - comment - 1 Mar 2016

See above test description, just added it.

avatar richard67
richard67 - comment - 1 Mar 2016

In issue tracker it may take a while until visible, check on GitHub view of the PR.

avatar andrepereiradasilva
andrepereiradasilva - comment - 1 Mar 2016

Upgrade path: 3.4.8 -> 3.5.0 beta3 (your patch version)
Upgrade method: Install from URL

Results:

  • Update ok
  • Extensions -> Database

image

Pressed "Fix"

image

All tables converted to utf8mb4_unicode_ci.

So success.

avatar andrepereiradasilva
andrepereiradasilva - comment - 1 Mar 2016

BTW a warning is yellow not red ;)
red is error.

avatar richard67
richard67 - comment - 1 Mar 2016

@andrepereiradasilva Old issue with color, at the moment I don't care about that.

I would call your test a good test, but it would be prefect if you could confirm that without the patch, the problem happens as described.


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

avatar andrepereiradasilva
andrepereiradasilva - comment - 1 Mar 2016

Upgrade path: 3.2.7 -> 3.5.0 beta3 (your patch version)

Same results: Success.

avatar richard67 richard67 - change - 1 Mar 2016
The description was changed
avatar richard67
richard67 - comment - 1 Mar 2016

No need to test old version, and 2.5. will not work with my custom URL because details XML is not prepared for that.

avatar andrepereiradasilva
andrepereiradasilva - comment - 1 Mar 2016

ok, will test without the patch, i.e. 3.4.8 to 3.5.0 beta3

avatar richard67
richard67 - comment - 1 Mar 2016

Thanks

avatar andrepereiradasilva
andrepereiradasilva - comment - 1 Mar 2016

Upgrade path: 3.4.8 -> 3.5.0 beta3 (official version)
Upgrade method: Joomla Update

Results:

  • Update ok
  • Extensions -> Database image

Pressed "Fix"
image

Pressed "Fix" again
image

All tables converted to utf8mb4_unicode_ci.

So yes, the problem existed before your patch.

avatar andrepereiradasilva andrepereiradasilva - test_item - 1 Mar 2016 - Tested successfully
avatar andrepereiradasilva
andrepereiradasilva - comment - 1 Mar 2016

I have tested this item :white_check_mark: successfully on 48fd057

As results of tests in above comments


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

avatar richard67
richard67 - comment - 1 Mar 2016

Thanks for testing @andrepereiradasilva .

One more tester please.

avatar richard67
richard67 - comment - 1 Mar 2016

@wilsonge Please test and check and if ok RTC, should be merged soon for getting rid of the annoying thing for other future tests of other PRs on current staging.


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

avatar anibalsanchez anibalsanchez - test_item - 1 Mar 2016 - Tested successfully
avatar anibalsanchez
anibalsanchez - comment - 1 Mar 2016

I have tested this item :white_check_mark: successfully on 48fd057

* Test OK

  • Warning: Database is not up to date!
  • The Joomla! Core database tables have not been converted yet to UTF-8 Multibyte (utf8mb4).

... Fix ...

avatar richard67
richard67 - comment - 1 Mar 2016

@wilsonge RTC?


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

avatar wilsonge wilsonge - close - 1 Mar 2016
avatar wilsonge wilsonge - reference | bc9ac24 - 1 Mar 16
avatar wilsonge wilsonge - merge - 1 Mar 2016
avatar wilsonge wilsonge - change - 1 Mar 2016
Status Pending Closed
Closed_Date 0000-00-00 00:00:00 2016-03-01 15:33:08
Closed_By wilsonge
avatar wilsonge wilsonge - close - 1 Mar 2016
avatar wilsonge wilsonge - change - 1 Mar 2016
Milestone Added:
avatar wilsonge
wilsonge - comment - 1 Mar 2016

Merged - thanks @richard67 :)

avatar richard67 richard67 - head_ref_deleted - 1 Mar 2016

Add a Comment

Login with GitHub to post a comment