forest-rails icon indicating copy to clipboard operation
forest-rails copied to clipboard

Warnings logs on boot in serializer_factory

Open lucasgerard opened this issue 6 years ago • 4 comments

Expected behavior

Server or console should boot without warnings/errors

Actual behavior

Starting rails server or console fire douzen of error logs such as the one below, that are not blocking though.

Failure Logs

screen shot 2018-07-03 at 10 36 10

Context

  • Package Version: 2.8.0
  • Rails Version: 4.2.10
  • Database Dialect: PG
  • Database Version: 9.5

lucasgerard avatar Jul 03 '18 08:07 lucasgerard

Hi @lucasgerard, we don't have such issue in our test projects. I have tested with Rails 4.1.6 and Rails 5.2.0 and don't have such logs on server start. Might be related to ruby 2.5.1 🤔

What is the warning message by the way? I might be wrong but I see the trace but not the warning itself.

arnaudbesnier avatar Jul 03 '18 09:07 arnaudbesnier

Hey @arnaudbesnier sorry for the late reply. Its not a warning actually, but just a very long trace, logged several times on boot

lucasgerard avatar Jul 18 '18 13:07 lucasgerard

@lucasgerard - ever get this sorted? I'm having something similar, thinking it may be a bad model association somewhere in my app. Just curious, seeing similar results currently.

mattverlaque avatar Feb 26 '19 02:02 mattverlaque

I had the same issue and it was due to a bad association. Fixing the association removed the issue.

AlanMcCann avatar Dec 09 '19 17:12 AlanMcCann

Hello @lucasgerard , are you still experiencing this problem?

As indicated in the 2 previous comments, it seems that the error is not linked to our repo but to a bad model association.

matthv avatar Aug 10 '23 09:08 matthv

I’m closing this inactive issue. Don’t hesitate to open a new one if you encounter a bug.

matthv avatar Aug 17 '23 09:08 matthv