Bug #5758
Wrong usage of TCA type in tx_caretaker_test table
| Status: | Resolved | Start date: | 2009-12-16 | |
|---|---|---|---|---|
| Priority: | Could have | Due date: | ||
| Assignee: | - | % Done: | 100% |
|
| Category: | - | |||
| Target version: | - | |||
| Votes: | 0 |
Description
The TCA definition of table tx_caretaker_test defines the following (in the ctrl section):
'requestUpdate' => 'test_service',
[snip]
'type' => 'testservice',
The column "testservice" is actually called "test_service" and "requestUpdate" should not be necessary if the "type" column is well-defined. However, since the "types" are not defined in the TCA (only type 0 is defined), making this change breaks everything.
So solution 1 is to remove the "type" property in the ctrl section entirely. Solution 2 is to make the type property work properly by adding a showItems property for each type, when types are added using tx_caretaker_ServiceHelper::registerCaretakerService() method.
Note that this is not really important. Just a bit troubling when trying to debug a potential TCA problem ;-)
Associated revisions
Removed type tca-property for tx_careraker_test table. Fixes #5758
History
Updated by Martin Ficzel over 3 years ago
- Status changed from New to Resolved
- % Done changed from 0 to 100
Applied in changeset r27769.