Project:
| View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||||||
| ID | ||||||||||||
| 0049584 | ||||||||||||
| Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||||||
| feature request | [POS2] POS | minor | have not tried | 2022-06-16 13:57 | 2022-06-21 16:41 | |||||||
| Reporter | cberner | View Status | public | |||||||||
| Assigned To | Retail | |||||||||||
| Priority | normal | Resolution | open | Fixed in Version | ||||||||
| Status | new | Fix in branch | Fixed in SCM revision | |||||||||
| Projection | none | ETA | none | Target Version | ||||||||
| OS | Any | Database | Any | Java version | ||||||||
| OS Version | Database version | Ant version | ||||||||||
| Product Version | SCM revision | |||||||||||
| Merge Request Status | ||||||||||||
| Review Assigned To | ||||||||||||
| OBNetwork customer | No | |||||||||||
| Support ticket | ||||||||||||
| Regression level | ||||||||||||
| Regression date | ||||||||||||
| Regression introduced in release | ||||||||||||
| Regression introduced by commit | ||||||||||||
| Triggers an Emergency Pack | No | |||||||||||
| Summary | 0049584: Product modifiers should be moved to product.configuration.modifiers to allow deactivating them | |||||||||||
| Description | Currently when a modifier or modifier group is deactivated, it will not be present in the masterdata, and as such it is not possible to register a renderer for it in ob-init.js. Moving the configuration from current config: product.configuration: { 'AD298312DAF293801A1092310EE23': {...}, 'BC123132DAF293801A1092310EE23': {...} } to its own subobject in product.configuration.modifiers would simplify things: product.configuration: { modifiers: { 'AD298312DAF293801A1092310EE23': {...}, 'BC123132DAF293801A1092310EE23': {...} } } This would allow registering only 1 renderer, for the key string "modifiers", and will not be affected when a modifier is not present in the masterdata because it has been deactivated. | |||||||||||
| Steps To Reproduce | In description | |||||||||||
| Proposed Solution | Move configuration to be in a subobject of product.configuration, this requires checking all the places where it is being accessed or modified and take into account the new placement of modifiers. | |||||||||||
| Tags | No tags attached. | |||||||||||
| Attached Files | ||||||||||||
Relationships [ Relation Graph ]
[ Dependency Graph ]
|
||||||||
|
||||||||
Notes |
|
|
(0138419) cberner (viewer) 2022-06-16 13:58 |
A workaround has been applied in issue 49533, but this is the proper fix to the issue. |
Issue History |
|||
| Date Modified | Username | Field | Change |
| 2022-06-16 13:57 | cberner | New Issue | |
| 2022-06-16 13:57 | cberner | Assigned To | => Retail |
| 2022-06-16 13:57 | cberner | OBNetwork customer | => No |
| 2022-06-16 13:57 | cberner | Triggers an Emergency Pack | => No |
| 2022-06-16 13:58 | cberner | Relationship added | related to 0049533 |
| 2022-06-16 13:58 | cberner | Note Added: 0138419 | |
| 2022-06-21 16:41 | cberner | Type | defect => feature request |
| Copyright © 2000 - 2009 MantisBT Group |