-
Notifications
You must be signed in to change notification settings - Fork 78
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
HA-423 - Fix Compass returning error for deleted GVL systems #5786
base: main
Are you sure you want to change the base?
Changes from all commits
5e2dc17
0eaf01f
f4fbd3d
6055f89
6c78efe
dd13947
2a4c344
f4b78e9
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -406,9 +406,7 @@ async def create_system( | |
|
||
# create the system resource using generic creation | ||
# the system must be created before the privacy declarations so that it can be referenced | ||
resource_dict = resource.model_dump( | ||
mode="json" | ||
) # mode=json helps Url fields be converted to strings before saving to db | ||
resource_dict = resource.model_dump() | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. so did we validate that a i'm also seeing that
is that not going to cause a similar problem? do we need to adjust that? |
||
|
||
# set the current user's ID | ||
resource_dict["user_id"] = current_user_id | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: this isn't a very accurate description IMO, it's not compass that has any sort of error here