Custom Query (2152 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (1129 - 1131 of 2152)

Ticket Resolution Summary Owner Reporter
#955 fixed Tidy up tests dread dread

Reported by dread, 3 years ago.

Description
  • Removal of init_db from every setup etc.
  • Get them working
#956 fixed Add a resource group table. kindly kindly

Reported by kindly, 3 years ago.

Description

We need a way to group resources by various different factors. The most important of which is timeseries.

The model will look like

Package <o2m> resource_group <o2m> resource

The use cases to this are outlined in this email. http://lists.okfn.org/pipermail/ckan-discuss/2011-February/000887.html

#960 fixed Support non-ascii character in internal error messages pudo rgrp

Reported by rgrp, 3 years ago.

Description

Just saw an error like the following which looks like it is to do with having a user object with non-ascii characters in it. Either get rid of 'cast' to str type here or do it in a unicode aware way.

Should do this not just here but everywhere we can find in the code base.

Module ckan.controllers.package:302 in edit
<<          am_authz = self.authorizer.am_authorized(c, model.Action.EDIT, pkg)
               if not am_authz:
                   abort(401, str(gettext('User %r not authorized to edit %s') % (c.user, id)))
       
               auth_for_change_state = self.authorizer.am_authorized(c, model.Action.CHANGE_STATE, pkg)
>>  abort(401, str(gettext('User %r not authorized to edit %s') % (c.user, id)))
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 1: ordinal not in range(128)

Estimate

Cost: 1h

Note: See TracQuery for help on using queries.