Forums / Developer / where can i find the archived version of an object afer delete?

where can i find the archived version of an object afer delete?

Author Message

ZRIBI Anoir

Friday 02 April 2010 8:08:44 am

hi,

when i delete an archived version of an object, i can't find it in the "Trash", it's completly deleted?

thank you.

Robin Muilwijk

Friday 02 April 2010 1:26:52 pm

Hi,

If you read http://ez.no/doc/ez_publish/technical_manual/4_x/concepts_and_basics/content_management/object_versioning and specifically the sentence:

A published object can be removed/deleted from the system (step 3a). When removed, the object's state will be set to "Archived" and thus it will be in the trash.

That would indicate the object is indeed deleted.

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

ZRIBI Anoir

Monday 05 April 2010 3:25:53 am

hi,

first of all thank you for your help :)

i read this article and specifically this sentence "the object's state will be set to "Archived" and thus it will be in the trash" but the trash is empty despite i have archived objects.but it's not a problem, my real prblem is:

I'm working on a site and i have some invalide URLs, i want to delete them (because they make problems in google search), when i edit the object and delete the link,normally in the URL managment ,the link must be deleted automatically.But this isn't the case, the link still in the list :'(

Please have you an idea to resolve this problem?

Nicolas Pastorino

Tuesday 06 April 2010 2:09:08 am

Hello,

I guess you are deleting objects form the administration interface, right ? If so, you should be proposed a "Move to trash" checkbox before confirming removal. If checked, the removed object should be present in the trash after removal.

Ow, which version of eZ Publish are you using ?

Let us know,
Cheers,

--
Nicolas Pastorino
Director Community - eZ
Member of the Community Project Board

eZ Publish Community on twitter: http://twitter.com/ezcommunity

t : http://twitter.com/jeanvoye
G+ : http://plus.tl/jeanvoye

ZRIBI Anoir

Wednesday 07 April 2010 7:20:39 am

hello,

My eZ Publish version is 4.1.3

:)

Nicolas Pastorino

Wednesday 07 April 2010 7:49:40 am

Hi Anoir,

Are you seeing an intermediate screen, right after having clicked the "remove" button. This screen should propose a checkbox reading "Move to trash". If you check mark this, the removed object is actually only placed in trash, which you should wee when visiting /content/trash/.

Could you give us the details of the procedure you are following ?
Cheers,

--
Nicolas Pastorino
Director Community - eZ
Member of the Community Project Board

eZ Publish Community on twitter: http://twitter.com/ezcommunity

t : http://twitter.com/jeanvoye
G+ : http://plus.tl/jeanvoye

ZRIBI Anoir

Friday 09 April 2010 4:13:27 am

Hi Nicolas,

I think that my question isn't clear, so i will explain more.

"the object's state will be set to "Archived" and thus it will be in the trash".

I understand from this sentence that all archived version are in the trash, right?. but when i go to the trash i find not my archived versions objects.

I want to know if the system use archived version or not?

thank you :)

Nicolas Pastorino

Friday 09 April 2010 10:13:10 am

Hello Anoir,

If i understand correctly, you may be confusing the status of a content object, and the status of a content object version. If you take a look there, under "Status", you will see what states a version can have. In the bit of documentation you are quoting above, the state in question is the object's, a different layer. While conditioned by the states of its versions, an object has less available states then a version, and its state is set to "Archived" when place in the trash. This means that you should be able to see all objects, the state of which are "Archived", in the Trash.

And yes, the Archived versions are used by the system to track an object's history.

Hope this clarifies things slightly,
Let us know how we can help you further,
Cheers !

--
Nicolas Pastorino
Director Community - eZ
Member of the Community Project Board

eZ Publish Community on twitter: http://twitter.com/ezcommunity

t : http://twitter.com/jeanvoye
G+ : http://plus.tl/jeanvoye

ZRIBI Anoir

Monday 12 April 2010 2:23:34 am

thank you very much Nicolas, your answer clarifies things.

:)

Nicolas Pastorino

Monday 12 April 2010 2:49:38 am

Hello,

Good to hear :)
You may want to mark the topic as "solved" (clicking the small ticker right at the left of the topic's title above).

Cheers !

--
Nicolas Pastorino
Director Community - eZ
Member of the Community Project Board

eZ Publish Community on twitter: http://twitter.com/ezcommunity

t : http://twitter.com/jeanvoye
G+ : http://plus.tl/jeanvoye

ZRIBI Anoir

Monday 12 April 2010 3:56:02 am

Hello Nicolas,

i mark it as solved but the ticker does not changed to green in this page: http://share.ez.no/forums/developer.

Regards.

ZRIBI Anoir

Monday 12 April 2010 3:57:48 am

Now it's OK. ;)

eZ debug

Timing: Jan 31 2025 00:25:16
Script start
Timing: Jan 31 2025 00:25:16
Module start 'content'
Timing: Jan 31 2025 00:25:16
Module end 'content'
Timing: Jan 31 2025 00:25:16
Script end

Main resources:

Total runtime0.2589 sec
Peak memory usage8,192.0000 KB
Database Queries141

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0072 588.1875370.2578
Module start 'content' 0.00720.0339 958.44531,018.2188
Module end 'content' 0.04110.2176 1,976.66413,905.5234
Script end 0.2588  5,882.1875 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00481.8565200.0002
Check MTime0.00140.5439200.0001
Mysql Total
Database connection0.00080.321410.0008
Mysqli_queries0.102539.59551410.0007
Looping result0.00130.49161390.0000
Template Total0.217383.910.2173
Template load0.00080.306310.0008
Template processing0.216583.616210.2165
Override
Cache load0.00060.220210.0006
Sytem overhead
Fetch class attribute can translate value0.00220.842010.0022
XML
Image XML parsing0.00040.144910.0004
General
dbfile0.041115.8659200.0021
String conversion0.00000.001930.0000
Note: percentages do not add up to 100% because some accumulators overlap

CSS/JS files loaded with "ezjscPacker" during request:

CacheTypePacklevelSourceFiles
CSS0extension/community/design/community/stylesheets/ext/jquery.autocomplete.css
extension/community_design/design/suncana/stylesheets/scrollbars.css
extension/community_design/design/suncana/stylesheets/tabs.css
extension/community_design/design/suncana/stylesheets/roadmap.css
extension/community_design/design/suncana/stylesheets/content.css
extension/community_design/design/suncana/stylesheets/star-rating.css
extension/community_design/design/suncana/stylesheets/syntax_and_custom_tags.css
extension/community_design/design/suncana/stylesheets/buttons.css
extension/community_design/design/suncana/stylesheets/tweetbox.css
extension/community_design/design/suncana/stylesheets/jquery.fancybox-1.3.4.css
extension/bcsmoothgallery/design/standard/stylesheets/magnific-popup.css
extension/sevenx/design/simple/stylesheets/star_rating.css
extension/sevenx/design/simple/stylesheets/libs/fontawesome/css/all.min.css
extension/sevenx/design/simple/stylesheets/main.v02.css
extension/sevenx/design/simple/stylesheets/main.v02.res.css
JS0extension/ezjscore/design/standard/lib/yui/3.17.2/build/yui/yui-min.js
extension/ezjscore/design/standard/javascript/jquery-3.7.0.min.js
extension/community_design/design/suncana/javascript/jquery.ui.core.min.js
extension/community_design/design/suncana/javascript/jquery.ui.widget.min.js
extension/community_design/design/suncana/javascript/jquery.easing.1.3.js
extension/community_design/design/suncana/javascript/jquery.ui.tabs.js
extension/community_design/design/suncana/javascript/jquery.hoverIntent.min.js
extension/community_design/design/suncana/javascript/jquery.popmenu.js
extension/community_design/design/suncana/javascript/jScrollPane.js
extension/community_design/design/suncana/javascript/jquery.mousewheel.js
extension/community_design/design/suncana/javascript/jquery.cycle.all.js
extension/sevenx/design/simple/javascript/jquery.scrollTo.js
extension/community_design/design/suncana/javascript/jquery.cookie.js
extension/community_design/design/suncana/javascript/ezstarrating_jquery.js
extension/community_design/design/suncana/javascript/jquery.initboxes.js
extension/community_design/design/suncana/javascript/app.js
extension/community_design/design/suncana/javascript/twitterwidget.js
extension/community_design/design/suncana/javascript/community.js
extension/community_design/design/suncana/javascript/roadmap.js
extension/community_design/design/suncana/javascript/ez.js
extension/community_design/design/suncana/javascript/ezshareevents.js
extension/sevenx/design/simple/javascript/main.js

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