View Issue Details

IDProjectCategoryView StatusLast Update
0015791mantisbtotherpublic2014-02-07 18:24
Reporterdregad Assigned Todregad  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Product Version1.2.16 
Target Version1.2.16Fixed in Version1.2.16 
Summary0015791: System notice when json_url() retrieves non-existent member
Description

This prevents caller from cleanly recovering from the error.

Additional Information

Affects operations of SourceGithub plugin when the github api returns an unexpected json payload (e.g. when no user agent is provided, see https://github.com/mantisbt-plugins/source-integration/issues/56

TagsNo tags attached.

Activities

There are no notes attached to this issue.

Related Changesets

MantisBT: master-1.2.x 77ebbfce

2013-04-26 15:55

dregad


Details Diff
System notice when json_url() retrieves non-existent member

An additional check and returning false allows caller to handle errors
gracefully.

Fixes 0015791
Affected Issues
0015791
mod - core/json_api.php Diff File

MantisBT: master e1a265c7

2013-04-26 15:55

dregad


Details Diff
System notice when json_url() retrieves non-existent member

An additional check and returning false allows caller to handle errors
gracefully.

Fixes 0015791
Affected Issues
0015791
mod - core/json_api.php Diff File