Openbravo Issue Tracking System - POS2 |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0054511 | POS2 | Core | public | 2023-12-20 11:51 | 2024-02-13 13:51 |
|
Reporter | marvintm | |
Assigned To | Triage Platform Base | |
Priority | normal | Severity | major | Reproducibility | have not tried |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | | |
Target Version | 24Q1 | Fixed in Version | | |
Merge Request Status | approved |
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 | 0054511: It should be possible to prevent undo from being available for specific state actions over an undoable model |
Description | Currently the infrastructure allows to flag a state model as undoable. This is used for the Ticket model in POS mainly at the moment.
Once the model is undoable, then the infrastructure keeps the previous state for model-specific actions, so that if undo is triggered, this state can be recovered and replaces the current one. This is possible currently for all actions for the undoable model.
However, we have identified some specific actions for which undo should not be possible, as functionally it doesn't make sense, and causes data integrity problems. We need a way to notify the infrastructure this, so that it automatically disables the undo in case these particular actions are triggered |
Steps To Reproduce | . |
Proposed Solution | Ideally, it would be great if it would be possible to flag some specific action when it is being registered, so that its execution disables the undo.
|
Additional Information | |
Tags | No tags attached. |
Relationships | blocks | feature request | 0054176 | | closed | gonzalo_fernandez | It should be possible to prevent undo from being available for specific state actions over an undoable model |
|
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2024-01-31 08:44 | AugustoMauch | Type | feature request => backport |
2024-01-31 08:44 | AugustoMauch | Target Version | => 24Q1 |
2024-01-31 08:49 | hgbot | Note Added: 0159968 | |
2024-01-31 08:50 | hgbot | Note Added: 0159969 | |
2024-02-13 13:51 | hgbot | Note Added: 0160688 | |
2024-02-13 13:51 | hgbot | Resolution | open => fixed |
2024-02-13 13:51 | hgbot | Status | scheduled => closed |
2024-02-13 13:51 | hgbot | Fixed in Version | => RR24Q1 |
2024-02-13 13:51 | hgbot | Note Added: 0160689 | |
2024-02-13 13:51 | hgbot | Note Added: 0160690 | |
2024-02-13 13:51 | hgbot | Note Added: 0160691 | |
Notes |
|
(0159968)
|
hgbot
|
2024-01-31 08:49
|
|
|
|
(0159969)
|
hgbot
|
2024-01-31 08:50
|
|
|
|
(0160688)
|
hgbot
|
2024-02-13 13:51
|
|
|
|
(0160689)
|
hgbot
|
2024-02-13 13:51
|
|
|
|
(0160690)
|
hgbot
|
2024-02-13 13:51
|
|
|
|
(0160691)
|
hgbot
|
2024-02-13 13:51
|
|
|