Custom Query (2152 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (1546 - 1548 of 2152)

Ticket Resolution Summary Owner Reporter
#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

#1365 fixed Support old search formats dread dread

Reported by dread, 3 years ago.

Description

Lots of things rely on the old (i.e. pre-SOLR) search param formats, including ckanclient / DGU. Need a translation layer to convert these params (in api v1&2) to SOLR syntax.

This functionality was broken by the changes in #1277 which went into 1.5a

#876 fixed Support sqlite as a database backend for CKAN sebbacon rgrp

Reported by rgrp, 3 years ago.

Description

Among other things this will allow the tests to run much quicker.

Note: See TracQuery for help on using queries.