[TYPO3-typo3org] Loss of dependencies and constraints in TER

Daniel Brüßler info at -remove-patchworking.de
Sat Jul 7 19:47:50 CEST 2007


Hello Elmar,

all right. So the EM uses the new syntax for uploading. When there are
two dependencies the index is 0 and 1, isn't it?

$extensionData[technicalData][dependencies][0][kind] = depends
$extensionData[technicalData][dependencies][0][extensionKey] = lib
$extensionData[technicalData][dependencies][0][versionRange] = 0.0.21-0.0.0
$extensionData[technicalData][dependencies][1][kind] = depends
$extensionData[technicalData][dependencies][1][extensionKey] =
static_info_tables
$extensionData[technicalData][dependencies][1][versionRange] = 2.0.4-

++--------

Maybe the TER just supports the old syntax with the key "dependencies".

++--------

I found some entries about it with Google "TER dependencies
site:http://bugs.typo3.org".

I think/hope all that is just one problem.
0004107: Dependencies get lost in downloadable *.t3x file
0003014: ext_emconf.php looses dependencies and conflicts
0002954: EM doesn't respect dependencies if no version number
0002674: Dependencies not shown and not checked
0000809: EM: Updating an extension with changed dependencies
0005338: Extensions with dependencies - datatransfer did not
0003898: Add Dependencies
0005873: Dependencies on tt_product are not enforced
0005421: Problem ignoring extension constraints
0002950: Unable to install a .t3x on "Dependency Error"
0005806: RealURL missing requirement in listed dependencies
0004190: "Reverse dependencies" listing doesn't seem to work
0003235: missing extension dependency
0001809: Extension Manager: Ordering by "Dependencies" shows empty
0002584: dependency error - no extensions can be installed
0000595: EM: Order by: Dependencies leads to empty extensions list
0002996: Dependency Error
0001417: Error on writing Extension in Kickstarter
0003175: trouble on min and max version requirements checking
0003344: Problem with install of extension from file
0002635: Refuses to work with PHP 5.1.2
0003117: Add support for the new constraints introduced with TER2
0004127: Error when Ext.List-Update: Error in XML parser while
0002974: Unable to deinstall on "Dependency Error"
0000593: Loading extensions repository listing is failing
0002652: EM seems to let me install conflicting extension
0003340: Dependency Error
0000101: remove dependency on static_info_tables for $GLOBALS
0003716: EM doesn't detect double installation during dependency
0003911: Warning on line 1119 in class.tx_kickstarter_sectionbase


Hm. I think the extensions ter_update_check, ter, ter_doc can be
installed locally. On my Ubuntu I have PHP 5.1.2 and TYPO3 4.1.1 and
Eclipse. And Wednesday to Friday there's just an online-conference I
attend. So there should be time to look about that problem.

Do you think there's something missing to find the problem?

kind regards
Daniel Brüßler






Elmar Hinz schrieb:
> Daniel Brüßler wrote:
> 
>> Anothing could be the fact that we had TWO dependency-settings in
>> emconf: the old one $EM_CONF[$_EXTKEY]['dependencies'] and the new one
>> $EM_CONF[$_EXTKEY]['constraints']['depends'] . Could be that robert has
>> skipped the old one in TER ;-)
>>
> 
> Today I come across the problem again. The new setting seems to be part the
> problem. Near line 297 of class.em_terconnection.php I find this:
> 
> $response = $soap->call('uploadExtension', array('accountData' =>
> $accountData, 'extensionData' => $extensionData, ...
> 
> Obviously some prepared arrays are submitted for upload here. 
> 
> If I debug ($extensionData['technicalData']) dependencies are within the
> array:
> 
> ...
> $extensionData[technicalData][dependencies][0][kind] = depends
> $extensionData[technicalData][dependencies][0][extensionKey] = lib
> $extensionData[technicalData][dependencies][0][versionRange] = 0.0.21-0.0.0
> (I also tried  0.0.21- )
> ...
> 
> But no dependency is displayed in TER after upload. It seems the problem is
> on the side of TER and not in the EM.
> 
> Regards
> 
> Elmar
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 


More information about the TYPO3-team-typo3org mailing list