[JIRA] (JENKINS-35721) Can't serialize Resources to JSON because of cyclic reference

2016-06-22 Thread vivek.pan...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Vivek Pandey closed an issue as Not A Defect  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 @JsonResponse is not aware of Stapler annotations, such as @Exported, @ExportedBean. Its meant to serialize simple POJOs in to JSON. So if you use it on top of BlueOcean Resource classes, you will get all kind of unexpected result/cyclic errors. So, @JsonResponse should not be used on @ExportedBean as it doesn't know about the stapler annotated annotations. Resource BlueOcean must be annotated with @TreeResponse to get it correctly serialized by Stapler.  
 

  
 
 
 
 

 
 Jenkins /  JENKINS-35721  
 
 
  Can't serialize Resources to JSON because of cyclic reference   
 

  
 
 
 
 

 
Change By: 
 Vivek Pandey  
 
 
Status: 
 Open Closed  
 
 
Resolution: 
 Not A Defect  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)  
 
 

 
   
 

 

[JIRA] (JENKINS-35721) Can't serialize Resources to JSON because of cyclic reference

2016-06-19 Thread jdu...@cloudbees.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 James Dumay assigned an issue to Vivek Pandey  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-35721  
 
 
  Can't serialize Resources to JSON because of cyclic reference   
 

  
 
 
 
 

 
Change By: 
 James Dumay  
 
 
Assignee: 
 Vivek Pandey  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-35721) Can't serialize Resources to JSON because of cyclic reference

2016-06-17 Thread jdu...@cloudbees.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 James Dumay updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-35721  
 
 
  Can't serialize Resources to JSON because of cyclic reference   
 

  
 
 
 
 

 
Change By: 
 James Dumay  
 
 
Sprint: 
 1.0-m10  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.