? Success

User tests: Successful: Unsuccessful:

avatar shur
shur
3 Jul 2015

created_user_id field in #__tags table must have integer value, e.x. '0'

for reference:
`created_user_id` int(10) unsigned NOT NULL DEFAULT 0,

PR fix this issue #4437

avatar shur shur - open - 3 Jul 2015
avatar shur shur - change - 3 Jul 2015
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 3 Jul 2015
Labels Added: ?
avatar zero-24 zero-24 - change - 3 Jul 2015
Category Installation SQL
avatar shur
shur - comment - 4 Jul 2015

It was old mistake and was mention here:
#4437

avatar shur
shur - comment - 4 Jul 2015

How to test:

  1. After fresh Joomla installation go to #__tags table in the database.
    Or import this joomla.sql file in a new database and go to #__tags table.

  2. You'll see that created_user_id field is not empty but equals zero because mysql automatically corrects this empty value to integer 0.
    created_user_id_integer_value

Sure it's better not to create these problems that might cause errors (ERROR: Incorrect integer value), but get correct value for this field in joomla.sql.

avatar zero-24 zero-24 - change - 4 Jul 2015
Easy No Yes
avatar BezouwenR BezouwenR - test_item - 11 Jul 2015 - Tested successfully
avatar shur
shur - comment - 12 Jul 2015

@zero-24
I checked the table #__categories and found that it is also used created_user_id=42 for ROOT category. Perhaps we should follow the same approach for the ROOT item in #__tags table.

So far it's clear that it should be integer value.
But the main question is what integer value we must use for this field - 0 or 42?

avatar shur
shur - comment - 6 Aug 2015

bump up

avatar Bakual
Bakual - comment - 6 Aug 2015

Please use 42 to be consistent with categories.

avatar shur
shur - comment - 6 Aug 2015

created_user_id for tags ROOT category changed to 42

avatar Bakual
Bakual - comment - 6 Aug 2015

Thanks, setting RTC based on review.

avatar Bakual Bakual - change - 6 Aug 2015
Labels Added: ?
Removed: ?
avatar Bakual Bakual - change - 6 Aug 2015
Milestone Added:
avatar joomla-cms-bot joomla-cms-bot - change - 6 Aug 2015
Labels Added: ?
Removed: ?
avatar zero-24 zero-24 - change - 6 Aug 2015
Status Pending Ready to Commit
avatar zero-24
zero-24 - comment - 6 Aug 2015

Please add the RTC label @joomla-cms-bot :smile: :smiley:


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

avatar joomla-cms-bot joomla-cms-bot - change - 6 Aug 2015
Labels Added: ?
avatar Bakual
Bakual - comment - 6 Aug 2015

Please add the RTC label @joomla-cms-bot

You're kidding me, right? :laughing:

avatar mbabker
mbabker - comment - 6 Aug 2015

Well, it's not on a text responder, but the bot can add the label :wink:

avatar zero-24
zero-24 - comment - 6 Aug 2015

The bot is strict now ;) If the status on jissues is not RTC he will remove it ;) If you set it and add any kind of comment he will add it :)

avatar Bakual
Bakual - comment - 6 Aug 2015

Well, it's not on a text responder, but the bot can add the label

That would be a cool feature to add :+1: :laughing:

avatar Kubik-Rubik
Kubik-Rubik - comment - 10 Aug 2015

Thank you @shur! Merged with 8d0968d

avatar Kubik-Rubik Kubik-Rubik - change - 10 Aug 2015
Status Ready to Commit Closed
Closed_Date 0000-00-00 00:00:00 2015-08-10 18:55:07
Closed_By Kubik-Rubik
avatar Kubik-Rubik Kubik-Rubik - close - 10 Aug 2015
avatar joomla-cms-bot joomla-cms-bot - close - 10 Aug 2015
avatar Kubik-Rubik Kubik-Rubik - close - 10 Aug 2015
avatar joomla-cms-bot joomla-cms-bot - change - 10 Aug 2015
Labels Removed: ?
avatar shur
shur - comment - 11 Aug 2015

Probably we need to create some kind of sql update file for the next Joomla release.
This file should replace 0 with 42 in created_user_id field for ROOT category.

avatar shur
shur - comment - 11 Aug 2015

one problem less #4311

avatar Bakual
Bakual - comment - 11 Aug 2015

I don't think it matters at all what user there is for the root category.

Add a Comment

Login with GitHub to post a comment