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. ;)

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 30 2025 19:33:11
Script start
Timing: Jan 30 2025 19:33:11
Module start 'layout'
Timing: Jan 30 2025 19:33:11
Module start 'content'
Timing: Jan 30 2025 19:33:12
Module end 'content'
Timing: Jan 30 2025 19:33:12
Script end

Main resources:

Total runtime1.3125 sec
Peak memory usage8,192.0000 KB
Database Queries87

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0047 588.3906151.2422
Module start 'layout' 0.00470.0036 739.6328220.7500
Module start 'content' 0.00831.3032 960.38284,613.4688
Module end 'content' 1.31150.0009 5,573.851627.7813
Script end 1.3124  5,601.6328 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00370.2846160.0002
Check MTime0.00140.1055160.0001
Mysql Total
Database connection0.00060.048210.0006
Mysqli_queries1.181990.0531870.0136
Looping result0.00080.0625850.0000
Template Total1.245294.920.6226
Template load0.00290.222920.0015
Template processing1.242394.651020.6211
Template load and register function0.00130.098510.0013
states
state_id_array0.00230.178710.0023
state_identifier_array0.00250.189420.0012
Override
Cache load0.00270.2040810.0000
Sytem overhead
Fetch class attribute can translate value0.00140.107130.0005
Fetch class attribute name0.00230.1725150.0002
XML
Image XML parsing0.00430.331330.0014
class_abstraction
Instantiating content class attribute0.00010.0045240.0000
General
dbfile0.00540.4081290.0002
String conversion0.00000.000640.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
12content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
12content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
21content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
3content/datatype/view/ezxmltags/emphasize.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/emphasize.tplEdit templateOverride template
4content/datatype/view/ezxmltags/strong.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/strong.tplEdit templateOverride template
4content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1content/datatype/view/ezxmltags/link.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/link.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 59
 Number of unique templates used: 9

Time used to render debug report: 0.0001 secs