Issue with Browse field on Demo
arb362 opened this issue · comments
Bug report
The Browse field does not work correctly because there are two missing files that aren't cached by basset. You can can view this on the demo by going to https://demo.backpackforlaravel.com/admin/pet-shop/owner/create
Because this is technically a bug on the browse field that is in the pro package I wasn't sure exactly where to report this or even submit a fix for it so if this isn't the right spot sorry!
What I did:
Opened a browse field and received a blank screen that never loaded.
What I expected to happen:
Opening the browse field would display the elfinder
What happened:
Opening the browse field gave a blank window.
What I've already tried to fix it:
Disabling basset caching via the env variable fixes everything.
The fix is to add
@basset('https://unpkg.com/jquery-colorbox@1.6.4/example2/images/loading.gif')
@basset('https://unpkg.com/jquery-colorbox@1.6.4/example2/images/controls.png')
on line 35 of browse.blade.php
At least it fixed it for me in my app :)
Backpack, Laravel, PHP, DB version:
PHP VERSION:
PHP 8.2.5 (cli) (built: Apr 14 2023 18:04:14) (NTS)
Copyright (c) The PHP Group
Zend Engine v4.2.5, Copyright (c) Zend Technologies
LARAVEL VERSION:
10.25.2.0
BACKPACK PACKAGE VERSIONS:
backpack/basset: 1.2.1
backpack/crud: 6.2.2
backpack/filemanager: 3.0.4
Hello there! Thanks for opening your first issue on this repo!
Just a heads-up: Here at Backpack we use Github Issues only for tracking bugs. Talk about new features is also acceptable. This helps a lot in keeping our focus on improving Backpack. If you issue is not a bug/feature, please help us out by closing the issue yourself and posting in the appropriate medium (see below). If you're not sure where it fits, it's ok, a community member will probably reply to help you with that.
Backpack communication mediums:
- Bug Reports, Feature Requests - Github Issues (here);
- Quick help (How do I do X) - Gitter Chatroom;
- Long questions (I have done X and Y and it won't do Z wtf) - Stackoverflow, using the
backpack-for-laravel
tag;
Please keep in mind Backpack offers no official / paid support. Whatever help you receive here, on Gitter, Slack or Stackoverflow is thanks to our awesome awesome community members, who give up some of their time to help their peers. If you want to join our community, just start pitching in. We take pride in being a welcoming bunch.
Thank you!
--
Justin Case
The Backpack Robot
Oops Sorry. I meant to post this on the Crud Repo and I posted it here.