Skip to content

Reordering custom field names in 1 pass fails #2083

Description

@petecooper

Expected behaviour

Ability to move / reorder custom field names in prefs without error in 1 pass.

Actual behaviour

Moving / reordering a custom field name cannot be done in 1 pass.

Steps to reproduce

Install Textpattern, leave custom fields as defaults (i.e., custom1 and custom2).
Go to Admin -> Preferences -> Custom Fields.
Highlight custom1 text and cut it or delete it.
Enter custom1 text into an unused custom field.
Note error: "Reserved word as custom field name(s)"

Image

Workaround: interstitial Save. First pass is to remove the custom field name, then save. Second pass is to put the custom field name in its new location, then save.

Additional information

Textpattern version: Tested on 4.9.1 and 4.9.2-dev

Web server vendor and version: Apache 2.4

Database server vendor and version: Tested on Percona 8.4 and MariaDB 11.8

PHP version: PHP 8.5

Operating system: Debian 13

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions