[#6591] - Bug in copy constructor of ClientInputControl class from jasperserver-dto module

Category:
Bug report
Priority:
Normal
Status:
New
Project: Severity:
Major
Resolution:
Open
Component: Reproducibility:
Always
Assigned to:

Copy constructor of ClientInputControl class does not call base class copy constructor. Discovered during work on rest client utilising jrs-rest-java-client library. Due to this bug it is not possible to create new Input Control resource from copy of ClientInputControl object returned by its copy constructor - always returns "Bad request" error. Also I would suggest to check if original object has visibleColumns list and if it is null, do not copy it, since not each type of Input Control needs to have it. I have attached modified file which fixed these issues for me.

AttachmentSize
File clientinputcontrol.java8.83 KB
v6.2
jasperserver-dto
pavel.farkas's picture
Joined: Mar 9 2015 - 1:51am
Last seen: 5 years 9 months ago
Feedback