Custom Query (2152 matches)
      
      
  
    Results (1252 - 1254 of 2152)
  
  
  
    
    
      | 
        Ticket
       | 
        Resolution
       | 
        Summary
       | 
        Owner
       | 
        Reporter
       | 
    
    
      
              
                    | #1324 | 
                    
                      fixed
                     | 
                    
                      Add extra fields to resource table
                     | 
                    
                      kindly
                     | 
                    
                      kindly
                     | 
              
                
                  | 
                     Reported by kindly,
                      3 years ago. 
                   | 
                
                  
                    | Description | 
                    
                       
add extra fields to resource as outlined in
 
http://wiki.ckan.net/Domain_Model/Resource
 
Specifically (all unicode strings except for those noted):
 
- name: a name for this resource (could be used in a ckan url)
 - type: the type of the resource. One of: file | api | service | listing
 - mimetype: standard mimetype (e.g. for zipped csv would be application/zip)
 - mimetype_inner: mimetype of innermost object (so for example would be text/csv)
 - size: [integer] size of the resource (content length) in bytes. Usually only relevant for resources of type file.
 - last_modified: [datetime] the date when this resource's data was last modified (NB: not the date when the metadata was modified).
 - cache_url: url for cache of object in ckan storage
 - cache_last_updated: [datetime] timestamp when cached version was created
 - webstore_url: 
 - webstore_last_updated: [datetime] timestamp when webstore was last updated
  
                     | 
                  
              
                    | #1335 | 
                    
                      fixed
                     | 
                    
                      Action API - basic
                     | 
                    
                      kindly
                     | 
                    
                      dread
                     | 
              
                
                  | 
                     Reported by dread,
                      3 years ago. 
                   | 
                
                  
                    | Description | 
                    
                       
Provide an API to the logic layer at /api/action.
 
                     | 
                  
              
                    | #1339 | 
                    
                      fixed
                     | 
                    
                      Issues / question re navl and data conversion
                     | 
                    
                      kindly
                     | 
                    
                      rgrp
                     | 
              
                
                  | 
                     Reported by rgrp,
                      3 years ago. 
                   | 
                
                  
                    | Description | 
                    
                       
I ran into a bug with the size field on resources.
 
- It would not accept an empty value from form (IMO this clearly equates to null/None)
 - This could be fixed via using ignore_empty instead of ignore_missing
 - However using this means there was no way to empty the field (e.g. i may just want to set the size field back to null not just change to another value)
 - similar issues could arise around other fields (such as last_modified ...)
 
 
To solve this (cset:58acdcfe6d4e) i created an int_converter temporarily in logic/schema.py (this is almost certainly the wrong place). But I think it raises a bigger issue about the conversion layer and how it works.
 
                     | 
                  
      
  
  
 
      
      
      Note: See 
TracQuery
        for help on using queries.