Topic-icon Compatibility requests

Active Subscriptions:

None
6 years 10 months ago #62067 by larrykalef
Hi,

I ran into conflicting issues between JFB component and another component for Joomla! It happens that both component perform calls to the config class and overrides values generating calculations and displaying options problems. The solution was to change Config to JFBConfig as the class name for the tables class. The modification was done in the following files:

admin../components/com_jfbconnect/models/config.php
$row = & $this->getTable("JFBConfig"); //previously it was ->getTable().

admin../components/com_jfbconnect/tables/jfbconfig.php (instead of config.php)

Would it be possible that you keep these changes in order to avid conflicts with the component I'm currently using when I perform component updates? I wouldn't want these changes to be lost.

Thanks
The topic has been locked.
Support Specialist
6 years 10 months ago #62073 by alzander
Replied by alzander on topic Compatibility requests
We'll have to look into what kinds of problems that would cause. I don't expect it should cause many problems, but I remember writing the Config table code a long time ago (6 or 7 years ago) and I remember there was some trouble with the naming scheme then. Of course, that was for Joomla 1.5 and we haven't revisited that naming scheme since. We also haven't heard of the conflict with any other extensions, so it hasn't been a problem.

Can you let us know what the other extension that you're seeing the conflict with is?

Thanks,
Alex
The topic has been locked.
Active Subscriptions:

None
6 years 9 months ago #62118 by larrykalef
Replied by larrykalef on topic Compatibility requests
The extension is Joombri.

The conflict arises because both extensions call the config table using the same class name instead of adding a module prefix to it. When I added JFB prefix to config, everything worked fine and I can access config settings for both extensions without conflict.
The topic has been locked.
Support Specialist
6 years 9 months ago #62149 by alzander
Replied by alzander on topic Compatibility requests
Thanks for letting us know the name. I hadn't heard of that extension and it hasn't been brought up as a conflict before, so I'm assuming few people are using JFBConnect and Joombri together.

We will look into the above, but just need to make sure it doesn't cause any bad side effects. It's in our to-do list though and we'll keep you posted if we have any further questions or issues.

Thanks!
Alex
The topic has been locked.
Active Subscriptions:

None
6 years 9 months ago #62166 by larrykalef
Replied by larrykalef on topic Compatibility requests
Cool, thanks.
The topic has been locked.