Project

General

Profile

Actions

Bug #31214

closed

EM: user-function in extension configuration fails

Added by Xavier Perseguers about 13 years ago. Updated almost 10 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Extension Manager
Target version:
-
Start date:
2011-10-24
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.6
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

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.

Actions #1

Updated by Xavier Perseguers about 13 years ago

  • Priority changed from Should have to Must have

saltedpasswords is affected as well

No, I just was logged out

Actions #2

Updated by Xavier Perseguers about 13 years ago

templavoila works as well, was on an old branch

Actions #3

Updated by Xavier Perseguers about 13 years ago

strange, downloading again cal from TER works for me now, but it still fails when going to Developer Info tab in EM.

Actions #4

Updated by Xavier Perseguers about 13 years ago

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-&gt;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-&gt;route# \/\/ t3lib_extjs_ExtDirectRouter-&gt;processRpc#106 \/\/ call_user_func_array#183 \/\/ tx_em_Connection_ExtDirectServer-&gt;getExtensionDevelopInfo# \/\/ tx_em_Extensions_Details-&gt;extInformationarray#711 \/\/ tx_em_Extensions_Details-&gt;serverExtensionMD5array#671 \/\/ tx_em_Extensions_Details-&gt;makeUploadarray#279 \/\/ tx_em_Install-&gt;makeDetailedExtensionAnalysis#365 \/\/ tx_em_Install-&gt;checkDBupdates#1067 \/\/ t3lib_cache::getDatabaseTableDefinitions#845 \/\/ t3lib_cache_Manager-&gt;getCache#127 \/\/ t3lib_cache_Manager-&gt;createCache#136 \/\/ t3lib_cache_Factory-&gt;create#266 \/\/ t3lib_div::makeInstance#83 \/\/ ReflectionClass-&gt;newInstanceArgs#4863 \/\/ t3lib_cache_backend_AbstractBackend-&gt;__construct# \/\/ t3lib_cache_backend_DbBackend-&gt;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;
...
Actions #5

Updated by Xavier Perseguers about 13 years ago

  • Priority changed from Must have to Should have
Actions #6

Updated by Chris topher about 13 years ago

  • Target version changed from 4.6.0 to 4.6.1
Actions #7

Updated by Chris topher almost 13 years ago

  • Target version changed from 4.6.1 to 4.6.2
Actions #8

Updated by Xavier Perseguers almost 13 years ago

  • Target version deleted (4.6.2)
Actions #9

Updated by Susanne Moog over 10 years ago

  • Status changed from New to Needs Feedback
  • Is Regression set to No

Hi,

is this still relevan in 6.2?

cheers,

susi

Actions #10

Updated by Alexander Opitz almost 10 years ago

  • 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.

Actions

Also available in: Atom PDF