? Success
Related to # 5177
Referenced as Related to: # 4922 # 5177

User tests: Successful: Unsuccessful:

avatar waader
waader
24 Nov 2014

As described in #4922 and #5177 the posgresql database schema is not up to date after installation. Apply this patch before installing. Then install on a postgresql database with "Install Sample Data" set to None. Login in the backend and go to the "Extension Manager" -> "Database" and verify that the database schema is uptodate.

avatar waader waader - open - 24 Nov 2014
avatar jissues-bot jissues-bot - change - 24 Nov 2014
Labels Added: ?
avatar brianteeman brianteeman - change - 24 Nov 2014
Rel_Number 5177
Relation Type Related to
avatar brianteeman brianteeman - test_item - 24 Nov 2014 - Tested successfully
avatar brianteeman
brianteeman - comment - 24 Nov 2014

Works for me with both test and no sample data

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

avatar brianteeman brianteeman - change - 24 Nov 2014
Category Postgresql
avatar alikon alikon - test_item - 25 Nov 2014 - Tested successfully
avatar alikon
alikon - comment - 25 Nov 2014

@test success

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

avatar brianteeman
brianteeman - comment - 25 Nov 2014

Two good tests setting to RTC

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

avatar brianteeman brianteeman - change - 25 Nov 2014
Status Pending Ready to Commit
avatar brianteeman brianteeman - change - 29 Nov 2014
Labels Added: ?
avatar Bakual
Bakual - comment - 2 Dec 2014

@waader You can't do it this way with the update SQL files.
Those will only have an effect for people updating from 3.2.1 and 3.3.3 respectively. If you want to fix it for all updating users, you need to create a new file 3.4.0-2014-12-03.sql where you fix the schema.

Can you update the PR and add the SQL into this new file?

avatar waader
waader - comment - 5 Dec 2014

@bakual I played around with the update mechanism and from my expierences I have to do it that way otherwise you will always have entries like "Table 'd9pth_user_profiles' does not have column 'profile_value' with type TEXT" on the database tab even when I would have this new file.

But what I should do additionally is creating that new file. it would be easier for me - at the moment - if you could merge this and I would provide an additional patch.

avatar roland-d
roland-d - comment - 17 Jan 2015

@waader Have you already created the additional patch? Just want to be sure all users can update.

avatar zero-24 zero-24 - close - 27 Jan 2015
avatar wilsonge wilsonge - reference | - 27 Jan 15
avatar wilsonge wilsonge - merge - 27 Jan 2015
avatar wilsonge wilsonge - close - 27 Jan 2015
avatar wilsonge wilsonge - close - 27 Jan 2015
avatar wilsonge wilsonge - change - 27 Jan 2015
Status Ready to Commit Closed
Closed_Date 0000-00-00 00:00:00 2015-01-27 22:24:21
avatar wilsonge
wilsonge - comment - 27 Jan 2015

@waader can we have that other PR please. I want all this ready to ship in beta 2 (one week today)

avatar roland-d
roland-d - comment - 9 Feb 2015

@waader @wilsonge Just want to poke you guys so this isn't forgotten.

avatar waader
waader - comment - 16 Feb 2015

@roland-d

I made an update file with this two line:
CREATE INDEX "#__contentitem_tag_map_idx_tag_name" ON "#__contentitem_tag_map" ("tag_id", "type_alias");
ALTER TABLE "#__associations" ALTER COLUMN "id" TYPE int;

But before I applied that file I took an old joomla installation 3.1.1. and updated it to 3.2.7. From there I updated to 3.4.0-beta3 and looked up the database schema. Too my surprise the index was present and the column was of type integer. All without applying my update file. When I go to the extension manager -> database I get the message "Database table structure is up to date".

Maybe there where changes in later version but then my update file could cause problems with versions prior to that changes.

So I donĀ“t know what there should be done.

avatar roland-d
roland-d - comment - 24 Mar 2015

@waader Apologies for my late reply but if all is working as should I think there is nothing else to be done.Thanks.

avatar zero-24 zero-24 - change - 14 Oct 2015
Labels Removed: ?

Add a Comment

Login with GitHub to post a comment