Opened 13 years ago

Closed 12 years ago

#1884 closed enhancement (fixed)

Don't throw exception if param strict is false when deleting a file

Reported by: hubu Owned by: hubu
Priority: low Milestone: 2.4
Component: Server Version: 2.2.0
Severity: trivial Keywords:
Cc: External ID:

Description

If the delete operation failed with error, the method MgFileUtil::DeleteFile(CREFSTRING pathname, bool strict) will throw an MgFileIoException regardless the value of strict. Now we change the behaviour to throw exception when strict is true, otherwise don't throw an exception.

Change History (2)

comment:1 by jng, 12 years ago

Milestone: 2.4

comment:2 by jng, 12 years ago

Resolution: fixed
Status: newclosed

Fixed 2.2gp (r6323), 2.4 (r6834) and trunk (r6835)

Note: See TracTickets for help on using tickets.