Bug #30614

Use of undefined policies throws exception

Added by Peter Russ over 1 year ago. Updated about 1 year ago.

Status:Resolved Start date:2011-10-06
Priority:Must have Due date:
Assignee:- % Done:

0%

Category:Security
Target version:-
PHP Version: Complexity:
Has patch:No FLOW3 version affected:FLOW3 1.0.0
Votes: 0

Description

Notice: Undefined index: Test in /srv/c/cdas/src/shared/Data/Temporary/Development/Cache/Code/FLOW3_Object_Classes/TYPO3_FLOW3_Security_Policy_PolicyService_Original.php line 317
35 TYPO3\FLOW3\Error\ErrorHandler::handleError(8, "Undefined index: Test", "/srv/c/cdas/src/shared/Data/Temporary/Development/…3_FLOW3_Security_Policy_PolicyService_Original.php", 317, array)

This happens due the fact, that there are roles available which are not define in any Policy. I would expect that in such a case a Access denied would occure. To fix just check if the key is set ;-) (see attached patch)

Keep on rocking....

patch.30614.diff - Patch for bug 30614 (1.4 kB) Peter Russ, 2011-10-06 23:26

History

Updated by Peter Russ over 1 year ago

Updated by Karsten Dambekalns over 1 year ago

  • Subject changed from TYPO3\FLOW3\Error\Exception thrown in file ErrorHandler.php to Use of undefined policies throws exception
  • Category changed from - Error Handler Report - to Security
  • Assignee deleted (Andreas Förthner)

Updated by Karsten Dambekalns over 1 year ago

  • FLOW3 version affected set to FLOW3 1.0.0

Updated by Andreas Förthner about 1 year ago

  • Status changed from New to Resolved
  • Has patch set to No

Also available in: Atom PDF