Skip to content
This repository has been archived by the owner on Feb 11, 2020. It is now read-only.

"Save As..." button opens a "Open" dialog #3

Open
andham opened this issue May 25, 2012 · 1 comment
Open

"Save As..." button opens a "Open" dialog #3

andham opened this issue May 25, 2012 · 1 comment

Comments

@andham
Copy link

andham commented May 25, 2012

When browsing a P2 repo and clicking the Save As... button, a dialog pop-ups with the header "Open". And there is no way of specifying a name of what to save.
When clicking Cancel in that dialog I get an error message saying a NPE occurred.

This is on Mac OS 10.7.4 with Apple Java 1.6.0_31. I started the P2 Browser through web start (the link in the GitHub readme).

@ifedorenko
Copy link
Owner

This is currently messed up. There are two save-as actions, one invoked from right-click menu and another with the button.

The right-click action lets you save save selected IUs and their corresponding artifacts to a local "simple" p2 repository. This action is likely broken when current selection includes repository nodes.

The button action writes selected repository metadata to a local directory. IIRC, the target directory has to be empty. Again, the action will likely misbehave if current selection is not a single repository node.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants