Skip to content

Resource Not Displayed If Model Property Points To "App\Posting" #2301

@MannikJ

Description

@MannikJ
  • Laravel Version: 6.12.0
  • Nova Version: 2.9.4
  • PHP Version: 7.3
  • Database Driver & Version: MySQL 5.7
  • Operating System and Version: Linux Mint 19.2
  • Browser type and version: Chrome 69.0.3497.92 (Official Build) (64-bit)

Description:

I found a very strange behavior in our app where our "Posting" resource suddenly disappeared in one of the version upgrades (not sure which exactly).
There is no error or anything it is just not displayed in the navigation and not reachable via direct route. If rename the model and change the reference in the resource everything works. It seems to have something to do with the name "Posting" actually. I have tinkered quite a lot now, but I am not sure if it is just a problem on my side. Would still be nice if someone could try to reproduce this issue.

Steps To Reproduce:

Create an App\Posting eloquent model and a nova resource pointing to it
Look if the resource is displayed/reachable

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions