Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0054046
TypeCategorySeverityReproducibilityDate SubmittedLast Update
feature request[POS2] Coremajorhave not tried2023-11-29 09:582023-12-11 17:10
ReporterebecerraView Statuspublic 
Assigned ToTriage Platform Base 
PrioritynormalResolutionfixedFixed in Version24Q1
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Merge Request Statusapproved
Review Assigned To
OBNetwork customerNo
Support ticket
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0054046: Allow to execute a form action from outside the form

DescriptionWhen using a form (BaseForm) in a multi tab dialog component (MultiTabBaseDialog) will be need execute action in the form handler.
Steps To ReproduceN/A
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0157789)
hgbot (developer)
2023-11-29 10:08

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/merge_requests/1299 [^]
(0158055)
hgbot (developer)
2023-12-11 17:10

Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2 [^]
Changeset: 8ba6d023f2e8d6fd71e0a5311ea30f83e3b6a095
Author: Eduardo Becerra (OB) <eduardo.becerra@openbravo.com>
Date: 11-12-2023 16:10:47
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/commit/8ba6d023f2e8d6fd71e0a5311ea30f83e3b6a095 [^]

Fixes ISSUE-54046: Add a new param "triggerAction" to BaseForm component to allow executing form actions from outside

A new prop is added "triggerAction" which receives an object of this type: {action: "nameOfTheAction", sequence: 0, options: {}}

The sequence should be increased each time the trigger action is changed, as to allow executing the same form handler action twice.
This allows having for examples buttons that might execute a submit action on the BaseForm without them being related.

---
M web-jspack/org.openbravo.core2/src/components/Form/BaseForm.jsx
M web-jspack/org.openbravo.core2/src/components/Form/__test__/BaseForm.test.jsx
---
(0158056)
hgbot (developer)
2023-12-11 17:10

Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/merge_requests/1299 [^]

- Issue History
Date Modified Username Field Change
2023-11-29 09:58 ebecerra New Issue
2023-11-29 09:58 ebecerra Assigned To => Triage Platform Base
2023-11-29 09:58 ebecerra OBNetwork customer => No
2023-11-29 09:58 ebecerra Triggers an Emergency Pack => No
2023-11-29 10:01 guilleaer Summary Allow a form action to be executed outside the form => Allow to execute a form action from outside the form
2023-11-29 10:08 hgbot Merge Request Status => open
2023-11-29 10:08 hgbot Note Added: 0157789
2023-12-11 17:08 hgbot Merge Request Status open => approved
2023-12-11 17:10 hgbot Resolution open => fixed
2023-12-11 17:10 hgbot Status new => closed
2023-12-11 17:10 hgbot Fixed in Version => 24Q1
2023-12-11 17:10 hgbot Note Added: 0158055
2023-12-11 17:10 hgbot Note Added: 0158056


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker