Bug 106406
Summary: | broken interface for adding/removing linked categories | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | [Retired] Red Hat Enterprise CMS | Reporter: | Vadim Nasardinov <vnasardinov> | ||||||
Component: | ui | Assignee: | Vadim Nasardinov <vnasardinov> | ||||||
Status: | CLOSED RAWHIDE | QA Contact: | Jon Orris <jorris> | ||||||
Severity: | medium | Docs Contact: | |||||||
Priority: | medium | ||||||||
Version: | nightly | CC: | bstein | ||||||
Target Milestone: | --- | ||||||||
Target Release: | --- | ||||||||
Hardware: | All | ||||||||
OS: | Linux | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | Environment: | ||||||||
Last Closed: | 2003-12-03 17:36:21 UTC | Type: | --- | ||||||
Regression: | --- | Mount Type: | --- | ||||||
Documentation: | --- | CRM: | |||||||
Verified Versions: | Category: | --- | |||||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
Cloudforms Team: | --- | Target Upstream Version: | |||||||
Embargoed: | |||||||||
Bug Depends On: | |||||||||
Bug Blocks: | 106481, 109665 | ||||||||
Attachments: |
|
Description
Vadim Nasardinov
2003-10-06 20:13:10 UTC
Created attachment 94955 [details]
screenshot showing the broken UI
Created attachment 96153 [details]
the way it works in 5.2
This is also broken in 6.0 in the same way that it is broken on the
trunk.
The way it used to work in 5.2 is shown in attachment 96153 [details].
In 5.2,
1. Go to the "Content" content section.
2. Click on the "Categories" tab.
3. Click on "Industries" (under Root / Business / Industries).
4. Click on "Edit Links".
5. Select " Arts/Television" and move it to the right.
6. Click "Finish".
The following row has been added to the cat_category_category_map table:
select * from cat_category_category_map;
category_id | related_category_id | default_p | sort_key | relation_type
-------------+---------------------+-----------+----------+---------------
..........................................................................
1057 | 1061 | | 29 | child
(29 rows)
where
select * from cat_categories;
category_id | name | description | enabled_p | abstract_p | default_ancestors
-------------+--------------+---------------+-----------+------------+-------------------
1021 | / | Root Category | 1 | 0 | 1021/
1055 | Arts | Arts | 1 | 0 | 1054/1055/
1057 | Television | Television | 1 | 0 | 1054/1055/1057/
1059 | Business | Business | 1 | 0 | 1054/1059/
1061 | Industries | Industries | 1 | 0 | 1054/1059/1061/
.........................................................................................
(32 rows)
I fixed the regression from 5.2 in change 38432. The fix merely restores the old pre-6.0 behavior. I did not try to make LinkForm use the newfangled JavaScript-based category tree selection form (ItemCategoriesForm). So, the end result is that the "Category assigment" step of the authoring kits uses the nifty new JavaScript-based UI than Dan added. The "Add or remove linked categories" section uses the old UI with multi-select boxes. I'll open a new ticket for sorting out this JavaScript-based tree business to make sure we integrate the JavaScript-based widget throughout CMS. Any remaining issues should be posted to bug 111392 (unless change 38432 introduced new bugs, in which case this ticket should be reopened). |