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)"
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
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.,
custom1andcustom2).Go to Admin -> Preferences -> Custom Fields.
Highlight
custom1text and cut it or delete it.Enter
custom1text into an unused custom field.Note error: "Reserved word as custom field name(s)"
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