feature request #4644
opentask #6992: Refactor and modernize REST web service API
task #4009: consider using jackson as json library
json lib incorrectly serializes values containig the characters [, ], {, }
0%
Description
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 cdm-dataportal|ecb8526 (svn: r28125) avoiding the red error box as long #4644 is not fixed
Related issues
Updated by Andreas Kohlbecker over 9 years ago
- Target version deleted (
cdmlib - Next Major Release)
Updated by Andreas Müller over 9 years ago
- Target version set to cdmlib - Next Major Release
Updated by Andreas Kohlbecker almost 7 years ago
- Description updated (diff)
- Private changed from Yes to No
Updated by Andreas Kohlbecker over 5 years ago
- Has duplicate bug #7973: Pages not shown in portal if no digit? added
Updated by Andreas Kohlbecker almost 4 years ago
- Related to task #9265: Adapt dataportal to new protologue handling added
Updated by Andreas Kohlbecker almost 4 years ago
- Status changed from New to Rejected
- Target version deleted (
cdmlib - Old Next Major Release)
this is no longer relevant since we no longer need to get the microreference separately aa06c1f1a2
The hack mentioned above is removed already.
Updated by Andreas Kohlbecker almost 4 years ago
- Status changed from Rejected to New
- Priority changed from New to Priority14
- Target version set to Release 5.19
the above mentioned commit had to be reverted, so this issue is open again
Updated by Andreas Kohlbecker over 3 years ago
- Target version changed from Release 5.19 to Release 5.21
Updated by Andreas Müller over 3 years ago
- Target version changed from Release 5.21 to Release 5.22
Updated by Andreas Kohlbecker over 3 years ago
- Target version changed from Release 5.22 to Release 5.48
Updated by Andreas Müller over 2 years ago
- Assignee changed from Andreas Kohlbecker to Andreas Müller
- Target version changed from Release 5.48 to Release 5.49