Removed Resource from Avo and broke app #549
-
Hi, I deleted one resource from Avo but now my first resource is failing to display. I get the following error:
I've removed everything I can see relating to that other resource but it still fails to load. Any ideas? |
Beta Was this translation helpful? Give feedback.
Replies: 7 comments 18 replies
-
Hey, Have you restarted the server? |
Beta Was this translation helpful? Give feedback.
-
Yes. Several times. No change unfortunately!
Thanks,
Neil
…On 7 Dec 2021, 11:12 +0000, Adrian Marin ***@***.***>, wrote:
Hey,
Have you restarted the server?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
Beta Was this translation helpful? Give feedback.
-
It just looks like Avo is trying to use a specific route that is not available. This is confirmed by checking It does have a feel about it like somethings being cached, but as you've said, Avo doesn't cache stuff. |
Beta Was this translation helpful? Give feedback.
-
Thanks for those points. I hope to test them all out tomorrow and if none solve it then we can absolutely get on a call and try to fix this once and for all!
Thankyou again for your assistance, I'll keep you updated!
Neil
… On 14 Dec 2021, at 15:17, Adrian Marin ***@***.***> wrote:
Putting some more ideas here:
Check if any of your resources have the spouse model in self.includes
Check that you don't have any associations towards the spouse resource in other Avo resources (belongs_to, has_many, etc) (seems the most obvious).
Try and fiddle with the STI model. see if something changes if you disable that one.
Also, what is the path that gives you this error? Any path, and Index view or Show view?
If nothing works, let's get on a call so I can have a closer look. I really don't know what could cause it. It's really weird.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub <#549 (reply in thread)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AAF5CO6DHVBGVPJQM54SVOLUQ5NXJANCNFSM5JQ65XAQ>.
|
Beta Was this translation helpful? Give feedback.
-
No problem. Booked for 1pm Monday. Calendly has not sent the invite to me yet as it stated. Hoping it will come later on.
Thanks,
Neil
…On 15 Dec 2021, 13:09 +0000, Adrian Marin ***@***.***>, wrote:
Got it.
Can you set something up for early next week?
https://calendly.com/adrianthedev
Thanks
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
Beta Was this translation helpful? Give feedback.
-
Just for the record, we couldn't figure out what the issue was and we ended up adding the resource back and hiding it from the sidebar. |
Beta Was this translation helpful? Give feedback.
-
We're fixing this with #560 |
Beta Was this translation helpful? Give feedback.
Just for the record, we couldn't figure out what the issue was and we ended up adding the resource back and hiding it from the sidebar.