?
avatar NitemareReal
NitemareReal
17 May 2017

Steps to reproduce the issue

Install PHP 7.x
Install Joomla 3.7.x
Install PostgreSQL 9.5.x
Try to install ANY template for Joomla 3.x

Expected result

Template is installed

Actual result

Error Message:

ERROR: null value in column "system_data" violates not-null constraint...
screen shot 2017-05-17 at 11 53 12

System information (as much as possible)

php 7.x
PostgreSQL 9.5.4
Joomla 3.7.0

Additional comments

It is easy to fix, just edit libraries/cms/installer/adapter/template.php
search for "storeExtension" method and then search for "$this->extension->custom_data = '';" line. After that and before closed brace, add:
$this->extension->system_data = '';

avatar NitemareReal NitemareReal - open - 17 May 2017
avatar joomla-cms-bot joomla-cms-bot - labeled - 17 May 2017
avatar franz-wohlkoenig franz-wohlkoenig - change - 17 May 2017
Priority Critical Medium
avatar brianteeman
brianteeman - comment - 17 May 2017

please can you submit a pull request with this change

avatar franz-wohlkoenig franz-wohlkoenig - change - 17 May 2017
Status New Information Required
avatar brianteeman brianteeman - change - 17 May 2017
Status Information Required Closed
Closed_Date 0000-00-00 00:00:00 2017-05-17 14:28:05
Closed_By brianteeman
avatar brianteeman brianteeman - close - 17 May 2017
avatar brianteeman
brianteeman - comment - 17 May 2017

Closed as we have a pr for testing. Thanks

avatar NitemareReal
NitemareReal - comment - 17 May 2017

Done!
This is the first time I use Github, but I think I did it ok


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

Add a Comment

Login with GitHub to post a comment