Project

General

Profile

Actions

Bug #22304

closed

Field data_page_type in table index_phash is too small

Added by Andreas Otto † over 14 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Should have
Category:
-
Target version:
-
Start date:
2010-03-20
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

The field data_page_type is of type tinyint which can hold values from 0-255.

This might be too small if you have a typeNum which is e. g. 280.

To solve this we can do IMHO two, maybe three things:

1) Change the field data_page_type from tinyint to int, that should leave enough room for everyone.

2) Change the documentation on [1] and define a range there.

3) Change the field data_page_type from tinyint to smallint and change the documentation on [1] and define a range there.

[1] http://typo3.org/documentation/document-library/core-documentation/doc_core_tsref/4.4.0/view/1/6/#id2516046

Once a decission was made which solution we will use the fix is a nobrainer.
(issue imported from #M13871)


Files

13871-solution-1.patch (679 Bytes) 13871-solution-1.patch Administrator Admin, 2010-03-20 14:41
13871-solution-3.patch (683 Bytes) 13871-solution-3.patch Administrator Admin, 2010-03-20 14:41
Actions

Also available in: Atom PDF