Fieldtype

Developer
Supported

Introvert

ExpressionEngine 2

Back to this add-on's main page
View Other Add-ons From iain

     

You must be logged in to post.

EE 2.10.1 compatibility issue

Bug Report

anchovy
anchovy

Got a little issue with introvert; looks like it’s a EE 2.10.01 compatibility issue; works as expected on 2.9.2.

line 98 (ft.introvert.php) is returning false, leaving $type as ’native_legacy’ rather than setting it to native_evolved.

if(APP_VER >= '2.6')
{
$type 
'native_evolved';

If we check against version 2.10:

if(APP_VER >= '2.6' || APP_VER >= '2.10')
{
$type 
'native_evolved';

And the above fixes the issue - but will obviously cause an issue when version 2.20.x is released.

So reckon that using the build version would be the best solution? I.e:

if(APP_VER >= ‘2.6’ || APP_BUILD >= 20150501)
{
$type 
'native_evolved';

Where 20150501 is the build version for 2.10.1, as all build versions increment due to-being based on the release date.

Could obviously shorten this to check against the APP_VER for 2.6 - but don’t have a version of this to verify the build date.

Iain - any comments?

iain
# 1
Developer
iain

Hi there, yeah I just need update to use the baked in version_compare method instead of doing my own checking in the plugin.

I’ll try and get the release pushed out for this week but in the mean time feel free to use what you’ve worked around with.

Thanks
Iain