collective / collective.venue

Dexterity venue type for use with events.
https://pypi.org/project/collective.venue/
3 stars 2 forks source link

[WIP] - Fix location accessor #16

Open cekk opened 5 years ago

cekk commented 5 years ago

Location accessor for events didn't return the default "location" field value, if set.

Now the accessor looks for venue field, and if not set, looks into the default location field.

I've also added a test for this feature and setup travis conf.

cekk commented 5 years ago

@thet i've found two problems:

These two problems are related to p.a.vocabularies. The first one happens only with newer p.a.vocabulary and restapi because i think that something has changed in CatalogVocabulary.

Are these changes ok for you?

cekk commented 5 years ago

Another thing: i've made an upgrade-step to fix old fields, but it doesn't show up in products control panel (maybe because there are different profiles).

From portal_setup everything works well

cekk commented 4 years ago

@thet any news about this pr?