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

PHP Warnings with uploading a PDF #406

Open
1 task
mikelittle opened this issue Nov 19, 2024 · 0 comments
Open
1 task

PHP Warnings with uploading a PDF #406

mikelittle opened this issue Nov 19, 2024 · 0 comments
Labels
bug Existing functionality isn't behaving as expected

Comments

@mikelittle
Copy link
Contributor

mikelittle commented Nov 19, 2024

When uploading a PDF to a post or page, there are a number of warnings displayed from the asset-manager-fdramework.

Steps to reproduce:

  1. A New Altis Local Server site.
  2. Insert a File block
  3. Upload a PDF to a post or page.
  4. Observe the PHP warnings in the log file listed below.

No PHP warnings should be emmitted.

ubu02-php  | [19-Nov-2024 12:43:10 UTC] PHP Warning:  Undefined array key "url" in /usr/src/app/vendor/humanmade/asset-manager-framework/inc/namespace.php on line 388
ubu02-php  | [19-Nov-2024 12:43:10 UTC] PHP Warning:  Undefined array key "url" in /usr/src/app/vendor/humanmade/asset-manager-framework/inc/namespace.php on line 388
ubu02-php  | [19-Nov-2024 12:43:10 UTC] PHP Warning:  Undefined array key "url" in /usr/src/app/vendor/humanmade/asset-manager-framework/inc/namespace.php on line 388
ubu02-php  | [19-Nov-2024 12:43:10 UTC] PHP Warning:  Undefined array key "url" in /usr/src/app/vendor/humanmade/asset-manager-framework/inc/namespace.php on line 388
ubu02-php  | [19-Nov-2024 12:43:10 UTC] PHP Warning:  Undefined array key "url" in /usr/src/app/vendor/humanmade/asset-manager-framework/inc/namespace.php on line 388
ubu02-php  | [19-Nov-2024 12:43:10 UTC] PHP Warning:  Undefined array key "url" in /usr/src/app/vendor/humanmade/asset-manager-framework/inc/namespace.php on line 388
ubu02-php  | [19-Nov-2024 12:43:10 UTC] PHP Warning:  Undefined array key "url" in /usr/src/app/vendor/humanmade/asset-manager-framework/inc/namespace.php on line 388
ubu02-php  | [19-Nov-2024 12:43:10 UTC] PHP Warning:  Undefined array key "url" in /usr/src/app/vendor/humanmade/asset-manager-framework/inc/namespace.php on line 388
ubu02-php  | [19-Nov-2024 12:43:10 UTC] PHP Warning:  Undefined array key "url" in /usr/src/app/vendor/humanmade/asset-manager-framework/inc/namespace.php on line 388
ubu02-php  | [19-Nov-2024 12:43:10 UTC] PHP Warning:  Undefined array key "url" in /usr/src/app/vendor/humanmade/asset-manager-framework/inc/namespace.php on line 388
ubu02-php  | [19-Nov-2024 12:43:10 UTC] PHP Warning:  Undefined array key "url" in /usr/src/app/vendor/humanmade/asset-manager-framework/inc/namespace.php on line 388
ubu02-php  | [19-Nov-2024 12:43:10 UTC] PHP Warning:  Undefined array key "url" in /usr/src/app/vendor/humanmade/asset-manager-framework/inc/namespace.php on line 388
ubu02-php  | [19-Nov-2024 12:43:10 UTC] PHP Warning:  Undefined array key "url" in /usr/src/app/vendor/humanmade/asset-manager-framework/inc/namespace.php on line 388

Acceptance criteria:

  • Uploading a PDF should not produce PHP warnings
@mikelittle mikelittle added the bug Existing functionality isn't behaving as expected label Nov 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Existing functionality isn't behaving as expected
Projects
None yet
Development

No branches or pull requests

1 participant