Bug #31214
closed
EM: user-function in extension configuration fails
Added by Xavier Perseguers about 13 years ago.
Updated almost 10 years ago.
Category:
Extension Manager
Description
A few extensions come with user functions as part of their constant definitions in ext_conf_template.txt. Examples:
- templavoila (wizard for static DS)
- cal (flash message)
- image_autoresize (custom wizard to configure the extension)
Definition looks like that:
#cat=basic; type=user[EXT:image_autoresize/classes/class.tx_imageautoresize_configuration.php:&tx_imageautoresize_configuration->display]; label=
rules =
This is not compatible with the ExtJS-based EM and throws a JSON exception (with templavoila and cal) or a PHP exception (with image_autoresize) catched before the JSON exception as well.
- Priority changed from Should have to Must have
saltedpasswords is affected as well
No, I just was logged out
templavoila works as well, was on an old branch
strange, downloading again cal from TER works for me now, but it still fails when going to Developer Info tab in EM.
Analyzed the error for cal and this is related to deprecated method calls:
<script type="text/javascript">
/*<![CDATA[*/
(function debug() {
var debugMessage = " \<table class=\"typo3-debug\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" bgcolor=\"white\" style=\"border:0px; margin-top:3px; margin-bottom:3px;\"> \<tr> \<td style=\"background-color:#bbbbbb; font-family: verdana,arial; font-weight: bold; font-size: 10px;\">24.10.2011 13:54: \<\/td> \<\/tr> \<tr> \<td> \<strong>|t3lib_cache_backend_DbBackend->setCacheTable() - since TYPO3 4.6: The backend calculates the table name internally, this method does nothing anymore - t3lib_div::callUserFunction#73 \/\/ call_user_func_array#4677 \/\/ t3lib_extjs_ExtDirectRouter->route# \/\/ t3lib_extjs_ExtDirectRouter->processRpc#106 \/\/ call_user_func_array#183 \/\/ tx_em_Connection_ExtDirectServer->getExtensionDevelopInfo# \/\/ tx_em_Extensions_Details->extInformationarray#711 \/\/ tx_em_Extensions_Details->serverExtensionMD5array#671 \/\/ tx_em_Extensions_Details->makeUploadarray#279 \/\/ tx_em_Install->makeDetailedExtensionAnalysis#365 \/\/ tx_em_Install->checkDBupdates#1067 \/\/ t3lib_cache::getDatabaseTableDefinitions#845 \/\/ t3lib_cache_Manager->getCache#127 \/\/ t3lib_cache_Manager->createCache#136 \/\/ t3lib_cache_Factory->create#266 \/\/ t3lib_div::makeInstance#83 \/\/ ReflectionClass->newInstanceArgs#4863 \/\/ t3lib_cache_backend_AbstractBackend->__construct# \/\/ t3lib_cache_backend_DbBackend->setCacheTable#84 \/\/ t3lib_div::logDeprecatedFunction#379 (3lib\/cache\/backend\/class.t3lib_cache_backend_dbbackend.php#378)|\<\/strong> \<\/td> \<\/tr> \<\/table> ";
var header = "24.10.2011 13:54: ";
var group = "Deprecation Log";
if (typeof Ext !== "object" && (top && typeof top.Ext !== "object")) {
document.write(debugMessage);
return;
...
- Priority changed from Must have to Should have
- Target version changed from 4.6.0 to 4.6.1
- Target version changed from 4.6.1 to 4.6.2
- Target version deleted (
4.6.2)
- Status changed from New to Needs Feedback
- Is Regression set to No
Hi,
is this still relevan in 6.2?
cheers,
susi
- Status changed from Needs Feedback to Closed
No feedback within the last 90 days => closing this issue.
If you think that this is the wrong decision or experience this issue again, then please write to the mailing list typo3.teams.bugs with issue number and an explanation or open a new ticket and add a relation to this ticket number.
Also available in: Atom
PDF