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
#1

Updated by Bastian Waidelich over 7 years ago

  • Project changed from TYPO3 Flow Base Distribution to TYPO3.Flow
#2

Updated by Bastian Waidelich over 7 years ago

  • Category set to MVC - Routing
  • Status changed from New to Accepted
  • Assignee set to Bastian Waidelich
  • Has patch set to No

Thanks for reporting

#3

Updated by Gerrit Code Review over 7 years ago

  • Status changed from Accepted to Under Review

Patch set 1 for branch master of project Packages/TYPO3.Flow has been pushed to the review server.
It is available at https://review.typo3.org/30116

#4

Updated by Gerrit Code Review over 7 years ago

Patch set 2 for branch master of project Packages/TYPO3.Flow has been pushed to the review server.
It is available at https://review.typo3.org/30116

#5

Updated by Gerrit Code Review almost 7 years ago

Patch set 3 for branch master of project Packages/TYPO3.Flow has been pushed to the review server.
It is available at http://review.typo3.org/30116

#6

Updated by Gerrit Code Review almost 7 years ago

Patch set 1 for branch 2.3 of project Packages/TYPO3.Flow has been pushed to the review server.
It is available at http://review.typo3.org/36997

#7

Updated by Gerrit Code Review almost 7 years ago

Patch set 1 for branch 2.2 of project Packages/TYPO3.Flow has been pushed to the review server.
It is available at http://review.typo3.org/36998

#8

Updated by Bastian Waidelich almost 7 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
#9

Updated by Gerrit Code Review over 6 years ago

  • Status changed from Resolved to Under Review

Patch set 2 for branch 2.2 of project Packages/TYPO3.Flow has been pushed to the review server.
It is available at http://review.typo3.org/36998

#10

Updated by Gerrit Code Review over 6 years ago

Patch set 3 for branch 2.2 of project Packages/TYPO3.Flow has been pushed to the review server.
It is available at http://review.typo3.org/36998

#11

Updated by Bastian Waidelich over 6 years ago

  • Status changed from Under Review to Resolved

Also available in: Atom PDF