Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Can't delete a record from dashboard listing #5009

Closed
Boorj opened this issue Mar 12, 2016 · 5 comments
Closed

[BUG] Can't delete a record from dashboard listing #5009

Boorj opened this issue Mar 12, 2016 · 5 comments
Assignees
Labels
blocking release bug A bug that has been verified regression

Comments

@Boorj
Copy link
Contributor

Boorj commented Mar 12, 2016

When i go to dashaboard and try to delete something
2016-03-12 11-17-49

it gives me an error
2016-03-12 11-11-01

in compressed it's here (at first i changed .parents() from original to .closest() but it doesn't affect)
2016-03-12 11-11-33

that leads me here:
2016-03-12 11-15-49

But there's no id attribute in <tr/>.
2016-03-12 11-16-11

Probably because of
2016-03-12 11-19-59

For me it looks like a bug.

@GwendolenLynch
Copy link
Contributor

Not really helpful mate. I can only presume that this is for a non-root user, etc. Can you update this with configuration details. Relevant parts of the permissions.yml might help to reproduce this problem 😉

@Boorj
Copy link
Contributor Author

Boorj commented Mar 13, 2016

Standard roles, working from root. =)

Relevant part of permissons.yml:

# - 'root', the "superuser" role; Bolt will automatically grant all permissions

Irrelevant part of permissons.yml (just for a case;) :

roles:
    editor:
        description: This user can edit some content.
        label: Editor
    chief-editor:
        description: This user can edit any content in the system.
        label: Chief Editor
    admin:
        description: User-level administrator.
        label: Administrator
    developer:
        description: Developer access. Only required to change system-level settings.
        label: Developer

What else may you need?

@Boorj
Copy link
Contributor Author

Boorj commented Mar 13, 2016

Investigation ʢ◉ᴥ◉ʡ

Step 1

the problem is in prop.extended, not in modifiable

Step 2
{% set prop = {
    extended:       not compact,
     ...
}%}
Step 3

2016-03-13 15-19-53

Resuming

Seems that compact is unset or set to true somewhere

@GwendolenLynch
Copy link
Contributor

Right! Got you now, you're correct this is nothing to do with permissions.yml.

Escalating and ping @rarila

@GwendolenLynch
Copy link
Contributor

Fixed in #5131

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
blocking release bug A bug that has been verified regression
Projects
None yet
Development

No branches or pull requests

5 participants