[obs-commits] [openSUSE/open-build-service] 2cde87: [webui][api] Fix CreateProjectLogEntryJob when the...
Branch: refs/heads/master Home: https://github.com/openSUSE/open-build-service Commit: 2cde8718125562c833150b24a8917f2e68ce062a https://github.com/openSUSE/open-build-service/commit/2cde8718125562c833150b... Author: Evan Rolfe <esrolfe@suse.de> Date: 2017-12-14 (Thu, 14 Dec 2017) Changed paths: M src/api/app/jobs/create_project_log_entry_job.rb Log Message: ----------- [webui][api] Fix CreateProjectLogEntryJob when the entry was not persisted. We have ~2300 events in the db which cannot have a ProjectLogEntry created for them because the project they relate to no longer exists and project_id is a required field on ProjectLogEntry. In the past these events would have been left there and deleted after 10 days but this commit makes it so they get deleted at the end of the day. Commit: 18f40e2cce028df2a5af5d1719f0bc734181a8f6 https://github.com/openSUSE/open-build-service/commit/18f40e2cce028df2a5af5d... Author: Moisés Déniz Alemán <mdeniz@suse.com> Date: 2017-12-19 (Tue, 19 Dec 2017) Changed paths: M src/api/app/jobs/create_project_log_entry_job.rb Log Message: ----------- Merge pull request #4230 from evanrolfe/fix/create_project_log_entry [webui][api] Fix CreateProjectLogEntryJob when the entry was not persisted Compare: https://github.com/openSUSE/open-build-service/compare/77ecab526a14...18f40e...
participants (1)
-
Moisés Déniz Alemán