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

Exception with activated Admin Panel on page with structured data #76

Closed
brotkrueml opened this issue Oct 19, 2021 · 0 comments
Closed
Assignees
Labels
bug Something isn't working

Comments

@brotkrueml
Copy link
Owner

Current behavior

With activated Admin Panel on a frontend web page an exception is thrown:

Argument 1 passed to TYPO3\CMS\Core\Utility\StringUtility::multibyteStringPad() must be of the type string, null given, called in /var/www/html/public/typo3/sysext/fluid/Classes/ViewHelpers/Format/PaddingViewHelper.php on line 106

Expected behavior/output

No exception occurs, the content of the web page is displayed and the Admin Panel works correctly.

Steps to reproduce

Open Admin Panel on a web page with structured data.

Environment

  • schema version: 2.0.2
  • TYPO3 versions: 11.5.0, 11.5.1
  • Is your TYPO3 installation set up with Composer (Composer Mode): yes
  • OS: Debian 10

Possible Solution

The bug is fixed with the next TYPO3 release (11.5.2), see: https://review.typo3.org/c/Packages/TYPO3.CMS/+/71839

As an intermediate solution, a value with an empty string can be adding when using the PaddingViewHelper in Resources/Private/Templates/AdminPanel/TypesInformation.html

@brotkrueml brotkrueml added the bug Something isn't working label Oct 19, 2021
@brotkrueml brotkrueml self-assigned this Oct 19, 2021
brotkrueml added a commit that referenced this issue Oct 19, 2021
Related: #11
Related: #74
Related: #76
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant