Andrew Ruthven
e989e1cf97
Fix PROPFIND with Depth 1 if external bind is included
...
Previously something like this would be logged if debugging is enabled:
davical: LOG: Principal: Query: DBGQ: SELECT * FROM collection WHERE user_no= :user_no
davical: LOG: Principal: Query: DBGQ: ":user_no" => ""
davical: BUG: :DAViCal Fatal Error: [42883] SQLSTATE[42883]: Undefined function: 7 ERROR: operator does not exist: integer = boolean\nLINE 1: SELECT * FROM collection WHERE user_no= FALSE\n ^\nHINT: No operator matches the given name and argument types. You might need to add explicit type casts. at /home/puck/work/Calendar/awl/inc/AwlDatabase.php:94
And this would be returned as a response:
DAViCal Fatal Error
user_no doesn't get set when construction the Collection for the external
bind, so, just handle that instead of sending the empty string to the
database as a user_no.
Modify the tests from ccc7e182ba4cbfba66a4fe96e1c0620e46390b95 to tickle the
bug.
Closes #175 .
2024-02-18 01:51:56 +13:00
..
2024-02-18 00:04:29 +13:00
2022-12-14 09:52:35 +13:00
2022-12-14 09:52:35 +13:00
2022-12-14 09:52:35 +13:00
2022-12-14 09:52:35 +13:00
2022-12-14 09:52:35 +13:00
2022-12-14 09:52:35 +13:00
2022-12-14 09:52:35 +13:00
2022-12-14 09:52:35 +13:00
2022-12-14 09:52:35 +13:00
2018-11-30 15:02:53 +13:00
2011-09-18 17:03:37 +12:00
2010-09-02 21:06:58 +12:00
2012-03-22 14:56:02 +13:00
2010-09-02 21:06:58 +12:00
2017-01-01 20:46:31 +01:00
2010-09-02 21:06:58 +12:00
2017-01-01 20:46:31 +01:00
2010-09-02 21:06:58 +12:00
2013-10-15 23:45:19 +13:00
2010-09-02 21:06:58 +12:00
2017-01-01 20:46:31 +01:00
2010-09-02 21:06:58 +12:00
2012-05-03 19:12:42 +12:00
2010-09-02 21:06:58 +12:00
2022-12-14 09:52:35 +13:00
2022-12-14 09:52:35 +13:00
2012-03-22 14:56:02 +13:00
2010-09-02 21:06:58 +12:00
2022-12-14 09:52:35 +13:00
2010-09-02 21:06:58 +12:00
2012-03-22 14:56:02 +13:00
2010-09-02 21:06:58 +12:00
2012-03-22 14:56:02 +13:00
2010-09-02 21:06:58 +12:00
2022-12-14 09:52:35 +13:00
2022-12-14 09:52:35 +13:00
2022-12-14 09:52:35 +13:00
2022-12-14 09:52:35 +13:00
2022-12-14 09:52:35 +13:00
2022-12-14 09:52:35 +13:00
2022-12-14 09:52:35 +13:00
2010-09-02 21:06:58 +12:00
2012-03-22 14:56:02 +13:00
2010-09-02 21:06:58 +12:00
2022-12-14 09:52:35 +13:00
2010-09-02 21:06:58 +12:00
2011-01-03 10:11:27 +13:00
2010-09-02 21:06:58 +12:00
2022-12-14 09:52:35 +13:00
2013-10-15 23:46:06 +13:00
2021-02-03 00:42:58 +08:00
2013-10-15 23:46:25 +13:00
2012-05-05 16:57:05 +12:00
2012-05-05 16:57:05 +12:00
2022-12-14 09:52:35 +13:00
2022-12-14 09:52:35 +13:00
2017-01-01 20:46:31 +01:00
2010-09-02 21:06:58 +12:00
2022-12-14 09:52:35 +13:00
2013-07-15 13:11:08 +12:00
2022-12-14 09:52:35 +13:00
2010-09-02 21:06:58 +12:00
2022-12-14 09:52:35 +13:00
2013-07-15 13:11:08 +12:00
2022-12-14 09:52:35 +13:00
2018-11-29 13:24:25 +13:00
2022-12-14 09:52:35 +13:00
2018-11-12 20:14:40 +13:00
2022-02-18 23:11:50 +13:00
2022-02-18 23:11:50 +13:00
2023-05-02 10:44:52 +00:00
2022-06-28 22:47:31 +12:00
2022-12-14 09:52:35 +13:00
2010-09-02 23:06:09 +12:00
2022-12-14 09:52:35 +13:00
2010-09-02 23:06:09 +12:00
2022-12-14 09:52:35 +13:00
2010-09-02 23:06:09 +12:00
2022-12-14 09:52:35 +13:00
2012-05-14 23:27:04 +12:00
2022-12-14 09:52:35 +13:00
2012-05-14 23:27:04 +12:00
2022-12-14 09:52:35 +13:00
2012-05-14 23:27:04 +12:00
2024-02-18 01:51:56 +13:00
2024-02-18 01:51:56 +13:00
2024-02-18 00:04:29 +13:00
2024-02-18 01:51:56 +13:00
2024-02-18 01:51:56 +13:00
2024-02-18 01:51:56 +13:00
2024-01-21 19:12:42 +13:00
2022-06-28 23:56:57 +12:00
2022-12-14 08:53:32 +13:00
2024-01-21 19:12:42 +13:00
2024-02-18 00:04:29 +13:00
2022-12-14 08:53:32 +13:00
2022-12-14 08:53:32 +13:00