Greetings,
I am currently trialing PHPRunner 5.0 (current release) fo possible use in a new project. As a test, I decided to build a simple site to provide an interface to an existing site/database I have for cataloging my books. This bug may be due to an incompatability with the existing database structure...but IMHO is nevertheless a bug.
One of my fields is handled as a boolean Y/N to indicate whether a book has been covered in plastic, or not. This field is defined as a CHAR(1). Not surprisingly, the values in this field did not work properly with PHPRunner, but after some testing I changed the values from Y/N to 1/0. After making this change, the functionality basically works...but not entirely.
Summary of what does, and does not work:
- View page works properly
- Inline editing does not allow changing the checkbox
- View page works
- Edit page properly allows changing of values, but does not display the checkbox as ticked for a 1 value
Changing the field type to TINYINT (without re-building the project, so PHPRunner may still be misinterpreting the field type) does not change any of these behaviours.
Attempting to re-import the data from the database (1/0 values showing in Results tab of query page) also changed nothing - I don't know if that would be sufficient to make PHPRunner fully interpret the field and type - or if this is simply a bug that is not related to my existing database/data/structure.
I hope this can be addressed (somehow) soon, whether with a bug, or a trial extension . Finding a bug (that may not be fixed before the trial expires) within the first few hours of assessment make it difficult to make a good recommendation to a new customer.
Thanks for your time.
Regards,
Paul