question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Bug] 5.0.16 breaks PermissionManager default field

See original GitHub issue

Bug report

Upgraded to 5.0.16, trying to edit a user with roles, with exactly the field defined here - https://github.com/Laravel-Backpack/PermissionManager/blob/master/src/app/Http/Controllers/UserCrudController.php#L172

Throws the error:

Array to string conversion

What I’ve already tried to fix it

Reverting to 5.0.15 fixes the issue

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:6 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
pxpmcommented, May 11, 2022

You are right, it closed automatically when PR got merged.

Cheers

1reaction
pxpmcommented, May 11, 2022

Hello @olipayne

Sorry for the bad experience 🙃 that’s on me!

Just submitted the PR to fix it, it’s a “technicality” about one of our fields that I completely forgot about!

@tabacitu should tag it soon.

Cheers

Read more comments on GitHub >

github_iconTop Results From Across the Web

4.7. Field Values — Bugzilla 5.0.6 documentation
The value is not set as the default for the field. No bug is currently using this value. If any of these conditions...
Read more >
94668: Expression Default is made NULL during CREATE ...
Description: # Create table, 1 field with Expression Default (but no PK) # After CREATE TABLE, then ALTER the table to add the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found