[TYPO3-caretaker] Help setting up a Test with caretaker_instance

Martin Ficzel martin.ficzel at gmx.de
Sun Jun 20 23:13:33 CEST 2010


Am 14.06.10 16:17, schrieb Volker Biberger:
> Cool. It worked. I had to be very careful to get the filenames, etc.
> right. Also I get an irritating response:
> 
> My tx_caretakerinstance_CommandResult returned the FALSE Status,
> although the included Operation  had the TRUE status. How do I get a
> Status TRUE CommandResult?
> 
> Other than that it worked fine.
> 
> Thanks a lot
> Volker

Hi Volker,

the return states of caretaker are not boolean values they are integers
which represent the following states:

-1 : undefined
0  : OK
1  : Warning
2  : Error

better do'nt use the integer values directly. The class
tx_caretaker_Constants defines these values as constants so you can use
tx_caretaker_Constants:state_ok as value for the return state.

regards, Martin




More information about the TYPO3-project-caretaker mailing list