Forums / Developer / EnhancedObjectRelation and 3.8

EnhancedObjectRelation and 3.8

Author Message

J-A Eberhard

Tuesday 16 May 2006 2:13:39 pm

Hi,

I try to use the EnhancedObjectRelation extension with a multilingual portal moved from 3.6.6. to 3.8.0

If I used the packaged extension, when I click on the admin interface to create the related object, I show me the correct imput fields but I have the followings in the debug Output

object(ezcontentobjectattribute)(29) {
  ["PersistentDataDirty"]=>
  bool(false)
  ["HTTPValue"]=>
  NULL
  ["Content"]=>
  NULL
  ["DisplayInfo"]=>
  NULL
  ["IsValid"]=>
  NULL
  ["ContentClassAttributeID"]=>
  string(3) "485"
  ["ValidationError"]=>
  NULL
  ["ValidationLog"]=>
  NULL
  ["ContentClassAttributeIdentifier"]=>
  string(8) "relation"
  ["ContentClassAttributeCanTranslate"]=>
  int(1)
  ["ContentClassAttributeName"]=>
  string(8) "Relation"
  ["ContentClassAttributeIsInformationCollector"]=>
  NULL
  ["ContentClassAttributeIsRequired"]=>
  NULL
  ["InputParameters"]=>
  &array(2) {
    ["unvalidated-attributes"]=>
    &array(0) {
    }
    ["validated-attributes"]=>
    &array(0) {
    }
  }
  ["HasValidationError"]=>
  bool(false)
  ["DataTypeCustom"]=>
  NULL
  ["ID"]=>
  string(5) "12718"
  ["ContentObjectID"]=>
  string(4) "1052"
  ["Version"]=>
  string(1) "1"
  ["LanguageCode"]=>
  string(6) "fre-FR"
  ["LanguageID"]=>
  string(1) "2"
  ["AttributeOriginalID"]=>
  string(1) "0"
  ["SortKeyInt"]=>
  string(1) "0"
  ["SortKeyString"]=>
  string(0) ""
  ["DataTypeString"]=>
  string(24) "ezenhancedobjectrelation"
  ["DataText"]=>
  string(0) ""
  ["DataInt"]=>
  NULL
  ["DataFloat"]=>
  string(1) "0"
  ["ValidationParameters"]=>
  &array(2) {
    ["prefix-name"]=>
    bool(false)
    ["skip-isRequired"]=>
    bool(true)
  }

If I get the latest version from svn I have no error but I cannot input the new related object has it does show only one field (the related object is a standard eZ article)

I have been able to reproduce such problem on a fresh 3.8 install (with database dump) on another server (debian etch). Both trouble, the error with the 'packaged' version and the 'only one field' with the svn.

Thanks for your help

Jacques-André

Open Source Solution Provider
Open-Net Ltd Switzerland
http://www.open-net.ch

Xavier Dutoit

Wednesday 17 May 2006 3:37:42 am

Hi,

Out of curiousity, did you put the tile on your article in the "one field" and saved it ?

Does it work ?

For most of the cases, the "put only the name" option was enough and we have to figure out how to be able to use both options (the complete form when creating a new object or just the title). That's on our todo list, still have a few things to sort out before being able to have both.

X+

http://www.sydesy.com

J-A Eberhard

Wednesday 17 May 2006 4:23:13 am

I typed a name in the 'only field' and it created an article at the right location (with the typed word as the object name) and with the correct relation and no error messages.
So, I should say it works but ... how could I have it giving the full 'create an object' template???

Open Source Solution Provider
Open-Net Ltd Switzerland
http://www.open-net.ch