You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pivot.apache.org by "Roger Whitcomb (Updated) (JIRA)" <ji...@apache.org> on 2011/12/03 02:53:40 UTC

[jira] [Updated] (PIVOT-825) Specifying a full path in a Save As FileBrowserSheet gives IllegalArgumentException when you try to close

     [ https://issues.apache.org/jira/browse/PIVOT-825?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Roger Whitcomb updated PIVOT-825:
---------------------------------

    Attachment: overwrite.patch

File "overwrite.patch" is the fix needed to properly call the "previewSheetClose" method after the selected file is set.
                
> Specifying a full path in a Save As FileBrowserSheet gives IllegalArgumentException when you try to close
> ---------------------------------------------------------------------------------------------------------
>
>                 Key: PIVOT-825
>                 URL: https://issues.apache.org/jira/browse/PIVOT-825
>             Project: Pivot
>          Issue Type: Bug
>          Components: wtk-terra
>    Affects Versions: 2.0
>         Environment: Windows XP SP3, JDK 1.6.0_16
>            Reporter: Roger Whitcomb
>            Assignee: Roger Whitcomb
>            Priority: Minor
>              Labels: filebrowser
>             Fix For: 2.0.1
>
>         Attachments: overwrite.patch, path.patch
>
>   Original Estimate: 4h
>  Remaining Estimate: 4h
>
> This is the (partial) stack trace:
> java.lang.IllegalArgumentException
>         at org.apache.pivot.wtk.FileBrowserSheet.setSelectedFiles(FileBrowserSheet.java:217)
>         at org.apache.pivot.wtk.skin.terra.TerraFileBrowserSheetSkin.previewSheetClose(TerraFileBrowserSheetSkin.java:289)
>         at org.apache.pivot.wtk.Sheet$SheetStateListenerList.previewSheetClose(Sheet.java:34)
>         at org.apache.pivot.wtk.Sheet.close(Sheet.java:118)
>         at org.apache.pivot.wtk.skin.terra.TerraSheetSkin$4.transitionCompleted(TerraSheetSkin.java:669)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira