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

2024-03-12 insufficient "Configuration Metadata" #110

Closed
Zweihorn opened this issue Mar 30, 2024 · 2 comments
Closed

2024-03-12 insufficient "Configuration Metadata" #110

Zweihorn opened this issue Mar 30, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@Zweihorn
Copy link
Contributor

Issue Description

Using the current "Kaos" [55.1] with the current sprintdoc 2024-03-12 template produces a "E_WARNING: Undefined array key 0" warning in the log file when the "Configuration Settings" page is accessed.

The culprit was found as the insufficient "Configuration Metadata" in file lib/tpl/sprintdoc/conf/metadata.php last line.

After changing the last line to $meta['copyright'] = array(''); there is no warning in the log file. The "Configuration Settings" page works without issue and shows the intended behaviour with the "tpl»sprintdoc»copyright" setting.

The a.m. syntax change is in accordance with https://www.dokuwiki.org/devel:configuration#classes and provides a "Default class ('setting'), textarea" definition. This avoids the 'null' reference and should meet the expectations.

See dokuwiki/dokuwiki#4252 for full bug report and dokuwiki/dokuwiki#4252 (comment) for my proposed solution.

Voila.
🌻

@Zweihorn Zweihorn added the bug Something isn't working label Mar 30, 2024
Zweihorn added a commit to Zweihorn/dokuwiki-template-sprintdoc that referenced this issue Mar 30, 2024
@splitbrain
Copy link
Member

You're right. Can you open a PR please?

@splitbrain
Copy link
Member

never mind. I overlooked that you already did :-)

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

2 participants