[wp-trac] [WordPress Trac] #58980: Bug Alert: Post Editor Fails to Create Categories or Tags with Long Text; No Error Message Displayed!

WordPress Trac noreply at wordpress.org
Fri Aug 4 06:23:53 UTC 2023


#58980: Bug Alert: Post Editor Fails to Create Categories or Tags with Long Text;
No Error Message Displayed!
-------------------------------------------------+-------------------------
 Reporter:  nandhuraj                            |      Owner:  (none)
     Type:  defect (bug)                         |     Status:  new
 Priority:  normal                               |  Milestone:  Awaiting
                                                 |  Review
Component:  Posts, Post Types                    |    Version:  trunk
 Severity:  major                                |   Keywords:  needs-patch
  Focuses:  ui, accessibility, template,         |
  coding-standards                               |
-------------------------------------------------+-------------------------
 === Description

 When attempting to create a category or tags with very long text in the
 post editor page, the category or tags are not being created. Furthermore,
 there is no error message or notification displayed for mentioning about
 exceeding the character limit; the post editor page simply refreshes/
 removes the category entered in the field.

 === Environment

 - WordPress: 6.3-RC3-56344
 - PHP: 7.4.33
 - Server: TasteWP-S4 Official/3.0.0
 - Database: mysqli (Server: 8.0.32-0ubuntu0.20.04.2 / Client: mysqlnd
 7.4.33)
 - Browser: Chrome 114.0.0.0 (macOS)
 - Theme: Twenty Twenty-Three 1.2
 - MU-Plugins: None activated
 - Plugins:
   * WordPress Beta Tester 3.5.2

 === Steps to Reproduce

 1. Go to Dashboard > Post > Edit post.

 2. Try adding a post category or tags with very long text in the “New
 Category Name field”.

 For example:
 "Thisisjustanexamplecategorytextsample.Thisisjustanexamplecategorytextsample.ThisisjustanexamplecategorytextsampleThisisjustanexamplecategorytextsample.Thisisjustanexamplecategorytextsample.Thisisjustanexamplecategorytextsample."

 3. Click Add New Category

 4. . 🐞 Bug occurs.

 === Expected Results

 1.  ✅ Either the category/tags should be created successfully, or there
 should be a notification indicating the error or a character limit.

 === Actual Results

 1.  ❌ The post editor page simply refreshes/removes the category entered
 in the field without creating the category/tag, and there is no error
 message or notification displayed mentioning about exceeding the character
 limit.

 Screenshot attached for reference.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/58980>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list