I think that this is coming from this module as after I disabled it admin/structure/openlayers/layers loaded properly without the error.

I had added 5 taxonomies to a view I'd just created.

Comments

rerooting’s picture

Confirmed that this happens for me as well when enabling this module. Using openlayers 7.x-2.0-beta1, D7.12.

This also happened whenever I opened the layers page in openlayers ui :

Notice: Undefined index: in openlayers_ui_object_list() (line 471 of /var/www/fracktion/sites/all/modules/openlayers/modules/openlayers_ui/openlayers_ui.module).
seanberto’s picture

Hi Mike,
Sorry for the delay in responding. We'll take a look.
-Sean Larkin

mgifford’s picture

That happens. Not critical at the moment for us, but good to get fixed. Thanks!

alexio2170’s picture

HI, same issue is present in 7.x-1.x version
Any chance to get this solved?
Many thanks!

Con An’s picture

same issue (7.x-1.0-beta1 and 7.x-1.x-dev versions)
is this module working?
four days I m trying to make it work with no luck..

I use OpenLayers Taxonomy Test Feature to test if it is working
Am I missing something?

  • is there any tutorial how to use this?
  • is there any other way to do what this module supposed to do?

sorry for my english..
thanks

rajrsingh’s picture

This module seems to do exactly what I need, so kudos to the developers and I hope you still care about it. Is it being maintained? Is there a tutorial?

seanberto’s picture

Well, we do care about it. ;)

As for maintenance, we're pretty swamped at the moment and are generally doing more with Leaflet rather than OpenLayers. Sorry for the delays, happy to review/accept patches (including documentation patches).

kanast’s picture

after some brain damage.. i figure how this module works.. i think this issue had to do with the openlayers_taxonomy_vector.js file
i did a lot of changes so i have to see what make it work..
I will post soon
sorry for my english..
--kudos to the developers this module do exactly what I need!

kanast’s picture

no changes needed jast copy 'openlayers_taxonomy_vector.js' and 'openlayers_taxonomy_vector.inc' that's in the layer types folder of openlayers taxonomy (../sites/all/modules/openlayers_taxonomy/includes/layer_types/) and paste to the openlayers layer types folder (../sites/all/modules/openlayers/plugins/layer_types/)
this solve the issue for me.
I use: drupal core 7.15, ctools 7.x-1.2, views 7.x-3.4, OpenLayers 7.x-2.0-beta1, OpenLayers Taxonomy 7.x-1.0-beta1
>Is this the right way to solve this issue?

rajmataj’s picture

kanast,

Technically, no, that is not the right way to solve the issue as this alters the OpenLayers module contents, so the next time you update this module, you will lose your changes. Unfortunately, I don't know how to deal with this specific issue BUT I can confirm that your approach works as a temporary solution.

What I have in my own directory structure is the following:

sites/all/modules/contrib (this is where all contributed modules go)
sites/all/modules/custom (this is where all customized or altered modules go)

After disabling all OpenLayers modules, I moved the two modules directories OpenLayers and OpenLayers Taxonomy both to the sites/all/modules/custom directory. I then copied the two files you mentioned to the location you stated and then I added an additional note in both README.txt files to document why I did this and when. Then, I cleared the cache and re-enabled the modules.

Although not ideal, I can confirm that this does allow OpenLayers Taxonomy to work properly. This is at least a working solution until the developer(s) can fix the issue.

Thanks for your input though!