Make WordPress Core

Opened 15 years ago

Closed 15 years ago

#10176 closed defect (bug) (duplicate)

Cannot create new child category with same name from post panel

Reported by: achairapart's profile achairapart Owned by: azaozz's profile azaozz
Milestone: Priority: normal
Severity: normal Version: 2.8
Component: JavaScript Keywords: category, subcategory, post panel
Focuses: Cc:

Description

From post panel is not possible to create a child category with the same name of another child category from different parent.


example:

with this pattern:

  • category1
    • subcat
  • category2

In post panel it's impossible to create a category called 'subcat' as a child of 'category2'.


Returned Error from FIREBUG:

uncaught exception: [Exception... "Could not convert JavaScript argument arg 0 [nsIDOMViewCSS.getComputedStyle]"  nsresult: "0x80570009 (NS_ERROR_XPC_BAD_CONVERT_JS)"  location: "JS frame :: http://localhost/projects/x/wp-admin/load-scripts.php?c=1&load=jquery,utils,editor,quicktags&ver=33f9a1c72519a04d2fd7dd5a26c9ec8d :: anonymous :: line 12"  data: no]
http://localhost/projects/x/wp-admin/post.php?action=edit&post=56
Line 35

Tested on Firefox 3.0.11/win. Wordpress 2.8 runs locally on XAMPP/Windows.

Note: this happens only in Add New or Edit Panel, no issues with the Category Panel.

Change History (2)

#1 @achairapart
15 years ago

  • Cc achairapart added

#2 @Denis-de-Bernardy
15 years ago

  • Milestone Unassigned deleted
  • Resolution set to duplicate
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.