Urgent - Bug or feature in Joomla! 3.1.4 Legacy View

For Joomla! 3.x Coding related discussions, please use: http://groups.google.com/group/joomla-dev-general

Moderator: ooffick

Forum rules
Please use the mailing list here: http://groups.google.com/group/joomla-dev-general rather than this forum.
Locked
User avatar
H13
Joomla! Ace
Joomla! Ace
Posts: 1485
Joined: Sun Dec 10, 2006 6:39 pm
Location: Czech Republic
Contact:

Urgent - Bug or feature in Joomla! 3.1.4 Legacy View

Post by H13 » Fri Jul 26, 2013 10:24 am

Hi,

in Joomla! 3.1.4 there is a change in:
libraries/legacy/view/legacy.php

which breaks loading component view by many extensions (today I got info by some developers about this problem and discovered it has inpact on extensions I made, too)

I just want to ask or get some information if this is a bug or feature. I by myself have coded over 500 views, maybe more, so for me it is important to decide if I should overwrite them or not.

In case this is bug (it seems to be as this is legacy view and making changes in legacy view in minor versions makes no sense) - will this be fixed?

In case this is a feature, maybe planned (and I or other developers we have overlooked information about this change), please can someone confirm, that this feature will be not changed again - it is really a lot of work to change the code in extensions, so will be great to get some confirmation.

Thank you very much.

EDIT: Info for other developers

The change is based on camelcase which means, that now the camel case form changed.

If you view was called:

MyComponentViewMyComponent extends JViewLegacy

in case this change is a feature, you should change it to:

MyComponentViewMycomponent extends JViewLegacy

But first please wait for the confirmation, because I think, making some legacy feature based on camelcase change should not be a feature :idea:

Jan
Last edited by H13 on Sun Jul 28, 2013 2:24 pm, edited 1 time in total.
- Phoca Gallery - powerful image gallery - http://www.phoca.cz/phocagallery/
- Phoca Restaurant Menu - http://www.phoca.cz/restaurantmenudemo/
- Phoca Cart - e-commerce platform for Joomla!
- Phoca Download - download manager for Joomla!

User avatar
H13
Joomla! Ace
Joomla! Ace
Posts: 1485
Joined: Sun Dec 10, 2006 6:39 pm
Location: Czech Republic
Contact:

Re: Urgent - Bug or feature in Joomla! 3.1.4 Legacy View

Post by H13 » Sun Jul 28, 2013 2:23 pm

Fixed with the patch:
http://joomlacode.org/gf/download/track ... legacy.zip
Thank you, Jan
- Phoca Gallery - powerful image gallery - http://www.phoca.cz/phocagallery/
- Phoca Restaurant Menu - http://www.phoca.cz/restaurantmenudemo/
- Phoca Cart - e-commerce platform for Joomla!
- Phoca Download - download manager for Joomla!


Locked

Return to “Joomla! 3.x Coding”