Custom Query (2152 matches)
Results (904 - 906 of 2152)
Ticket | Resolution | Summary | Owner | Reporter |
---|---|---|---|---|
#1373 | fixed | home page view does not react to logging in / out | shevski | |
Description |
Either: thedatahub.org does not display 'add a dataset' top navigation link or the 'create dataset' main central link to logged in user - instead showing 'sign up' link in the central box. It does however display the 'my account' and 'logout' link in the top right correctly. Navigating to another part of the site (e.g. search or about or my account) does bring the 'add a dataset' navigation link back and the functionality works. Works fine on test.ckan.net so only on thedatahub. Not obviously a caching problem, since I did try clearing cache. OR: it displays as if you're logged in even when you log out. The links doesn't work and prompt you to log in though. |
|||
#1374 | fixed | Can't switch to English if default is non-English | dread | dread |
Description |
e.g. cz.ckan.net defaults to Czech (config option lang=cs_CZ) but it fails when you try to switch to English. |
|||
#1375 | fixed | Define new package id before sending it to the IPackageController plugins | amercader | amercader |
Description |
When creating a package, the package_create logic function sends the newly created package object to all plugins implementing the IPackageController interface https://bitbucket.org/okfn/ckan/src/93194933ea75/ckan/logic/action/create.py#cl-64 At this point, the changes have not yet been commited and the id of the package is not set (It has a default value of make_uuid, which is set when commited). For this reason, plugins have no way of knowing the package id. E.g. the spatial query plugin needs to know this id to link the package extent to the actual package. One possible solution would be to set the package id in the data dict received by package_create (if it's not defined): from ckan.model.types import make_uuid if not 'id' in data or not data['id']: data['id'] = make_uuid() |