Bug #58517

Integer arent allowed as object identifier in routes

Added by Frederik Vosberg over 7 years ago. Updated over 6 years ago.

Status:
Resolved
Priority:
Should have
Category:
MVC - Routing
Target version:
-
Start date:
2014-05-05
Due date:
% Done:

100%

Estimated time:
PHP Version:
Has patch:
No
Complexity:

Description

I want to have an integer as persistence object identifier, so I implemented it this way:

    /**
     * @var int
     * @ORM\Id
     * @ORM\GeneratedValue
     * @Flow\Identity
     */
    protected $id;

But flow raised an exception while it tries to resolve the route for the show action for my object. I think the following part of the core is the problem, isnt it?

I attached my patch.


Files


Related issues

Related to TYPO3.Flow - Bug #48887: Support numeric identifiers in IdentityRoutePartResolvedBastian Waidelich2013-06-05

Actions

Also available in: Atom PDF