CoreCommunity ExtensionsIncubatorDistributionsTYPO3 4.5 ProjectsTYPO3 4.6 ProjectsTYPO3 4.7 ProjectsTYPO3 6.0 ProjectsTYPO3 6.1 ProjectsTYPO3 6.2 Projects (+)

Bug #31728

Exception when using custom form URLs in Dir

Added by Jean-Baptiste Hemmer over 1 year ago. Updated over 1 year ago.

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

Faulty URL:
http://cyberadmin.ch/fr/api/template02/index.html?organisationID=02211&service=01168&version=13226&blocks=1-13&language=fr

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

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

Also available in: Atom PDF