Get property for missing disk files raises an error in Windows
This commit is contained in:
parent
a8e8e1b3e5
commit
1fddd2a3f5
@ -538,7 +538,7 @@ module RedmineDmsf
|
||||
def get_property(element)
|
||||
raise NotImplemented if (element[:ns_href] != 'DAV:')
|
||||
unless folder
|
||||
return NotFound unless (file && file.last_revision && File.exist?(file.last_revision.disk_file))
|
||||
return NotFound unless (file && file.last_revision)
|
||||
end
|
||||
case element[:name]
|
||||
when 'supportedlock'
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user