Forums / Setup & design / Restore from trash: "Restore at original location (unavailable)"

Restore from trash: "Restore at original location (unavailable)"

Author Message

Leif Arne Storset

Monday 08 February 2010 2:37:27 pm

My users were complaining that they could not restore objects from the trash, receiving the greyed-out selection "Restore at original location (unavailable)" when they tried. Turned out it was because I had forgotten to give them permission to 'content/create'. (This may sound strange, but the content in question was very old, much older than the current permission policy. It was still heavily modified but the class never again created.)

So, if you want your users to be able to restore from the trash, make sure they can create objects of all relevant classes.

Leif Arne Storset

Robin Muilwijk

Tuesday 09 February 2010 2:29:53 am

Thanks for sharing this information.

Regards, Robin

Board member, eZ Publish Community Project Board - Member of the share.ez.no team - Key values: Openness and Innovation.

LinkedIn: http://nl.linkedin.com/in/robinmuilwijk // Twitter: http://twitter.com/i_robin // Skype: robin.muilwijk

eZ debug

Timing: Jan 29 2025 13:39:53
Script start
Timing: Jan 29 2025 13:39:53
Module start 'content'
Timing: Jan 29 2025 13:39:53
Module end 'content'
Timing: Jan 29 2025 13:39:53
Script end

Main resources:

Total runtime0.0423 sec
Peak memory usage2,048.0000 KB
Database Queries4

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0057 588.1875180.7969
Module start 'content' 0.00570.0147 768.984493.8828
Module end 'content' 0.02030.0219 862.867270.7031
Script end 0.0422  933.5703 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00235.4687120.0002
Check MTime0.00102.2823120.0001
Mysql Total
Database connection0.00061.441810.0006
Mysqli_queries0.00245.735840.0006
Looping result0.00000.047320.0000
Template Total0.021450.510.0214
Template load0.00082.007210.0008
Template processing0.020548.444010.0205
Override
Cache load0.00061.378210.0006
General
dbfile0.013531.9619100.0014
String conversion0.00000.013530.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs