Custom Query (2152 matches)
Results (1108 - 1110 of 2152)
| Ticket | Resolution | Summary | Owner | Reporter |
|---|---|---|---|---|
| #1662 | wontfix | OpenID not compatible with mounting CKAN at non-root URL | dread | |
| Description |
Mounting CKAN at a non-root URL was made to work properly here: #1659 Unfortunately OpenID doesn't play nicely and would require some work to get working. |
|||
| #899 | fixed | Optimise check_real_change | rgrp | dread |
| Description |
There is no need to re-query the database to detect if there has been a changed as sqlalchemy knows this. It saves about 15 secs in the ckan tests. https://bitbucket.org/kindly/vdm/changeset/0050d023ca4e From David Raznick |
|||
| #1054 | fixed | Ordering of resources | kindly | dread |
| Description |
Changing an old resource and creating a new resource on the end results in the old resource moving to the end in the ordering. This breaks tests:
You can make a ckan test break with this patch: diff -r e6643cf1324c ckan/tests/models/test_resource.py
--- a/ckan/tests/models/test_resource.py Wed Mar 23 13:25:52 2011 +0000
+++ b/ckan/tests/models/test_resource.py Wed Mar 23 19:22:35 2011 +0000
@@ -297,6 +297,8 @@
'url':self.urls[1], 'format':u'OTHER FORMAT',
'description':self.description, 'hash':self.hash,
'id':original_res_ids[2]},
+ { #new
+ 'url':'new'},
]
pkg.update_resources(res_dicts)
model.repo.commit_and_remove()
There seems to be a problem with vdm creating a replacement Resource for the old resource - because it has a duplicate position it is put to the end by the SQLAlchemy ordering_list function. |
|||
