1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2025-02-19 13:54:25 +01:00

[bug] OpenlabWorker is crashing with message undefined method profile for StatisticProfile

This commit is contained in:
Sylvain 2019-07-10 10:58:51 +02:00
parent 1253af5377
commit b77fde2506
2 changed files with 2 additions and 1 deletions

View File

@ -3,6 +3,7 @@
- Fix a bug: projects RSS feed fails to render
- Fix a bug: abuses reports are not notified to admins
- Fix a bug: SubscriptionExpireWorker cannot run due to wrong expiration column in SQL query
- Fix a bug: OpenlabWorker is crashing with message undefined method `profile' for StatisticProfile
- Prevent invalid invoice logo from crashing the InvoiceWorker
- Updated user's manual for v4 (fr)
- Optimized Dockerfile to speed up build time

View File

@ -32,7 +32,7 @@ module Project::OpenlabSync
machines: machines.map(&:name),
components: components.map(&:name),
themes: themes.map(&:name),
author: author&.profile&.full_name,
author: author&.user&.profile&.full_name,
collaborators: users.map { |u| u&.profile&.full_name },
steps_body: steps_body,
image_path: project_image&.attachment&.medium&.url,