Bug #3278

Resource manager doesn't publish files without extension

Added by Robert Lemke over 10 years ago. Updated almost 9 years ago.

Status:
Resolved
Priority:
Must have
Category:
Utility
Start date:
2009-05-12
Due date:
% Done:

100%

PHP Version:
Has patch:
Complexity:

Description

If a file to be published doesn't have an extension ("MyPage" instead of "MyPackage.html"), the resource publisher throws:

#1: Notice: Undefined index: extension in /Users/Shared/Sites/dev/flow3/forge/Packages/Global/FLOW3/Classes/Utility/FileTypes.php line 425

Associated revisions

Revision 40a4d252 (diff)
Added by Karsten Dambekalns almost 10 years ago

[+BUGFIX] FLOW3 (Utility): *TypeFromFilename() work now when no extension is present, fixes #3278.

History

#1 Updated by Robert Lemke about 10 years ago

  • Target version deleted (283)

#2 Updated by Karsten Dambekalns almost 10 years ago

  • Status changed from New to Accepted
  • Assignee set to Karsten Dambekalns
  • Target version set to 1.0 alpha 5

#3 Updated by Karsten Dambekalns almost 10 years ago

  • Category changed from Resource to Utility

#4 Updated by Karsten Dambekalns almost 10 years ago

  • Status changed from Accepted to Resolved
  • % Done changed from 0 to 100

Applied in changeset r3230.

Also available in: Atom PDF