Config variable `contact_page_url` doesn't exist in Form

Created on 23 June 2022, almost 3 years ago
Updated 1 June 2023, almost 2 years ago

Problem/Motivation

Config schema and install both have variable as `contact_page_url` but form has `contact_url`

When default config is applied by securitytxt.settings.yml with value set on `contact_page_url`, it doesn't shows up

Steps to reproduce

Provide default config


enabled: true
contact_email: contact@site.test
contact_phone: '0123456789'
contact_page_url: 'https://www.example.com/contact-us'
encryption_public_key_url: ''
policy_page_url: ''
acknowledgement_page_url: ''
signature_text: ''
contact_url: ''
encryption_key_url: ''
policy_url: ''
acknowledgement_url: ''

Check the form and security.txt file. Above contatc page url is not present.

Proposed resolution

Two ways to fix
- change name in form
- change name in config schema and install

I will atach patch for renaming form variables.

Remaining tasks

User interface changes

API changes

Data model changes

πŸ› Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

πŸ‡¦πŸ‡ΊAustralia codepress

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024