Skip to content
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

Logs of a query is not written into DB #241

Closed
qifeng-bai opened this issue Jul 12, 2024 · 0 comments
Closed

Logs of a query is not written into DB #241

qifeng-bai opened this issue Jul 12, 2024 · 0 comments
Assignees
Labels
Biosecurity Alerts for biosecurity species bug
Milestone

Comments

@qifeng-bai
Copy link
Contributor

qifeng-bai commented Jul 12, 2024

We found the logs of BioSecurity were not written into the database.

Similar with what happened in SpeciesList. We added another independent DB save() - regarding with PropertyValue updates in the query method in the recent updates.
May related to #225

The code structure looks like:

QueryResult.transaction ->
        PropertyValue.transaction->
               PropertyValue.save()
       QueryResult.save()

We found QueryResult.save() was executed without error, but won't save

@qifeng-bai qifeng-bai added the bug label Jul 12, 2024
@qifeng-bai qifeng-bai added this to the 4.3.0 milestone Jul 12, 2024
@qifeng-bai qifeng-bai self-assigned this Jul 12, 2024
@qifeng-bai qifeng-bai pinned this issue Jul 15, 2024
@qifeng-bai qifeng-bai unpinned this issue Jul 15, 2024
@qifeng-bai qifeng-bai modified the milestones: 4.3.0, 4.2.1 Aug 7, 2024
@kylie-m kylie-m added the Biosecurity Alerts for biosecurity species label Aug 12, 2024
@nickdos nickdos closed this as completed Sep 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Biosecurity Alerts for biosecurity species bug
Projects
None yet
Development

No branches or pull requests

3 participants