[ http://mc4j.org/jira/browse/STS-270?page=all ]
Tim Fennell resolved STS-270.
-----------------------------
Resolution: Fixed
This is now fixed. If the File.renameTo() call fails, an attempt is made to
open an output stream to the new file and copy the existing file byte by byte
into the new file.
> FileBean.save fails if save target is on a different file system than FileBean
> ------------------------------------------------------------------------------
>
> Key: STS-270
> URL: http://mc4j.org/jira/browse/STS-270
> Project: Stripes
> Issue Type: Bug
> Reporter: Alec Wysoker
> Assigned To: Tim Fennell
> Fix For: Release 1.4.1
>
>
> FileBean.save uses File.renameTo. On Linux (and possibly elsewhere), if the
> source and target filesystems for File.renameTo are different, File.renameTo
> returns false.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://mc4j.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Stripes-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-development