Skip to content
  • Denis Laxalde's avatar
    [hooks] Prevent ckanpublish hooks from being ran upon setting of CKAN... · e9f30ed9b309
    Denis Laxalde authored
    [hooks] Prevent ckanpublish hooks from being ran upon setting of CKAN identifier attributes on dataset/resource
    
    This avoids those hooks to be called "recursively" as this sometimes causes
    unexpected behaviors.
    
    As a result, compute the modification_date before the ckan_resource_id
    attribute is set in tests so that CKAN last_modified attribute still matches
    with this date.
    
    Closes #4869936.
    e9f30ed9b309