Bug #34726

TerFe2 Exceptions fill sys_log

Added by Tolleiv Nietsch about 1 year ago. Updated 11 months ago.

Status:Resolved Start date:2012-03-10
Priority:Must have Due date:
Assignee:- % Done:

100%

Category:[FOR] TER
Target version:Public Beta
Votes: 0

Description

The following error messages fill our sys_log:

Core: Exception handler (WEB): Uncaught TYPO3 Exception: #1251730701: The value must be of type "Tx_TerFe2_Domain_Model_Extension", but was of type "NULL". | Tx_Extbase_MVC_Exception_InvalidArgumentValue thrown in file /var/www/vhosts/typo3.org/home/site/typo3_src-4.5/typo3/sysext/extbase/Classes/MVC/Controller/Argument.php in line 389
------
Core: Exception handler (WEB): Uncaught TYPO3 Exception: #1316542246: Invalid version request | Exception thrown in file /var/www/vhosts/typo3.org/home/site/htdocs/typo3conf/ext/ter_fe2/Classes/Controller/ExtensionController.php in line 258
-------
Not sure what the related request is, but this should be resolved before the launch

History

Updated by Tolleiv Nietsch about 1 year ago

  • Category set to [FOR] TER

Updated by HDNET about 1 year ago

Hey guys,

we can't reproduce the problem on our current development system.
Please give us more information about the exception.

Controller? Action? URL? Plugin? click proccess....

Thanks,
HDNET (Tim)

Updated by HDNET about 1 year ago

  • Status changed from New to Needs Feedback

Updated by Joern Bock about 1 year ago

  • Assignee set to Tolleiv Nietsch

Updated by Tolleiv Nietsch about 1 year ago

  • Assignee deleted (Tolleiv Nietsch)

That's all we have ... no URL or anything associated.

Updated by Steffen Gebert about 1 year ago

Maybe look up in the accesslog by matching the timestamp of the request?

Updated by Joern Bock about 1 year ago

  • Target version changed from 1197 to Public Beta

Updated by Kai Vogel about 1 year ago

The "Invalid version request" error is thrown if someone will download an extension version which does not exist in version repository. Maybe we can disable the error and redirect to list page with a flash message.

And the "The value must be of type..." error can occur for example in the showAction of the ExtensionController if the parameter "$extension" is missing or NULL.

Updated by Thomas Loeffler 12 months ago

Added redirect instead of exception if version not found. Rev. 62890

Updated by Thomas Loeffler 12 months ago

  • Status changed from Needs Feedback to Accepted
  • % Done changed from 0 to 50

Updated by Helmut Hummel 12 months ago

  • Status changed from Accepted to Needs Feedback

Thomas Loeffler wrote:

Added redirect instead of exception if version not found. Rev. 62890

Anything else needs to be done here?

Updated by Thomas Loeffler 12 months ago

I don't know how to fix this problem:

And the "The value must be of type..." error can occur for example in the showAction of the ExtensionController if the parameter "$extension" is missing or NULL.

Is this entry still in the sys_log?

Updated by Thomas Loeffler 11 months ago

Are there still many log entries with that?

Updated by Chris topher 11 months ago

Hi Thomas,

the message from ExtensionController.php in line 258 does not show up anymore.

But this error still is there:

Core: Exception handler (WEB): Uncaught TYPO3 Exception: #1251730701: The value must be of type "Tx_TerFe2_Domain_Model_Extension", but was of type "NULL". | Tx_Extbase_MVC_Exception_InvalidArgumentValue thrown in file /var/www/vhosts/typo3.org/home/site/typo3_src-4.5/typo3/sysext/extbase/Classes/MVC/Controller/Argument.php in line 389

Updated by Thomas Loeffler 11 months ago

  • Status changed from Needs Feedback to Resolved
  • % Done changed from 50 to 100

No more errors of ter_fe2 in the logs

Also available in: Atom PDF