Issue Details (XML | Word | Printable)

Key: JRA-11445
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Sam Chang [Atlassian]
Reporter: Anton Mazkovoi [Atlassian]
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
JIRA

AddComment in SOAP does not validate if the provided group exists.

Created: 05/Nov/06 10:41 PM   Updated: 08/Jan/07 06:20 PM
Component/s: Remote API (SOAP & XML-RPC)
Affects Version/s: None
Fix Version/s: 3.7.2

Time Tracking:
Not Specified

Issue Links:
Cloners
 

Participants: Anton Mazkovoi [Atlassian], Dylan Etkin [Atlassian] and Sam Chang [Atlassian]
Since last comment: 1 year, 38 weeks, 6 days ago
Resolution Date: 08/Jan/07 06:20 PM
Labels:


 Description  « Hide
Need to ensure that if a level (group name) for the created comment is provided, JIRA validates that the group exists and that the user is a member of the provided group.

 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
Sam Chang [Atlassian] added a comment - 08/Jan/07 12:12 AM
Currently in 3.7 if you add a comment (through SOAP) with a user that is not a member of the group, it will throw an RemoteException.

However, if you add a comment with

  • group level set to a non-existent group, it throws RemoteException that user is not in the group (Should say group does not exist instead)
  • role level set to a non-existent role, it ignores the value set and adds the comment visible to all (Should say role does not exist instead of adding the comment?)

Sam Chang [Atlassian] added a comment - 08/Jan/07 06:20 PM
fixed for 3.7.2
SOAP client will now throw a RemoteException if the group or role does not exist.