CoreCommunity ExtensionsDistributionsFeature-RequestsTYPO3 6.2 Projects (+)(Archived Projects)

Bug #55837

Non-existent item shouldn't throw 500 error

Added by Leon de Rijke over 1 year ago. Updated over 1 year ago.

Status:Closed Start date:2014-02-10
Priority:Must have Due date:
Assigned To:- % Done:

0%

Category:-
Target version:-
TYPO3 Version:6.1 Branch:
PHP Version: Complexity:
Has patch:No Is Regression:No

Description

Trying to retrieve a non-existent news item throws a 500 error.

Browse to /index.php?id=2&tx_news_pi1[news]=*11*&tx_news_pi1[controller]=News&tx_news_pi1[action]=detail (assuming that a news item with uid 11 doesn't exist) throws an error:

Exception while property mapping at property path "":Object with identity "11" not found.

Browse to /index.php?id=2&tx_news_pi1[news]=*foo*&tx_news_pi1[controller]=News&tx_news_pi1[action]=detail throws an error:

Exception while property mapping at property path "":The identity property "foo" is no UID.

In both cases the error code is 1297759968 If I disable the Extbase rewrittenPropertMapper (using plugin.tx_news.features.rewrittenPropertyMapper = 0) it correctly throws a 404 error.

Possibly related to issues #38921, #35084 and #42724?

Tested with TYPO3 CMS 6.1.7 and news 2.3.0.


Related issues

duplicates Core - Bug #55861: New PropertyMapper must accept not found arguments Under Review 2014-02-11

History

#1 Updated by Georg Ringer over 1 year ago

I am closing this issue here because this is a problem of the core. See the related issue I created for a full report.

#2 Updated by Georg Ringer over 1 year ago

  • Status changed from New to Closed

Also available in: Atom PDF