Bug #31728
Exception when using custom form URLs in Dir
| Status: | Resolved | Start date: | 2011-11-10 | |
|---|---|---|---|---|
| Priority: | Should have | Due date: | ||
| Assignee: | Xavier Perseguers | % Done: | 100% |
|
| Category: | Web service | |||
| Target version: | 1.5.0 | |||
| Votes: | 0 |
Description
PHP Catchable Fatal Error: Argument 1 passed to tx_egovapi_dao_webService::getValue() must be an array, integer given, called in /path/to/egovapi/Classes/Dao/WebService.php on line 636 and defined in /path/to/egovapi/Classes/Dao/WebService.php line 807
Change: Form from Dir
History
Updated by Xavier Perseguers over 1 year ago
- Subject changed from Exception when using custom form URLs in DIR to Exception when using custom form URLs in Dir
- Category set to Web service
- Status changed from New to Accepted
- Assignee set to Xavier Perseguers
Could reproduce locally using egovapi trunk.
Updated by Xavier Perseguers over 1 year ago
- Status changed from Accepted to Resolved
- Target version set to 1495
- % Done changed from 0 to 100
- Committed to trunk (rev. 54010)
- Committed to EGOVAPI_1-4 (rev. 54011)
Please manually patch file Classes/Dao/WebService.php, add the if block around line 628, after
if ($this->version != self::VERSION_10) {
to read:
if ($this->version != self::VERSION_10) {
if (is_array($details['feeBlock']['pricingList']['pricing']) && !isset($details['feeBlock']['pricingList']['pricing'][0])) {
$details['feeBlock']['pricingList']['pricing'] = array($details['feeBlock']['pricingList']['pricing']);
}
// Post-process the pricing list
...
Version 1.4.4 will not be released before some grace period to include some other bug fixes as well. Thanks for your understanding.
Updated by Xavier Perseguers over 1 year ago
- Target version changed from 1495 to 1.5.0