Enhance Object Relation Datatype

Author Message

Erik Weinmaster

Tuesday 12 October 2010 6:44:39 am

I have an idea for the 'Object Relation' datatype. There needs to be the limiting classes array when a user is selecting the object to relate. The fact that 'Object Relations' datatype does allow for a limiting class array is great, but I find its also needed in the 'Object Relation' datatype as well. I've already modified 'Object Relation' to incorporate this, which is mostly just a hybrid of 'Object Relations' and 'Object Relation'. If anyone from the eZ Publish Development Community wants this, I'd be happy to share.

Gaetano Giunta

Tuesday 12 October 2010 2:30:30 pm

You can probably find in the issue tracker more than one request for this kind of functionality. A good place to post your patches imho.

Btw, I think that the object-relation should plain go away, and the "object-relations" should instead gain a "max-allowed-objects" value to be set per-class, so that it can do single-relations too.

Principal Consultant International Business
Member of the Community Project Board

Heath

Tuesday 12 October 2010 4:09:38 pm

Hello,

Here is a related issue with comments discussing the details

of deprecating the object relation datatype in favor for the

object relation list datatype, http://issues.ez.no/17022

Cheers,

Heath

Brookins Consulting | http://brookinsconsulting.com/
Certified | http://auth.ez.no/certification/verify/380350
Solutions | http://projects.ez.no/users/community/brookins_consulting
eZpedia community documentation project | http://ezpedia.org

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

Main resources:

Total runtime0.0248 sec
Peak memory usage8,192.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0057 588.1406151.2109
Module start 'layout' 0.00570.0040 739.3516220.7109
Module start 'content' 0.00970.0136 960.0625997.7266
Module end 'content' 0.02330.0015 1,957.789133.9766
Script end 0.0247  1,991.7656 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002811.3089140.0002
Check MTime0.00114.5436140.0001
Mysql Total
Database connection0.00083.204210.0008
Mysqli_queries0.002811.430130.0009
Looping result0.00000.052910.0000
Template Total0.00114.410.0011
Template load0.00093.522710.0009
Template processing0.00020.851610.0002
Override
Cache load0.00062.485410.0006
General
dbfile0.00031.060480.0000
String conversion0.00000.030840.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