?
avatar xtech86
xtech86
22 Aug 2014

Steps to reproduce the issue

Create a module and manually type in it's position for example:

mymodule_position

And save, all is perfect.

Then create another module and type in it's position for example:

mymodule

It will always auto select mymodule_position and will not let your select mymodule until any modules assigned to mymodule_position have been unassigned.

Expected result

Actual result

System information (as much as possible)

Additional comments

Votes

# of Users Experiencing Issue
1/1
Average Importance Score
4.00

avatar xtech86 xtech86 - open - 22 Aug 2014
avatar Bakual
Bakual - comment - 22 Aug 2014

Removed some duplicate text from the issue. Probably coming from copy-paste from JC item.

avatar brianteeman brianteeman - change - 22 Aug 2014
Title
Module position forcing selection.
Module position forcing selection.
avatar brianteeman brianteeman - change - 1 Sep 2014
Category JavaScript JavaScript Modules
avatar phproberto
phproberto - comment - 2 Oct 2014

I can confirm this issue on latest staging

avatar nicksavov nicksavov - change - 15 Oct 2014
Title
Module position forcing selection.
Module position forcing selection.
Labels Added: ?
avatar aDaneInSpain
aDaneInSpain - comment - 17 Oct 2014

Is this for 2.5 or 3.3?

avatar brianteeman
brianteeman - comment - 17 Oct 2014

@aDaneInSpain 3.3staging

avatar aDaneInSpain
aDaneInSpain - comment - 17 Oct 2014

It is for 3, I can see. And it also affects if you try to create any position that is shorter than any of the existing positions (custom or not).

So you can not create a position called "Bread" as there is already a "Breadcrumbs" and you can not create a "Nav" as there is already a "Navigation".

But you CAN create "Breadcrumbs_long" or "Navigation1" as they are longer than the existing entries. The problem is that the existing entries gets selected upon hitting enter instead of a new one being created.

I would venture to say that this is expected behaviour, as if this is "fixed" you are no longer able to type "Bread" and have "Breadcrumbs" selected by hitting enter.

I propose instead that the solution is to have a button that opens a modal that allows you to create new position, or move the "Positions" to its own list/form view setup.

avatar revers28
revers28 - comment - 17 Oct 2014

@test I can confirm this issue Joomla 3.3.7dev Apache+mod_php MySql.

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

avatar Kixo
Kixo - comment - 17 Oct 2014

I have tested this and it adds a new position if you move away (with mouse) from the dropdown list, so none of the options below are selected. Then when you press enter you create new position. So the problem is when you are typing and one of the options are selected.

what if we always put this option in the list as a button.
http://awesomescreenshot.com/0623ofuo1c
so when clicked it creates new one...


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

avatar xtech86
xtech86 - comment - 17 Oct 2014

I think that would be the best solution.
On 17 Oct 2014 13:08, "Kristijan" notifications@github.com wrote:

I have tested this and it adds a new position if you move away (with
mouse) from the dropdown list, so none of the options below are selected.
Then when you press enter you create new position. So the problem is when
you are typing and one of the options are selected.

what if we always put this option in the list as a button.
http://awesomescreenshot.com/0623ofuo1c
so when clicked it creates new one...

This comment was created with the J!Tracker Application
https://github.com/joomla/jissues at issues.joomla.org/joomla-cms/4146
http://issues.joomla.org/tracker/joomla-cms/4146.


Reply to this email directly or view it on GitHub
#4146 (comment).

avatar aDaneInSpain
aDaneInSpain - comment - 17 Oct 2014

Agreed - that is the best solution.

avatar brianteeman brianteeman - change - 1 Jan 2015
Title
Module position forcing selection.
Module position forcing selection.
Labels Removed: ?
avatar brianteeman brianteeman - change - 3 Jan 2015
Status New Confirmed
avatar brianteeman brianteeman - change - 3 Jan 2015
Labels Added: ?
avatar brianteeman
brianteeman - comment - 24 Mar 2015

@Kixo are you able to contribute the code for that - sounds like a good solution

avatar Kixo
Kixo - comment - 3 May 2015

I am sorry but I am very bad with time lately (deadlines) so I cannot solve this one any time soon...

avatar brianteeman
brianteeman - comment - 8 May 2016

Hi you created this issue sometime ago but have not provided any code for people to evaluate. As no one else has shown any interest in providing the code and you have not then I am closing this issue at this time. If code is provided (a pull request) it can always be re-examined.


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

avatar brianteeman brianteeman - change - 8 May 2016
Status Confirmed Ready to Commit
avatar brianteeman brianteeman - change - 8 May 2016
Status Ready to Commit Closed
Closed_Date 0000-00-00 00:00:00 2016-05-08 10:52:03
Closed_By brianteeman
avatar brianteeman brianteeman - close - 8 May 2016

Add a Comment

Login with GitHub to post a comment