Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Problem with multiple user.php files and JTableUser definition
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  25 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Radek Suski  
View profile  
 More options May 15 2012, 8:52 am
From: Radek Suski <suski.ra...@googlemail.com>
Date: Tue, 15 May 2012 05:52:06 -0700 (PDT)
Local: Tues, May 15 2012 8:52 am
Subject: Problem with multiple user.php files and JTableUser definition

Hi everybody,

I found small problem to instantiate the JUser class if we are inside a
component which has a user.php table definition inside
the administrator/components/com_something/tables directory.

Here is what happen:

We have a small administrator module in which we need the some data of the
currently logged user.
So we are trying to get the user with *JFactory::getUser()*

It is going through the normal way:

   - JUser->__construct( )
   - JUser->load( )
   - JUser->getTable( )
   - JTable::getInstance( 'user', 'JTable' )

Now when the user is currently visiting "com_something" component, after
the JTable::addIncludePath() has been called the possible path array looks
like this:

Array (

> [0] => /root/administrator/components/com_something/tables
> [1] => /root/administrator/components/com_something/tables
> [2] => /root/libraries/joomla/database/table
> )

Because in the /root/administrator/components/com_something/tables there is
indeed a file called user.php, JPath::find() returns as the class path for
the "JTable":

/root/administrator/components/com_something/tables/user.php

And at the end the whole procedure fails.

I think that is is not the base idea to have a file called "user.php"
inside the tables directory but some extensions have it.
What would be a good solution here?
Either we should not allow do have conflicting file names, which probably
would not even really work, or maybe re-write the "JTable::getInstance"
method that way that it travels the whole path array until the right class
name has been found or the array exhausted.

What do you think?

Regards,
Radek


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Andrew Eddie  
View profile  
 More options May 15 2012, 6:37 pm
From: Andrew Eddie <mambob...@gmail.com>
Date: Wed, 16 May 2012 08:37:21 +1000
Local: Tues, May 15 2012 6:37 pm
Subject: Re: [jplatform] Problem with multiple user.php files and JTableUser definition
This is a long standing issue.  There are two options to workaround the issue.

A) Include the component user.php file
B) Register the component's user table class with the loader.

B is my preferred way and you'd just do something like this in your
main component file before you execute the component controller:

JLoader::register('SomethingTableUser', __DIR__ . '/tables/user.php');

Adjust the path to suit (and note __DIR__ is PHP 5.3+).

The "addIncludePath" methods are a legacy of PHP 4 so it's better to
go down the path of registering classes or relying on the autoloader
when 3.0 comes out (better as opposed to trying to "fix"
JTable::getInstance).

Hope that helps.

Regards,
Andrew Eddie
http://learn.theartofjoomla.com - training videos for Joomla developers

On 15 May 2012 22:52, Radek Suski <suski.ra...@googlemail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Andrew Eddie  
View profile  
 More options May 15 2012, 6:40 pm
From: Andrew Eddie <mambob...@gmail.com>
Date: Wed, 16 May 2012 08:40:06 +1000
Local: Tues, May 15 2012 6:40 pm
Subject: Re: [jplatform] Problem with multiple user.php files and JTableUser definition
Oh, sorry, I got that backwards.

I think the only way I've got around that situation is to rename the
file and the class in the component.  For example, for com_something,
have SomethingTableSuser in /tables/suser.php

Regards,
Andrew Eddie
http://learn.theartofjoomla.com - training videos for Joomla developers

On 16 May 2012 08:37, Andrew Eddie <mambob...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Radek Suski  
View profile  
 More options May 16 2012, 2:42 am
From: Radek Suski <suski.ra...@googlemail.com>
Date: Tue, 15 May 2012 23:42:50 -0700 (PDT)
Local: Wed, May 16 2012 2:42 am
Subject: Re: [jplatform] Problem with multiple user.php files and JTableUser definition

Hi Andrew,

so you mean we (Joomla!) should restrict component developer to *not *use
certain file names?
Honestly I don't think that this is such a good idea because I don't
believe we can really execute this.
Developers will use it anyway because they may not even be aware of this
restriction.
And I think as this is the method of JTable, which is one of the most
important classes in the platform, the potential for further conflicts may
be quite high.
I guess sooner or later this problem will come back with JUser or any other
class.

Or am I wrong?

Regards,
Radek


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Andrew Eddie  
View profile  
 More options May 16 2012, 2:49 am
From: Andrew Eddie <mambob...@gmail.com>
Date: Wed, 16 May 2012 16:49:05 +1000
Local: Wed, May 16 2012 2:49 am
Subject: Re: [jplatform] Problem with multiple user.php files and JTableUser definition
On 16 May 2012 16:42, Radek Suski <suski.ra...@googlemail.com> wrote:

> Hi Andrew,

> so you mean we (Joomla!) should restrict component developer to not use
> certain file names?
> Honestly I don't think that this is such a good idea because I don't believe
> we can really execute this.
> Developers will use it anyway because they may not even be aware of this
> restriction.
> And I think as this is the method of JTable, which is one of the most
> important classes in the platform, the potential for further conflicts may
> be quite high.
> I guess sooner or later this problem will come back with JUser or any other
> class.

> Or am I wrong?

Dunno, but that's how I have worked around the issue in the past.

That said, I actually think my first reply to you does work so I would
try that first.

Regards,
Andrew Eddie
http://learn.theartofjoomla.com - training videos for Joomla developers


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Phil Brown  
View profile  
 More options May 16 2012, 3:01 am
From: Phil Brown <pbr...@softwaresolutions.com.au>
Date: Wed, 16 May 2012 17:01:08 +1000
Local: Wed, May 16 2012 3:01 am
Subject: Re: [jplatform] Problem with multiple user.php files and JTableUser definition

This is something I hit fairly often.

Only recently with a html class called SSFormsHtmlForm in a file in
JPATH_COMPONENT/html/form.php.

This stopped JHtmlForm::token from loading due to this issue.
Personaly it is ugly to have other files named correctly then have an odd
one out due to conflicts.

If the paths could take the namespace into account?

Regards,

Phill Brown
M  04 2481 9754
Bathurst Software Solutions
--------------------------------------------------------------------------- ----------------------------------------

On Wed, May 16, 2012 at 4:42 PM, Radek Suski <suski.ra...@googlemail.com>wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Andrew Eddie  
View profile  
 More options May 16 2012, 3:10 am
From: Andrew Eddie <mambob...@gmail.com>
Date: Wed, 16 May 2012 17:10:12 +1000
Local: Wed, May 16 2012 3:10 am
Subject: Re: [jplatform] Problem with multiple user.php files and JTableUser definition
On 16 May 2012 17:01, Phil Brown <pbr...@softwaresolutions.com.au> wrote:

> This is something I hit fairly often.

> Only recently with a html class called SSFormsHtmlForm in a file in
> JPATH_COMPONENT/html/form.php.

> This stopped JHtmlForm::token from loading due to this issue.
> Personaly it is ugly to have other files named correctly then have an odd
> one out due to conflicts.

> If the paths could take the namespace into account?

The whole point of the problem is that all the "include path" methods
and their variants are a hangover from supporting PHP 4. This is no
longer a problem with new autoloaders and such, but we aren't
completely there yet.  The workaround is to use JLoader::register to
force the behaviour that you want and this works in Joomla 1.5 and
2.5.  That's far easier than trying to "fix" the path order which I'm
sure will end up breaking something else in an unexpected way.

Name spaces are only going to help when everything is name spaced and
I can't see that happening in the Platform until next year.

Regards,
Andrew Eddie
http://learn.theartofjoomla.com - training videos for Joomla developers


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Radek Suski  
View profile  
 More options May 16 2012, 3:15 am
From: Radek Suski <suski.ra...@googlemail.com>
Date: Wed, 16 May 2012 00:15:13 -0700 (PDT)
Local: Wed, May 16 2012 3:15 am
Subject: Re: [jplatform] Problem with multiple user.php files and JTableUser definition

Andrew,

yes but this is not my component which causes the problem, this is the
component I have problems with.

In particular there is a component called "Job Board". This component has a
file in /administrator/components/com_jobboard/tables/user.php. This file
is NOT an override of the JTable User class.
When I'm trying to create the JUser object in our module, JPath::find()
means that this table definition from the "Job Board" component is the
right definition for the JTableUser class, which is not the case, and
that's the whole problem.

Phil, namespaces in PHP is not something we can rely on yet I think.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Andrew Eddie  
View profile  
 More options May 16 2012, 3:25 am
From: Andrew Eddie <mambob...@gmail.com>
Date: Wed, 16 May 2012 17:25:38 +1000
Local: Wed, May 16 2012 3:25 am
Subject: Re: [jplatform] Problem with multiple user.php files and JTableUser definition
On 16 May 2012 17:15, Radek Suski <suski.ra...@googlemail.com> wrote:

> Andrew,

> yes but this is not my component which causes the problem, this is the
> component I have problems with.

> In particular there is a component called "Job Board". This component has a
> file in /administrator/components/com_jobboard/tables/user.php. This file is
> NOT an override of the JTable User class.
> When I'm trying to create the JUser object in our module, JPath::find()
> means that this table definition from the "Job Board" component is the right
> definition for the JTableUser class, which is not the case, and that's the
> whole problem.

Gotcha.

Try adding this to your module:

JLoader::register('JTableUser', JPATH_LIBRARIES . '/joomla/database/table.php');

Let me know if that fixes it.

Regards,
Andrew Eddie


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Radek Suski  
View profile  
 More options May 16 2012, 3:38 am
From: Radek Suski <suski.ra...@googlemail.com>
Date: Wed, 16 May 2012 00:38:19 -0700 (PDT)
Local: Wed, May 16 2012 3:38 am
Subject: Re: [jplatform] Problem with multiple user.php files and JTableUser definition

Andrew,

no, it would not because JTable::addIncludePath() still returns:

> Array (
> [0] => ../administrator/components/com_jobboard/tables
> [1] => ../administrator/components/com_jobboard/tables
> [2] => ../libraries/joomla/database/table
> )

and as /administrator/components/com_jobboard/tables is the first element
of this array JPath::find() is trying to pick the
/administrator/components/com_jobboard/tables/user.php as the right
definition for the JTableUser class.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Andrew Eddie  
View profile  
 More options May 16 2012, 7:33 am
From: Andrew Eddie <mambob...@gmail.com>
Date: Wed, 16 May 2012 21:33:23 +1000
Local: Wed, May 16 2012 7:33 am
Subject: Re: [jplatform] Problem with multiple user.php files and JTableUser definition
On 16 May 2012 17:38, Radek Suski <suski.ra...@googlemail.com> wrote:

> Andrew,

> no, it would not because JTable::addIncludePath() still returns:

>> Array (
>> [0] => ../administrator/components/com_jobboard/tables
>> [1] => ../administrator/components/com_jobboard/tables
>> [2] => ../libraries/joomla/database/table
>> )

> and as /administrator/components/com_jobboard/tables is the first element of
> this array JPath::find() is trying to pick the
> /administrator/components/com_jobboard/tables/user.php as the right
> definition for the JTableUser class.

Did you try it?

Regards,
Andrew Eddie
http://learn.theartofjoomla.com - training videos for Joomla developers


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Radek Suski  
View profile  
 More options May 16 2012, 10:51 am
From: Radek Suski <suski.ra...@googlemail.com>
Date: Wed, 16 May 2012 07:51:26 -0700 (PDT)
Local: Wed, May 16 2012 10:51 am
Subject: Re: [jplatform] Problem with multiple user.php files and JTableUser definition

I did.

Even: JLoader::register('JTableUser', JPATH_LIBRARIES .
'/joomla/database/table/user.php');


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Andrew Eddie  
View profile  
 More options May 16 2012, 5:27 pm
From: Andrew Eddie <mambob...@gmail.com>
Date: Thu, 17 May 2012 07:27:20 +1000
Local: Wed, May 16 2012 5:27 pm
Subject: Re: [jplatform] Problem with multiple user.php files and JTableUser definition
On 17 May 2012 00:51, Radek Suski <suski.ra...@googlemail.com> wrote:

> I did.

> Even: JLoader::register('JTableUser', JPATH_LIBRARIES .
> '/joomla/database/table/user.php');

Hrm, ok.  Try this in your module then:

require_once JPATH_LIBRARIES . '/joomla/database/table/user.php';

I'll try and find some time to dig deeper into why the loader isn't'
working.  What Joomla and PHP versions are you working with?

Regards,
Andrew Eddie


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Sam Moffatt  
View profile  
 More options May 21 2012, 12:43 pm
From: Sam Moffatt <pasa...@gmail.com>
Date: Mon, 21 May 2012 09:43:19 -0700
Local: Mon, May 21 2012 12:43 pm
Subject: Re: [jplatform] Problem with multiple user.php files and JTableUser definition
Possibly because if it's a module it's being rendered after the
component and if the component has already loaded the file then the
autoloader isn't ever going to get hit because the class has been
loaded by JTable already.

Cheers,

Sam Moffatt
http://pasamio.id.au


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Elin Waring  
View profile  
 More options May 22 2012, 9:35 am
From: Elin Waring <elin.war...@gmail.com>
Date: Tue, 22 May 2012 06:35:43 -0700 (PDT)
Local: Tues, May 22 2012 9:35 am
Subject: Re: [jplatform] Problem with multiple user.php files and JTableUser definition

https://github.com/joomla/joomla-cms/blob/master/libraries/joomla/dat...

Right, so if I understand it correctly (and there's a good chance I don't),
it's the same fundamental issue as mixing and matching new mvc modules on
pages with old mvc components isn't it?  So we've been way too focused on
workarounds for the specific use cases of JModel JView and JController and
not thinking abstractly about the general issue of autoloading clashes in
more complex use cases  than simple platform applications (i.e. we need to
think about platform applications that are themselves extensible).     What
if two extensions to a platform app both extend the JTableUser and you want
output from them to render from both on the same page? It's like we need
context for each element.  I think going down the route of using
namespacing to solve every problem is going to end up being self-defeating
and horrible to manage.

From what Andrew  has said before handling multiple items on a rendered
page (i.e. lists is one example) is a missing but coming piece of UCM,  I
haven't tried anything as complicated as this, but I think total buy in to
JApplicationWeb+ UCM+new MVC will handle most of that  because* *you are
pushing rendered content for everything on the page starting fresh with a
new JContent object  for each.   But I don't think that the platform should
require buy in to that structure just because you are using JApplicationWeb
especially since it isn't in the platform yet.

Elin


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Andrew Eddie  
View profile  
 More options May 22 2012, 4:42 pm
From: Andrew Eddie <mambob...@gmail.com>
Date: Wed, 23 May 2012 06:42:20 +1000
Local: Tues, May 22 2012 4:42 pm
Subject: Re: [jplatform] Problem with multiple user.php files and JTableUser definition
Wouldn't that mean that com_jobboard is redefining JTableUser?

Regards,
Andrew Eddie
http://learn.theartofjoomla.com - training videos for Joomla developers

On 22 May 2012 02:43, Sam Moffatt <pasa...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Elin Waring  
View profile  
 More options May 23 2012, 2:52 am
From: Elin Waring <elin.war...@gmail.com>
Date: Tue, 22 May 2012 23:52:12 -0700 (PDT)
Local: Wed, May 23 2012 2:52 am
Subject: Re: [jplatform] Problem with multiple user.php files and JTableUser definition

Yes

class TableUser extends JTable

Elin


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Radek Suski  
View profile  
 More options May 23 2012, 2:58 am
From: Radek Suski <suski.ra...@googlemail.com>
Date: Tue, 22 May 2012 23:58:14 -0700 (PDT)
Local: Wed, May 23 2012 2:58 am
Subject: Re: [jplatform] Problem with multiple user.php files and JTableUser definition

But if I understand correctly the TableUser in com_jobboard is not a
replacement for Joomla! JTableUser.
It's just happen to have the same file name.
Nevertheless I still think that the main issue is that JPath::find() stops
searching for the right class definition after first occurrence of a
user.php file.
I think it would be better if this method, or the above, could ensure that
the found file contains indeed the class definition we are currently
looking for.

Regards,
Radek


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Sam Moffatt  
View profile  
 More options May 23 2012, 3:12 am
From: Sam Moffatt <pasa...@gmail.com>
Date: Wed, 23 May 2012 00:12:09 -0700
Local: Wed, May 23 2012 3:12 am
Subject: Re: [jplatform] Problem with multiple user.php files and JTableUser definition
Likely it's actually called JTableUser if they are directly grabbing
the table from JTable::getInstance instead of using JModel::getTable.
JTable defaults to a prefix of JTable and JModel defaults to a prefix
of Table. This would also explain why explicitly registering the class
with the autoloader doesn't solve anything because the class has
already been loaded. Short of looking at the definition in the file (I
guess that's Radek's department) there isn't an easy way to confirm
but this would explain why manually registering the class name didn't
work properly.

This is also presuming you're not hitting JTable::getInstance's "class
not found in file" error which would happen if it was called TableUser
instead of JTableUser.

Regardless swapping that to a JFolder::files until we get everything
autoloading neatly wouldn't probably be a good idea for anyone
interested in picking it up. Presuming someone doesn't label the class
identically it would at least solve the class not found in file error.

Cheers,

Sam Moffatt
http://pasamio.id.au


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Elin Waring  
View profile  
 More options May 23 2012, 6:06 am
From: Elin Waring <elin.war...@gmail.com>
Date: Wed, 23 May 2012 03:06:01 -0700 (PDT)
Local: Wed, May 23 2012 6:06 am
Subject: Re: [jplatform] Problem with multiple user.php files and JTableUser definition

 I was quoting from the file directly.

From looking at the file given that it does not have a password field so  I
would say it is not a functional replacement for the actual user table but
we have no idea maybe they do have some other unknown replacement
authentication system that doesn't use the Joomla user table.

The install creates a table CREATE TABLE IF NOT EXISTS `#__jobboard_users`

Now it would make sense for the code to say to be JobboardTableUsers

Still, Theoretically shouldn't they be able to replace the user table? What
if this was some other application?  I'm really asking that, it's not
rhetorical.

Elin


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Thomas PAPIN  
View profile  
 More options Jul 24 2012, 11:15 am
From: Thomas PAPIN <thomas.pa...@gmail.com>
Date: Tue, 24 Jul 2012 08:15:13 -0700 (PDT)
Local: Tues, Jul 24 2012 11:15 am
Subject: Re: [jplatform] Problem with multiple user.php files and JTableUser definition

Hi Radek,

I just discovered this thread. I had the same problem with
JTable::getInstance( 'user', 'JTable' ), 1 year ago and I raised a ticket
for that with no success
Link : https://github.com/joomla/joomla-platform/pull/268

My solution was quite "easy".
In the getInstance function of JTable, instead of using JPath::find() and I
used a new function JPath::findAll().
JPath::findAll() returns the list of all instances that match when
JPath::find() returns the first instance that match.
So in the getInstance all "User Table" classes will be tested for the test
class_exists.

In your example:
[0] => /root/administrator/components/com_something/tables
        [1] => /root/libraries/joomla/database/table
with JPath::find() only [0] is tested => Returns ERROR
with Jpath::findAll() [0] and [1] are tested => getinstance returns the
correct class.

As my patch was not accepted to avoid renaming User to User2 or just
another loading solution,
I found this little workaround :
Just at the end of my component code:
$path = JPATH_ROOT.DS.'libraries'.DS.'joomla'.DS.'database.DS.'table';
JTable::addIncludePath($path);
Like this the Joomla Core Table are at the first position in the include
path array. so other modules or plugins will not be impacted by the
includepath of my component.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Sam Moffatt  
View profile   Translate to Translated (View Original)
 More options Jul 24 2012, 11:59 am
From: Sam Moffatt <pasa...@gmail.com>
Date: Tue, 24 Jul 2012 08:59:52 -0700
Local: Tues, Jul 24 2012 11:59 am
Subject: Re: [jplatform] Problem with multiple user.php files and JTableUser definition
Near as I can tell you didn't do a pull request against Joomla!'s
staging branch but against Joomla!'s master branch (two as far as I
can see). This would have subverted the unit testing and code style
infrastructure designed to ensure we don't introduce new style issues
or break unit tests. What you needed to do is make the pull request
against the Joomla! staging branch not master.

GitHub have done a rather good job of documentation though not always
the most up to date. It does however cover this situation though these
days it's a bit more obvious what the destination repository is:
https://help.github.com/articles/using-pull-requests/

Cheers,

Sam Moffatt
http://pasamio.id.au


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Thomas PAPIN  
View profile  
 More options Jul 24 2012, 12:51 pm
From: Thomas PAPIN <thomas.pa...@gmail.com>
Date: Tue, 24 Jul 2012 18:51:08 +0200
Local: Tues, Jul 24 2012 12:51 pm
Subject: Re: [jplatform] Problem with multiple user.php files and JTableUser definition

Oh thanks for this information I am newbie with github. Will read all that.
Is there some document that explain the joomla branches on github (staging,
master,), validation process , unit test, etc..

Checking old mail, I saw that Christophe Demko create a pull request for
that:
https://github.com/joomla/joomla-platform/pull/397
But the final status: "Closing this one. The MVC will be reworked after
11.4"

So finally it's seems that this "error" will not be fixed in 2.5.X ?

Anyway I will try to post a fix for 2.5.X :-) in the staging branch. This
will be a good traning :)
But how to submit a request on the framework version used for 2.5 versus
submit a request on the framework for 3.0 ?
If my version is "stupid" don't answer it, I will search by myself

Thomas

2012/7/24 Sam Moffatt <pasa...@gmail.com>


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Elin Waring  
View profile   Translate to Translated (View Original)
 More options Jul 24 2012, 5:36 pm
From: Elin Waring <elin.war...@gmail.com>
Date: Tue, 24 Jul 2012 14:36:41 -0700 (PDT)
Local: Tues, Jul 24 2012 5:36 pm
Subject: Re: [jplatform] Problem with multiple user.php files and JTableUser definition


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Sam Moffatt  
View profile  
 More options Jul 28 2012, 1:56 pm
From: Sam Moffatt <pasa...@gmail.com>
Date: Sat, 28 Jul 2012 10:56:35 -0700
Local: Sat, Jul 28 2012 1:56 pm
Subject: Re: [jplatform] Problem with multiple user.php files and JTableUser definition
I expect some of that is collateral damage that occurred. JTable isn't
part of the MVC rework so while the code was in there the majority of
the code in the pull request related to the MVC. I don't see any major
problem with extracting the JTable changes into a new pull request.

Cheers,

Sam Moffatt
http://pasamio.id.au


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »