'Date created' missing from articles when creating packages

Author Message

Lamari Lamarsen

Friday 25 January 2008 8:19:55 am

Hello!

I created a content object package from an eZ 3.5.0 installation as described in the technical_manual http://ez.no/doc/ez_publish/technical_manual/3_9/features/packages/creating_new_packages with the difference that I excluded the 'Include class definitions'.
There is a folder with 3 articles:
a - from 2005
b - from 2006
c - from 2007

When I import the package to a 3.9.3 installation, articles are not having the 'real' date of creation, but the date when I export/import:
a, b, c - are now from 2008

This makes it difficult to: 1) sort articles 'by published', because all of the articles have the same date and 2) display the original date of publication/creation.

How can I solve this problem?

Ɓukasz Serwatka

Saturday 26 January 2008 1:08:16 pm

Hi,

Your problem can be solved on couple different ways. Depends how many contentobject do you want to import. If only 3, then you can update published column in ezcontentobject table in DB manually. If you have many contentobjects then additional hacking is require ;)

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

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 31 2025 04:28:11
Script start
Timing: Jan 31 2025 04:28:11
Module start 'layout'
Timing: Jan 31 2025 04:28:11
Module start 'content'
Timing: Jan 31 2025 04:28:11
Module end 'content'
Timing: Jan 31 2025 04:28:11
Script end

Main resources:

Total runtime0.0198 sec
Peak memory usage2,048.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00010.0075 588.3828151.2422
Module start 'layout' 0.00750.0034 739.625036.7109
Module start 'content' 0.01090.0070 776.335990.1875
Module end 'content' 0.01790.0018 866.523429.9922
Script end 0.0197  896.5156 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002713.6634140.0002
Check MTime0.00115.6135140.0001
Mysql Total
Database connection0.00105.000510.0010
Mysqli_queries0.003819.039230.0013
Looping result0.00000.112210.0000
Template Total0.00136.710.0013
Template load0.00105.193610.0010
Template processing0.00031.467310.0003
Override
Cache load0.00073.380010.0007
General
dbfile0.002311.538480.0003
String conversion0.00000.049540.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_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