[ECOMMERCE-355] Product Picker. categoryChooserField does not support choosing categories Created: 20/Jan/21  Updated: 10/Mar/21  Resolved: 01/Feb/21

Status: Closed
Project: E-commerce
Component/s: ui, UI&Core
Affects Version/s: 1.2.3
Fix Version/s: 1.2.4

Type: Bug Priority: Critical
Reporter: Chris Jennings Assignee: Oanh Thai Hoang
Resolution: Fixed Votes: 0
Labels: maintenance
Remaining Estimate: 0d
Time Spent: 2d 20m
Original Estimate: Not Specified

Attachments: Text File categoryChooserFieldException.txt    
Issue Links:
Relates
relates to ECOMMERCE-339 Exception opening product & category ... Closed
relates to ECOMMERCE-360 Exception when open Product Chooser w... Closed
Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Bug DoR:
[ ]* Steps to reproduce, expected, and actual results filled
[ ]* Affected version filled
Epic Link: Ext DAMs maintenance & partnership support
Sprint: Add-Ons 56
Story Points: 3

 Description   

Steps to reproduce

  •  Configure a dialog using the categoryChooserField where selectProduct = false.
        category: 
          $type: categoryChooserField
          selectProduct: false
    
  •  Open the dialog and browse the categories.

Expected results

It is assumed from the name that one can browse the categories and then select one.

Actual results

  • On selecting a category and clicking "select a category", the choose dialog closes and the corresponding dialog field is empty.
  • Saving the dialog throws a java.lang.ClassCastException: java.lang.String cannot be cast to info.magnolia.ecommerce.app.common.EcommerceTreeItem (see attached)

Workaround

No apparent workaround.

Development notes


Generated at Mon Feb 12 01:43:16 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.