This repository has been archived by the owner on Mar 11, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 86
Inconsistency in comment id when creating vs showing #714
Comments
I'd say yes. This needs to be unified to be |
@kwk ok, let me work on a fix for this, then. |
xcoulon
added a commit
to xcoulon/fabric8-wit
that referenced
this issue
Feb 2, 2017
…s#714) Replaced the `string` type with `UUID` for the `ID` parameter in the `show` and `update` operations. Added a `comments_backbox_test.go` to verify that comments can be shown with and without auth, but cannot be updated without auth or when the user was not the comment author. Signed-off-by: Xavier Coulon <xcoulon@redhat.com>
This was referenced Feb 2, 2017
xcoulon
added a commit
to xcoulon/fabric8-wit
that referenced
this issue
Feb 2, 2017
…s#714) Replaced the `string` type with `UUID` for the `ID` parameter in the `show` and `update` operations. Added a `comments_backbox_test.go` to verify that comments can be shown with and without auth, but cannot be updated without auth or when the user was not the comment author. Signed-off-by: Xavier Coulon <xcoulon@redhat.com>
xcoulon
added a commit
to xcoulon/fabric8-wit
that referenced
this issue
Feb 2, 2017
…s#714) Replaced the `string` type with `UUID` for the `ID` parameter in the `show` and `update` operations. Added a `comments_backbox_test.go` to verify that comments can be shown with and without auth, but cannot be updated without auth or when the user was not the comment author. Signed-off-by: Xavier Coulon <xcoulon@redhat.com>
xcoulon
added a commit
to xcoulon/fabric8-wit
that referenced
this issue
Feb 2, 2017
…s#714) Replaced the `string` type with `UUID` for the `ID` parameter in the `show` and `update` operations. Added a `comments_backbox_test.go` to verify that comments can be shown with and without auth, but cannot be updated without auth or when the user was not the comment author. Signed-off-by: Xavier Coulon <xcoulon@redhat.com>
xcoulon
added a commit
to xcoulon/fabric8-wit
that referenced
this issue
Feb 3, 2017
…s#714) Replaced the `string` type with `UUID` for the `ID` parameter in the `show` and `update` operations. Added a `comments_backbox_test.go` to verify that comments can be shown with and without auth, but cannot be updated without auth or when the user was not the comment author. Signed-off-by: Xavier Coulon <xcoulon@redhat.com>
xcoulon
added a commit
to xcoulon/fabric8-wit
that referenced
this issue
Feb 3, 2017
…s#714) Replaced the `string` type with `UUID` for the `ID` parameter in the `show` and `update` operations. Added a `comments_backbox_test.go` to verify that comments can be shown with and without auth, but cannot be updated without auth or when the user was not the comment author. Signed-off-by: Xavier Coulon <xcoulon@redhat.com>
xcoulon
added a commit
to xcoulon/fabric8-wit
that referenced
this issue
Feb 6, 2017
…s#714) Taking review comments into account. Signed-off-by: Xavier Coulon <xcoulon@redhat.com>
xcoulon
added a commit
to xcoulon/fabric8-wit
that referenced
this issue
Feb 6, 2017
…s#714) minor editing of comments. Signed-off-by: Xavier Coulon <xcoulon@redhat.com>
xcoulon
added a commit
to xcoulon/fabric8-wit
that referenced
this issue
Feb 6, 2017
…s#714) Taking review comments into account. Signed-off-by: Xavier Coulon <xcoulon@redhat.com>
xcoulon
added a commit
to xcoulon/fabric8-wit
that referenced
this issue
Feb 6, 2017
…s#714) Taking review comments into account. Signed-off-by: Xavier Coulon <xcoulon@redhat.com>
xcoulon
added a commit
to xcoulon/fabric8-wit
that referenced
this issue
Feb 6, 2017
…s#714) Replaced the `string` type with `UUID` for the `ID` parameter in the `show` and `update` operations. Added a `comments_backbox_test.go` to verify that comments can be shown with and without auth, but cannot be updated without auth or when the user was not the comment author. Signed-off-by: Xavier Coulon <xcoulon@redhat.com>
xcoulon
added a commit
to xcoulon/fabric8-wit
that referenced
this issue
Feb 6, 2017
…s#714) Taking review comments into account. Signed-off-by: Xavier Coulon <xcoulon@redhat.com>
11 tasks
xcoulon
added a commit
to xcoulon/fabric8-wit
that referenced
this issue
Feb 7, 2017
…s#714) Taking review comments into account. Signed-off-by: Xavier Coulon <xcoulon@redhat.com>
kwk
pushed a commit
that referenced
this issue
Feb 7, 2017
Replaced the `string` type with `UUID` for the `ID` parameter in the `show` and `update` operations. Added a `comments_backbox_test.go` to verify that comments can be shown with and without auth, but cannot be updated without auth or when the user was not the comment author. Fixes #714 Signed-off-by: Xavier Coulon <xcoulon@redhat.com>
AdamJ
pushed a commit
to AdamJ/almighty-core
that referenced
this issue
Mar 7, 2017
…s#714) (fabric8-services#716) Replaced the `string` type with `UUID` for the `ID` parameter in the `show` and `update` operations. Added a `comments_backbox_test.go` to verify that comments can be shown with and without auth, but cannot be updated without auth or when the user was not the comment author. Fixes fabric8-services#714 Signed-off-by: Xavier Coulon <xcoulon@redhat.com>
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
There's an inconsistency in https://github.com/almighty/almighty-core/blob/master/design/comments.go: when creating a workitem comment, the returned id is a
UUID
, whereas when calling/comments/:id
, the id is astring
:Payload definition to create a workitem comment:
(source
Endpoint definition to show a comment:
(source)
Should we unify the comment ID to have a UUID in both cases ?
The text was updated successfully, but these errors were encountered: