Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 540603

Summary: Strange behaviour with some data returned from the REST API.
Product: Community Reporter: Daniel Campbell <campbeld>
Component: API.eclipse.orgAssignee: API.eclipse.org inbox <api-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: major    
Priority: P3 CC: eric.poirier, webmaster
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Mac OS X   
Whiteboard:
Attachments:
Description Flags
Forum and Json capture none

Description Daniel Campbell CLA 2018-10-30 07:10:00 EDT
Created attachment 276417 [details]
Forum and Json capture

We have observed some strange behaviour with some of the data returned from the REST API.  Basically, if we make a request to ‘get all posts’ from a specific topic. There are some instances where some of the values returned don’t match up with the information shown in the forums.

I have attached a PDF containing two screenshots of to this bug. One image is of the forums  and highlights the “id” of the post as well as the “body”. The second represents the Json response we received. Notice how the Id is correct. However, the body shows something completely  different.  Here is the link to the topic in the example https://www.eclipse.org/forums/index.php/t/1095240/
 
We have also witnessed topics that have messages on the form but when we request their posts we get basically an empty array of results. We have also seen forums that appear to have a low number of topics on the website, have a very large number of topics returned.
Comment 1 Eric Poirier CLA 2018-11-02 10:34:03 EDT
Hi Daniel,

I made an update this morning on the Forums endpoint on api.eclipse.org and the body of the posts now have the proper data in them.

Please reopen this bug if there's an issue with this change.

Thanks.