Project

General

Profile

feature request #4644

Updated by Andreas Kohlbecker over 6 years ago

for example in the cichorieae _Hedypnois Mill._ has the nomenclaturalMicroReference @[606]@, which is serialized to json as an array: 


 


 ~~~ 
 
 "nomenclaturalMicroReference": [ 
     
     606 
 
 ], 
 
 ~~~ 

 

 https://test.e-taxonomy.eu/cdmserver/cichorieae/name/4da14cc4-fb0b-43a2-a909-82535363f14e.json 


 


 this causes the a php warning to appear in the portal, like: 


 


 ~~~ 
 
 Warning: urlencode() expects parameter 1 to be string, array given in cdm_ws_getNomenclaturalReference() (line 1500 of /var/www/drupal-7.32/sites/_dataportal-production/modules/cdm_dataportal/cdm_api/cdm_api.module). 
 
 ~~~ 

 

 This is a general problem in json-lib, an should be solved in a general way, e.g. by upgrading to a newer version? 



 



 ---- 


  


  **TODO**  


  


 * remove ecb8526 r28125 avoiding the red error box as long #4644 is not fixed  



  



Back