?
avatar twister65
twister65
21 Aug 2017

Steps to reproduce the issue

Log in as administrator
Extensions -> Modules
New -> Random Image
Set Title, Image Folder, and Position
Save

Expected result

Creation of a new random image module

Actual result

random_image_module

System information (as much as possible)

Joomla-cms-staging (21/08/2017)
PostgreSQL 9.5.6
PHP 7

Additional comments

ERROR: null value in column "ordering" violates not-null constraint DETAIL: Failing row contains (94, 0, Images, , , null, position-7, 0, 1970-01-01 00:00:00, 1970-01-01 00:00:00, 1970-01-01 00:00:00, 1, mod_random_image, 1, 1, {"type":"jpg","folder":"images/space","link":"","width":"","hei..., 0, *).

avatar twister65 twister65 - open - 21 Aug 2017
avatar joomla-cms-bot joomla-cms-bot - change - 21 Aug 2017
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - labeled - 21 Aug 2017
avatar franz-wohlkoenig
franz-wohlkoenig - comment - 21 Aug 2017

Can't confirm.

System information

3.8-dev
Multilanguage Site
macOS Sierra, 10.12.6
Firefox 55 (64-bit)

MAMP 4.1.1

  • PHP 7.0.15
  • MySQLi 5.6.35
avatar franz-wohlkoenig franz-wohlkoenig - change - 21 Aug 2017
Category com_modules Postgresql
avatar franz-wohlkoenig franz-wohlkoenig - change - 21 Aug 2017
Status New Discussion
avatar twister65
twister65 - comment - 21 Aug 2017

System information (as much as possible)

Joomla-cms-staging (21/08/2017)
PostgreSQL 9.5.6
PHP 7

avatar twister65
twister65 - comment - 21 Aug 2017

If you set Title, Image Folder, Position, and Ordering : it works !
The default value of ordering column in the insert query is NULL.
Ordering Column can't be NULL (NOT NULL) in the __modules table.

avatar twister65
twister65 - comment - 21 Aug 2017

When you create a new module, the ordering is not pre-filled, whatever module you choose.
Before, with Joomla!3.7.5, ordering was a combobox (text now) and pre-filled.

avatar brianteeman
brianteeman - comment - 22 Aug 2017

@franz-wohlkoenig its a postgres issue - you are on mysql ;)

avatar franz-wohlkoenig
franz-wohlkoenig - comment - 22 Aug 2017

@brianteeman i wanted to make clear its working on mysql :-)

avatar twister65
twister65 - comment - 22 Aug 2017

new module - call stack

avatar Schmidie64
Schmidie64 - comment - 22 Aug 2017

@icampus
I also couldn't reproduce this item with MySQL its definitely an PostSQL Bug.


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

avatar twister65
twister65 - comment - 22 Aug 2017

With MySQL, you can't select "Ordering" in the New Module page. There is no error message, but it doesn't work too.

avatar twister65
twister65 - comment - 23 Aug 2017

There were libraries missing : moduleorder.php, moduleposition.php...
I installed the last staging and it works now.
You can close this issue.

avatar franz-wohlkoenig franz-wohlkoenig - change - 23 Aug 2017
Status Discussion Closed
Closed_Date 0000-00-00 00:00:00 2017-08-23 04:27:15
Closed_By franz-wohlkoenig
avatar joomla-cms-bot joomla-cms-bot - close - 23 Aug 2017
avatar franz-wohlkoenig
franz-wohlkoenig - comment - 23 Aug 2017

closed as stated above. @twister65 glad you have solve the Issue.


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

avatar joomla-cms-bot
joomla-cms-bot - comment - 23 Aug 2017

Add a Comment

Login with GitHub to post a comment