mirror of
https://github.com/bugsink/bugsink.git
synced 2026-01-11 15:50:36 -06:00
Remove a false comment
(groupings do imply issues, it's a FK)
This commit is contained in:
@@ -221,6 +221,7 @@ class BaseIngestAPIView(View):
|
||||
Max("digest_order"))["digest_order__max"]
|
||||
issue_digest_order = max_current + 1 if max_current is not None else 1
|
||||
|
||||
# if the grouping doesn't exist, the issue doesn't exist either (because a grouping implies an issue).
|
||||
issue = Issue.objects.create(
|
||||
digest_order=issue_digest_order,
|
||||
project_id=event_metadata["project_id"],
|
||||
@@ -229,9 +230,6 @@ class BaseIngestAPIView(View):
|
||||
digested_event_count=1,
|
||||
**denormalized_fields,
|
||||
)
|
||||
# even though in our data-model a given grouping does not imply a single Issue (in fact, that's the whole
|
||||
# point of groupings as a data-model), at-creation such implication does exist, because manual information
|
||||
# ("this grouper is actually part of some other issue") can by definition not yet have been specified.
|
||||
issue_created = True
|
||||
|
||||
grouping = Grouping.objects.create(
|
||||
|
||||
Reference in New Issue
Block a user