Community
Participate
Working Groups
Build ID: TM 3.2rc2 on Linux-GTK-RHEL-4 RSEFileStoreTest#testDeleteSpecialCases() runs into an NPE in line 178, because RSEFileStore#openOutputStream() violates the API contract by returning null.
Created attachment 169969 [details] patch v1 Patch fixing the issue. The problem was, that for a broken symbolic link, "exists()" is false, but neither "isFile()" nor "isDirectory()" is true. As a result, the EFS code ran into a case where it returned null (marked by a TODO comment). Correct behavior is throwing an error if the output stream is opened on a folder, but try creating the stream in all other cases. Also, never return null but throw a "cannot write" core exception in unexpected cases.
Dave can you review this please? I want to get rid of known unittest errors for the TM 3.2 release.
(In reply to comment #2) > Dave can you review this please? I want to get rid of known unittest errors for > the TM 3.2 release. I'm hitting a conflict when I try to apply the patch with the latest from HEAD.
Created attachment 170069 [details] patch v2 Updated patch - this time it should apply cleanly. Please review, thanks!
Released > I20100526 - thanks for the review.