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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0053476
TypeCategorySeverityReproducibilityDate SubmittedLast Update
design defect[Openbravo ERP] B. User interfaceminoralways2023-09-18 16:322023-10-30 10:57
ReporterdbazView Statuspublic 
Assigned ToAugustoMauch 
PrioritynormalResolutionfixedFixed in VersionPR24Q1
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
Web browser
ModulesCore
Support ticket
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0053476: Activate/Deactivate selected records shows a not user friendly message if something fails.

DescriptionActivate/Deactivate selected records shows a not user friendly message if something fails.

Error
org.hibernate.exception.GenericJDBCException: could not execute statement

I would expect a human-friendly message if there has been an error trying to update any of the records, and to know at least what has happened with in general with the records (none of them updated, only X of them updated, etc).
Steps To ReproduceIn livebuilds, as The White Valley Group Admin
Go to "Product" window
Enter in name "b" to filter products containing a "b". 71 results should be found
Select the 71 records
Click on the Activate/Deactivate button and press "Deactivate Selected Records"

The error described is shown

TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0155009)
hgbot (developer)
2023-09-19 18:27

Merge Request created: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/1000 [^]
(0156483)
hgbot (developer)
2023-10-30 10:57

Merge request merged: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/1000 [^]
(0156484)
hgbot (developer)
2023-10-30 10:57

Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/openbravo [^]
Changeset: de34fa1f59a2974447f27ae9b3ab781a77ffbed8
Author: Augusto Mauch <augusto.mauch@openbravo.com>
Date: 30-10-2023 10:56:55
URL: https://gitlab.com/openbravo/product/openbravo/-/commit/de34fa1f59a2974447f27ae9b3ab781a77ffbed8 [^]

Fixes ISSUE-53476: Show proper error when there is a problem disabling many records at once

A proper message is now shown. In order to get the underlying sql exception in this flow, DbUtility had to be updated

---
M modules/org.openbravo.client.application/src/org/openbravo/client/application/EnableOrDisableMultipleRecords.java
M src-db/database/sourcedata/AD_MESSAGE.xml
M src/org/openbravo/service/db/DbUtility.java
---

- Issue History
Date Modified Username Field Change
2023-09-18 16:32 dbaz New Issue
2023-09-18 16:32 dbaz Assigned To => Triage Platform Base
2023-09-18 16:32 dbaz OBNetwork customer => No
2023-09-18 16:32 dbaz Modules => Core
2023-09-18 16:32 dbaz Triggers an Emergency Pack => No
2023-09-19 18:23 AugustoMauch Assigned To Triage Platform Base => AugustoMauch
2023-09-19 18:23 AugustoMauch Status new => scheduled
2023-09-19 18:27 hgbot Merge Request Status => open
2023-09-19 18:27 hgbot Note Added: 0155009
2023-09-28 09:16 hgbot Merge Request Status open => approved
2023-10-30 10:57 hgbot Resolution open => fixed
2023-10-30 10:57 hgbot Status scheduled => closed
2023-10-30 10:57 hgbot Note Added: 0156483
2023-10-30 10:57 hgbot Fixed in Version => PR24Q1
2023-10-30 10:57 hgbot Note Added: 0156484


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker