Webdav: Filter Mac OS X 'resource forks' Files #54
This commit is contained in:
parent
c2120c9032
commit
3bffe5b8dd
@ -406,7 +406,10 @@ module RedmineDmsf
|
||||
def lock(args)
|
||||
return Conflict unless (parent.projectless_path == '/' || parent_exists?)
|
||||
lock_check(args[:scope])
|
||||
raise DAV4Rack::LockFailure.new("Path does't exist: #{@path}") unless self.exist?
|
||||
unless self.exist?
|
||||
Rails.logger.warn "Path doesn't exist: #{@path}"
|
||||
return super
|
||||
end
|
||||
entity = file? ? file : folder
|
||||
begin
|
||||
if (entity.locked? && entity.locked_for_user?)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user