You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ofbiz.apache.org by "Ratnesh Upadhyay (Jira)" <ji...@apache.org> on 2026/05/29 09:30:00 UTC

[jira] [Commented] (OFBIZ-13405) Add Confirmation mechanism for Delete Operations in WebTools to Prevent Accidental Data Loss

    [ https://issues.apache.org/jira/browse/OFBIZ-13405?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18084300#comment-18084300 ] 

Ratnesh Upadhyay commented on OFBIZ-13405:
------------------------------------------

I've implemented confirmation mechanism for delete operations over following screens in webtools: 
 * Entity Data Maintenance
 * Geo Management
 * Entity Engine > Check/Update database
 * Link Geo Assoc
 * Cache Maintenance

Here is the pull request for changes: https://github.com/apache/ofbiz-framework/pull/1273

> Add Confirmation mechanism for Delete Operations in WebTools to Prevent Accidental Data Loss
> --------------------------------------------------------------------------------------------
>
>                 Key: OFBIZ-13405
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-13405
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: webtools
>            Reporter: Ratnesh Upadhyay
>            Assignee: Ratnesh Upadhyay
>            Priority: Major
>
> Currently, delete operations executed through WebTools do not require explicit user confirmation before performing destructive actions. This creates a high risk of accidental data deletion, especially when WebTools is used against production environments.
> A confirmation mechanism should be introduced for all delete actions to ensure users intentionally perform destructive operations.
> *Current Behavior* *:*
> WebTools provides direct administrative access to entities, records and maintenance operations. In the current implementation:
>  * Clicking a delete action immediately executes the deletion.
>  * There is no confirmation modal, warning message, or secondary validation step.
>  * Users can accidentally trigger delete operations due to misclicks or navigation errors.
>  * Deleted data may not be recoverable over production instance.
> This creates operational and data integrity risks.
> *Expected Behavior :* 
> Before executing any delete operation in WebTools:
>  # User should receive a confirmation dialog/modal.
>  # Warning message should clearly indicate:
>  ** Action is irreversible
>  ** Which entity/record is being deleted
>  # User must explicitly confirm the operation.
>  # Delete should proceed only after confirmation.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)