Closed MBeckers closed 4 weeks ago
With Introduction of Change Fix ActionRequest inconsistently receiving comma separated string instead of array. in Laravel Nova 4.35.0
Fix ActionRequest inconsistently receiving comma separated string instead of array.
$query = $this->viaRelationship() ? $this->modelsViaRelationship() : $this->toQueryWithoutScopes()->whereKey(Arr::wrap($this->resources));
Instead of
$query = $this->viaRelationship() ? $this->modelsViaRelationship() : $this->toQueryWithoutScopes()->whereKey(explode(',', $this->resources));
Will cause to wrap the resources string into an array which will look like
[ 0 => ”firstId,secondId” ]
Thus the Request
It might be only happen for Uuids, i had not the time to dig if this issue occurs also for integer IDs
Description:
With Introduction of Change
Fix ActionRequest inconsistently receiving comma separated string instead of array.
in Laravel Nova 4.35.0Instead of
Will cause to wrap the resources string into an array which will look like
Thus the Request
It might be only happen for Uuids, i had not the time to dig if this issue occurs also for integer IDs