No Code Attached Yet bug
avatar coolcat-creations
coolcat-creations
17 Dec 2022

Steps to reproduce the issue

Go to components ยป Tags
Create a tag and inside the creation form add a Parent on the fly (Type in a non Existing Name for the Parent and hit Return)
The Field accepts the input
Click Save and Close

Expected result

The Parent Tag is created on the fly

Actual result

Although it seems that the parent is created, it's not. The Item has no the value none as parent

avatar coolcat-creations coolcat-creations - open - 17 Dec 2022
avatar joomla-cms-bot joomla-cms-bot - change - 17 Dec 2022
Labels Added: No Code Attached Yet
avatar joomla-cms-bot joomla-cms-bot - labeled - 17 Dec 2022
avatar chmst chmst - change - 17 Dec 2022
Labels Added: bug
avatar chmst chmst - labeled - 17 Dec 2022
avatar brianteeman
brianteeman - comment - 17 Dec 2022

I followed your instructions and confirm the bug

Interesting observation is that if you "Save and Close" you get an apparent success
image

But if you just tried to "Save" you can clearly see the problem
image

Personally I would not expect to be able to create a parent tag on the fly here. You can not for example create a parent category. So for me the fix is to prevent it appearing to offer that functionality in com_tags

avatar coolcat-creations
coolcat-creations - comment - 17 Dec 2022

I am fine with disabling the ability to type and save, I did not see the red warning at saving though

avatar brianteeman
brianteeman - comment - 17 Dec 2022

The error message is displayed only on a new tag when you try to create a parent and then press save
Not on an existing tag or when you save and close

avatar chmst
chmst - comment - 17 Dec 2022

@brianteeman correct. This is why I added the bug label.

If we accept the feature "generate parent items on the fly" can be discussed ,but ist must be clear and no error may occur.

avatar chmst chmst - change - 18 Dec 2022
Status New Closed
Closed_Date 0000-00-00 00:00:00 2022-12-18 10:47:48
Closed_By chmst
avatar chmst chmst - close - 18 Dec 2022
avatar chmst
chmst - comment - 18 Dec 2022

Please test #39443

Add a Comment

Login with GitHub to post a comment