[Cubicweb] cwuri and eid
Dimitri Papadopoulos Orfanos
dimitri.papadopoulos at cea.fr
Fri Dec 20 14:43:41 CET 2013
This is an issue with dataimport.py that has kept the pre-3.10.9 'cwuri'
def gen_cwuri(self, entity):
return u'%seid/%s' % (self.baseurl, entity.eid)
I will be opening a ticket and pushing a patch.
Le 20/12/2013 12:20, Dimitri Papadopoulos Orfanos a écrit :
> Dear all,
> On our CubicWeb sites, the cwuri of all entities is initialized to:
> The problem is that the above URI does not seem to be working. Instead
> the following URI is served properly by the CubicWeb server:
> For example the 'cwuri' of this entity:
> Unfortunately the above URI is not valid. This URI is valid:
> Any clue why 'cwuri' is initialized this way?
> I can't reproduce the problem on Logilab sites. Example:
> Its 'cwuri' is a valid URI without '/eid':
> All our sites have been directly created with the latest CubicWeb
> packages for Ubuntu, currently 3.17.9-1, so this is probably not an
> issue of migration from prior versions.
> Any clue?
F-91191 Gif-sur-Yvette cedex, France
More information about the Cubicweb