Bug #67543

Exception in ImportExportController when default folder not accessible

Added by Alexander Stehlik almost 5 years ago. Updated over 1 year ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Import/Export (T3D)
Target version:
-
Start date:
2015-06-17
Due date:
% Done:

100%

TYPO3 Version:
6.2
PHP Version:
5.5
Tags:
Complexity:
no-brainer
Is Regression:
No
Sprint Focus:

Description

When the current editor has not access to the current import / export folder, an Exception is thrown, when the editor tries to access the import / export module:

Fatal error: Call to a member function getStorage() on a non-object in /typo3/sysext/impexp/Classes/Controller/ImportExportController.php on line 1479

The reason for this is quite simple: in the getExportFiles() method a check for FALSE is performed that actually should be NULL.

Associated revisions

Revision cece8a6f (diff)
Added by Alexander Stehlik almost 5 years ago

[BUGFIX] Fix check for import / export folder

When the import / export folder is not available a NULL value
is returned. The condition that checks if a vaild folder is
found now checks for NULL values instead of FALSE.

Releases: master, 6.2
Resolves: #67543
Change-Id: Ie9d6314506f9c8bbea19ed445e29b5bd1d8a544b
Reviewed-on: http://review.typo3.org/40338
Reviewed-by: Wouter Wolters <>
Tested-by: Wouter Wolters <>
Reviewed-by: Marc Bastian Heinrichs <>
Tested-by: Marc Bastian Heinrichs <>

Revision 88f36535 (diff)
Added by Alexander Stehlik almost 5 years ago

[BUGFIX] Fix check for import / export folder

When the import / export folder is not available a NULL value
is returned. The condition that checks if a vaild folder is
found now checks for NULL values instead of FALSE.

Releases: master, 6.2
Resolves: #67543
Change-Id: Ie9d6314506f9c8bbea19ed445e29b5bd1d8a544b
Reviewed-on: http://review.typo3.org/40339
Reviewed-by: Wouter Wolters <>
Tested-by: Wouter Wolters <>
Reviewed-by: Marc Bastian Heinrichs <>
Tested-by: Marc Bastian Heinrichs <>

History

#1 Updated by Gerrit Code Review almost 5 years ago

  • Status changed from New to Under Review

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

#2 Updated by Gerrit Code Review almost 5 years ago

Patch set 1 for branch TYPO3_6-2 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/40339

#3 Updated by Alexander Stehlik almost 5 years ago

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

#4 Updated by Anja Leichsenring over 4 years ago

  • Sprint Focus set to On Location Sprint

#5 Updated by Mathias Schreiber about 4 years ago

  • Sprint Focus deleted (On Location Sprint)

#6 Updated by Benni Mack over 1 year ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF