Joomla! Discussion Forums



It is currently Tue Nov 24, 2009 5:53 pm (All times are UTC )

 





Post new topic Reply to topic  [ 13 posts ] 
Author Message
Posted: Mon Oct 08, 2007 2:24 pm 
Joomla! Intern
Joomla! Intern
Offline

Joined: Fri Jun 16, 2006 3:24 pm
Posts: 71
Changing menu item in 9194 not working.

Editing mainmenu item allows change to be made but not saving new choice.

---robiw

_________________
regards
RobiW


Last edited by mihu on Fri Nov 16, 2007 10:25 pm, edited 1 time in total.

Top
  E-mail  
 
Posted: Mon Oct 08, 2007 9:36 pm 
User avatar
Joomla! Guru
Joomla! Guru
Offline

Joined: Mon Mar 20, 2006 8:17 am
Posts: 736
TEST W/ SVN 9198
CONFIRMED

User allow to change menu type; however, nothing will be change after "save".

_________________
bento2go.com - We DO NOT sell bento !!


Last edited by mihu on Mon Oct 08, 2007 9:38 pm, edited 1 time in total.

Top
  E-mail  
 
Posted: Tue Oct 09, 2007 12:08 am 
User avatar
Joomla! Guru
Joomla! Guru
Offline

Joined: Mon Oct 02, 2006 3:08 am
Posts: 601
Location: Turkey
9199

After changing type of menu and saving it, a new menu appears and the old one is still there.

_________________
Every soul will taste of death.


Top
  E-mail  
 
Posted: Tue Oct 09, 2007 8:28 am 
Joomla! Intern
Joomla! Intern
Offline

Joined: Fri Jun 16, 2006 3:24 pm
Posts: 71
Same as above on 9194. Original post was made before it was noticed that the original menu item is not changed but a new menu item is created and inserted at the foot of the menu leaving both menu items published.

_________________
regards
RobiW


Top
  E-mail  
 
Posted: Tue Oct 16, 2007 9:04 pm 
User avatar
Joomla! Virtuoso
Joomla! Virtuoso
Offline

Joined: Sat Sep 24, 2005 11:01 pm
Posts: 4481
Location: Toronto, Canada
Can you confirm what I'm seeing?  If I try to change the menu type, I can select a new type, but then instead of going back to Edit Menu Item screen, it goes to New Menu Item.  It seems like the id is not being carried through.

Ian

_________________
Joomla! Leadership Team - Production Working Group
Joomla! Bug Squad Coordinator
Joomla! Developer Documentation Team
Please don't say something 'isn't working'. Explain what you tried, and what happened as a result.


Top
   
 
Posted: Tue Oct 16, 2007 9:16 pm 
User avatar
Joomla! Guru
Joomla! Guru
Offline

Joined: Mon Oct 02, 2006 3:08 am
Posts: 601
Location: Turkey
Confirmed.

_________________
Every soul will taste of death.


Top
  E-mail  
 
Posted: Tue Oct 16, 2007 9:18 pm 
User avatar
Joomla! Guru
Joomla! Guru
Offline

Joined: Mon Oct 02, 2006 3:08 am
Posts: 601
Location: Turkey
But, isn't this normal?

_________________
Every soul will taste of death.


Top
  E-mail  
 
Posted: Tue Oct 16, 2007 11:33 pm 
User avatar
Joomla! Virtuoso
Joomla! Virtuoso
Offline

Joined: Sat Sep 24, 2005 11:01 pm
Posts: 4481
Location: Toronto, Canada
My expectation was that if I click on 'Change Menu Type', that it will go to the Select Menu Item Type screen.  Once I select a menu type, it should return to the edit menu item screen, with all the previous menu item information (i.e. Title, Alias, some parameters, etc...).

Ian

_________________
Joomla! Leadership Team - Production Working Group
Joomla! Bug Squad Coordinator
Joomla! Developer Documentation Team
Please don't say something 'isn't working'. Explain what you tried, and what happened as a result.


Top
   
 
Posted: Tue Oct 16, 2007 11:39 pm 
User avatar
Joomla! Guru
Joomla! Guru
Offline

Joined: Mon Oct 02, 2006 3:08 am
Posts: 601
Location: Turkey
So this is an normal case.

However first bug still exists.

_________________
Every soul will taste of death.


Top
  E-mail  
 
Posted: Wed Oct 17, 2007 12:52 am 
User avatar
Joomla! Virtuoso
Joomla! Virtuoso
Offline

Joined: Sat Sep 24, 2005 11:01 pm
Posts: 4481
Location: Toronto, Canada
Well, contrary to my expectation, when I select a type from the menu type selection screen (after clicking change menu type), it then goes back to the New Menu Item screen, and all the information is gone (i.e. the Title and Alias, etc are blank).  So it is logical to conclude that if one were to save after that, then it would create a new menu item instead of changing the old one...  hence the first problem...

Ian

_________________
Joomla! Leadership Team - Production Working Group
Joomla! Bug Squad Coordinator
Joomla! Developer Documentation Team
Please don't say something 'isn't working'. Explain what you tried, and what happened as a result.


Top
   
 
Posted: Wed Oct 17, 2007 12:54 am 
User avatar
Joomla! Virtuoso
Joomla! Virtuoso
Offline

Joined: Sat Sep 24, 2005 11:01 pm
Posts: 4481
Location: Toronto, Canada
To elaborate, it doesn't look like com_menus is designed to allow changed the menu type...  if you look at the controller's type() function, we see:
Code:
        function type()
        {
                JRequest::setVar( 'edit', false );
                $model  =& $this->getModel( 'Item' );
                $view =& $this->getView( 'Item' );
                $view->setModel( $model, true );

                // Set the layout and display
                $view->setLayout('type');
                $view->type();
        }

note that it sets 'edit' to false.

Ian

_________________
Joomla! Leadership Team - Production Working Group
Joomla! Bug Squad Coordinator
Joomla! Developer Documentation Team
Please don't say something 'isn't working'. Explain what you tried, and what happened as a result.


Top
   
 
Posted: Wed Oct 17, 2007 8:21 pm 
User avatar
Joomla! Master
Joomla! Master
Offline

Joined: Thu Aug 18, 2005 10:41 am
Posts: 15089
Dev note; http://joomlacode.org/gf/project/joomla ... em_id=7606

_________________
Regards Robin


Top
   
 
Posted: Fri Nov 16, 2007 10:24 pm 
User avatar
Joomla! Guru
Joomla! Guru
Offline

Joined: Mon Mar 20, 2006 8:17 am
Posts: 736
Test w/ SVN 9362
The issue is FIXED.

_________________
bento2go.com - We DO NOT sell bento !!


Top
  E-mail  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 13 posts ] 

Quick reply

 



Who is online

Users browsing this forum: No registered users and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group