KeyError when pasting deleted content

Bug #192085 reported by Sylvain Viollon on 2008-02-15
Affects Status Importance Assigned to Milestone
Sylvain Viollon

Bug Description

1. Create a content, and a folder;

2. Cut the content;

3. Go in folder;

4. Paste the content. This work I don't have any paste button anymore;

5. Go up in the parent folder;

6. I have a paste button, I can click on it this bring back the content in his original position. This is a nice feature;

7. Go back in the folder;

8. Like for 6. I have a paste button and can paste the content, I do it;

9. Go up in the parent folder; I have a paste button;

10. Delete the folder with the content;

11. I always have the paste button, I click on it;

12. I get an KeyError.

In a more generic way, this happens then pasting all deleted and cutted content. Zope 2 doesn't have this problem. If we can't remove the paste button in step 11, at least display a nice error message.

Sylvain Viollon (thefunny) wrote :

The new interface properly handle this case giving back to a user a nice message. In addition to this the interface by default will remove from the clipboard any content that is deleted, and update the clipboard with any content that is renamed, or moved. The message will be only displayed if you miss the invalidation message.

Changed in silva:
assignee: nobody → Sylvain Viollon (thefunny)
importance: Undecided → High
milestone: none → 3.0
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers