[TYPO3-realty] Bug

Stefan Padberg post at webskriptorium.com
Tue May 8 09:28:44 CEST 2012


Hello,

I found a bug.

In the table 'tx_realty_objects' there is a fieldname 'floor' declared
as 'tinytext' containing the description of the floor.

In SQL 'floor' is a function: it rounds down to the next integer.

The result is: If you enter a string in floor containing no digit (like
in german "Obergeschoss links"), the field is considered to be empty! If
there is at least one digit in the string, the string can be processed
as string. (Don't ask me why...)

Bug fix:
I changed the name of the field to 'floor_desc' and changed everything
accordingly in 'tca.php' and 'locallang_db.xm'l etc. and it works now as
expected.

Greetings and thank you for that great extension
Stefan Padberg

-- 
webskriptorium.com
:: Typo3 Dienstleistungen
:: Dipl.-Ing. Stefan Padberg
:: 0173 - 9219845
:: 0202 - 976483-55 (Fax -56)



More information about the TYPO3-project-realty mailing list