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

uploaded picture with picture widget doesnt load on publish #232

Open
an33k opened this issue Sep 15, 2023 · 3 comments
Open

uploaded picture with picture widget doesnt load on publish #232

an33k opened this issue Sep 15, 2023 · 3 comments

Comments

@an33k
Copy link

an33k commented Sep 15, 2023

Describe the bug
uploaded picture with picture widget doesnt load on publish but the link file works

To Reproduce
Steps to reproduce the behavior:

  1. upload images using upload file with picture widget
  2. publish the change
  3. check the publish picture it doesnt load the picture

Expected behavior
uploaded picture to load on publish
Screenshots
If applicable, add screenshots to help explain your problem.
Screenshot 2023-09-15 at 9 15 30 PM

Desktop (please complete the following information):

  • OS: [macos13.5.1]
  • Browser [firefox]
  • Version [117]
@azaslonov
Copy link
Member

@an33k, do you mind providing a bit more context: Do you use any storage providers or you're describing local envionment with default components in paperbits-demo project?

@an33k
Copy link
Author

an33k commented Sep 18, 2023

i am using local environment with the default media widget where you can upload files and those files are then stored as base64 strings in the demo.json file which when i run the publish command creates a dist folder where the pictures gets saved in the content folder but those pictures dont load from there cant view those pictures and i am not using any storage provider.
Screenshot 2023-09-18 at 8 16 29 AM
Screenshot 2023-09-18 at 8 12 59 AM

@an33k
Copy link
Author

an33k commented Sep 18, 2023

i have also tried to add firebase as storage provider but it doesnt work either gives error in design
Uncaught Error: Unable to resolve collection "widgetHandlers": _validateActiveBindingCount@http://localhost:8081/editors/scripts/paperbits.js:57605:23
_getActiveBindings@http://localhost:8081/editors/scripts/paperbits.js:57591:32
_createSubRequests@http://localhost:8081/editors/scripts/paperbits.js:57634:26
./node_modules/inversify/lib/planning/planner.js/_createSubRequests/</<@http://localhost:8081/editors/scripts/paperbits.js:57658:35
./node_modules/inversify/lib/planning/planner.js/_createSubRequests/<@http://localhost:8081/editors/scripts/paperbits.js:57657:26
_createSubRequests@http://localhost:8081/editors/scripts/paperbits.js:57637:20
plan@http://localhost:8081/editors/scripts/paperbits.js:57679:27
./node_modules/inversify/lib/container/container.js/Container.prototype._planAndResolve/Container@http://localhost:8081/editors/scripts/paperbits.js:57201:37
./node_modules/inversify/lib/container/container.js/Container.prototype._get@http://localhost:8081/editors/scripts/paperbits.js:57194:44
./node_modules/inversify/lib/container/container.js/Container.prototype.getAll@http://localhost:8081/editors/scripts/paperbits.js:57123:21
./node_modules/@paperbits/common/injection/inversifyInjector.ts/bindCollectionLazily/Collection/<@http://localhost:8081/editors/scripts/paperbits.js:110596:51
@http://localhost:8081/editors/scripts/paperbits.js:34656:12
run@http://localhost:8081/editors/scripts/paperbits.js:34630:5
listener@http://localhost:8081/editors/scripts/paperbits.js:34641:6
node_modules paperbits.js:110600
task.js:61
run task.js:35
listener task.js:46

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants