Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New Random Image Module Error #17656

Closed
twister65 opened this issue Aug 21, 2017 · 12 comments
Closed

New Random Image Module Error #17656

twister65 opened this issue Aug 21, 2017 · 12 comments

Comments

@twister65
Copy link
Contributor

twister65 commented Aug 21, 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, *).

@ghost
Copy link

ghost commented Aug 21, 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

@twister65
Copy link
Contributor Author

System information (as much as possible)

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

@twister65
Copy link
Contributor Author

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.

@twister65
Copy link
Contributor Author

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.

@brianteeman
Copy link
Contributor

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

@ghost
Copy link

ghost commented Aug 22, 2017

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

@twister65
Copy link
Contributor Author

new module - call stack

@Schmidie64
Copy link
Contributor

@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.

@twister65
Copy link
Contributor Author

twister65 commented Aug 22, 2017

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

@twister65
Copy link
Contributor Author

twister65 commented Aug 23, 2017

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

@joomla-cms-bot
Copy link

Set to "closed" on behalf of @franz-wohlkoenig by The JTracker Application at issues.joomla.org/joomla-cms/17656

@ghost
Copy link

ghost commented Aug 23, 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants