Project

General

Profile

Actions

Bug #48349

closed

File->isIndexed() triggers indexing

Added by Philipp Gampe almost 11 years ago. Updated almost 10 years ago.

Status:
Rejected
Priority:
Must have
Assignee:
-
Category:
File Abstraction Layer (FAL)
Target version:
-
Start date:
2013-05-17
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
6.0
PHP Version:
5.4
Tags:
Complexity:
medium
Is Regression:
No
Sprint Focus:

Description

isIndexed is not used to trigger indexing and it should not do this based on the naming of the function.

Change the API such that isIndexed does not trigger the indexing.

The whole indexing API should get another look as this concept looks rather fragile currently.

Actions #1

Updated by Philipp Gampe almost 11 years ago

Note that is function returns an exception if a file can not be indexed with is not documented to the API.
The internal function getIndexRecord as a flag to avoid the indexing which is currently not used in the class. This flag should be used as it most likely was introduced for this purpose.

Actions #2

Updated by Philipp Gampe almost 11 years ago

This behavior is currently documented with a unit test :(

Actions #3

Updated by Sebastian Fischer almost 10 years ago

In current trunk the method returns always true.

Actions #4

Updated by Frans Saris almost 10 years ago

  • Status changed from New to Rejected
  • Is Regression set to No

All files are indexed since 6.2 thats why isIndexed returns always true is only there for backwards compatibility.

Actions

Also available in: Atom PDF