Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

development mode: boss_app_info does not reflect any of the newly added/loaded controllers #323

Open
ztmr opened this Issue · 4 comments

4 participants

Tomas Morstein Dmitry Polyanovsky Zachary Kessin chan
Tomas Morstein

While in development mode, once you add a new controller, it is not added to the boss_app_info record. Everything works fine, but if somebody wants to list all the controllers provided by a specified application using the boss_web:application_info/1 (for example for dynamic menu generation), the new controller won't be on the list until the full CB restart.

The problem was originally reported here:
https://groups.google.com/d/msg/chicagoboss/QPor7QZXog4/2lDFYLNknpoJ

Dmitry Polyanovsky
Owner

related to #322

Zachary Kessin zkessin was assigned
Zachary Kessin
Owner

if you send the boss_web process a timeout msg it will reset things correctly

Zachary Kessin zkessin closed this in f16a188
Zachary Kessin
Owner

This is causing an infinate loop, I am removing this for now, if you want to reload the data in dev mode for now you can do it manually by running the command "boss_web ! timeout." from the repl

Zachary Kessin zkessin reopened this
chan

my pr fix that, not deeply tested but so far so good

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.