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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0016338
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] A. Platformmajorhave not tried2011-03-16 18:342011-04-07 00:00
ReporterplujanView Statuspublic 
Assigned Tomtaal 
PriorityhighResolutionfixedFixed in Version3.0RC6
StatusclosedFix in branchFixed in SCM revisionf6835145eb18
ProjectionnoneETAnoneTarget Version3.0RC7
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionpiSCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0016338: Usability issue when a message is shown in Lines

DescriptionI've detected a big usability issue when creating lines. Potentially could create a deletion of data that I was not willing to delete. See steps.
Steps To Reproduce1. Enter as QAAdmin
2. Go to Purchase Invoice and create a header.
3. Go to Lines and create 3 lines. Let's assume this lines are correct data that belong to the header.
4. Click in New in order to create a fourth line in Grid view
5. Suppose an alert makes an info banner to appear (like the one reported in issue 0016337)
6. Suppose that the banner tells you that you should not create this line. Before saving, you realize that creating this line was actually a mistake.
7. So you have a banner in a new record for a line that should not be there. Click the banner (seeking for copying the message shown)
8. When clicking the banner, the record you were is saved (wrong!) and the focus was moved to header (wrong!)
9. If you do not realize the small orange line on the left and click Delete button to delete the wrong saved line, you could finish with no Invoice at all, including the header and the correct lines
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to defect 0016337 closedmarvintm Strange message "0.0 is not correct, consider using 0.00" when creating a Purchase Invoice line 

-  Notes
(0035605)
mtaal (manager)
2011-04-05 15:10

I can't really reproduce this issue (don't know how to get a message without saving the record). One change I made is that now the line is not saved anymore when clicking in the message bar, another change planned for the future is to make it better visible that a row is selected in an active or inactive view.

So afaics this issue can be closed/not reproducable, unless you can provide some way to reproduce it ofcourse.

gr. Martin
(0035607)
plujan (manager)
2011-04-05 15:39

As described in the issue steps, the issue was exposed by another issue. However, there is a way to simulate the behavior in order to see this issue.

You have to modify the Product callout in Purchase Invoice Lines, so it show a message. You can use as a base the Business Partner callout that shows a message when credit is over limit.
(0035611)
plujan (manager)
2011-04-05 15:53

Here, some simplified steps to avoid the change in the callout:
1. Enter as QAAdmin
2. Go to Purchase Invoice and create a header.
3. Go to Lines and create 3 lines. Let's assume this lines are correct data that belong to the header.
4. Click in New in order to create a fourth line in Grid view
5. Complete the product with "Raw Material A"
6. By filling the Product, the Tax is automatically filled. Delete the Tax content, leaving the field blank.
7. Click the Save button. An message will tell you that there is an error. If you click that banner to copy the content, then the focus is moved back to Header.
8. Now, if you do not realize the focus was moved, you could by mistake delete the entire Invoice instead the line.
(0035612)
hgbot (developer)
2011-04-05 16:11

Repository: erp/devel/pi
Changeset: f6835145eb18341bdf9071c6393ddd5aceff4f2d
Author: Martin Taal <martin.taal <at> openbravo.com>
Date: Tue Apr 05 16:10:27 2011 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/f6835145eb18341bdf9071c6393ddd5aceff4f2d [^]

Fixes issue 16338: Usability issue when a message is shown in Lines

---
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/ob-standard-view.js
---
(0035646)
alostale (manager)
2011-04-06 11:19

Now message appears in lines tab

- Issue History
Date Modified Username Field Change
2011-03-16 18:34 plujan New Issue
2011-03-16 18:34 plujan Assigned To => alostale
2011-03-16 18:34 plujan Modules => Core
2011-03-16 19:02 plujan Relationship added related to 0016337
2011-03-21 10:13 alostale Target Version => 3.0RC6
2011-03-21 10:13 alostale Status new => scheduled
2011-03-21 10:13 alostale Assigned To alostale => mtaal
2011-03-21 10:13 alostale fix_in_branch => pi
2011-04-05 15:10 mtaal Note Added: 0035605
2011-04-05 15:10 mtaal Status scheduled => feedback
2011-04-05 15:11 mtaal Target Version 3.0RC6 => 3.0RC7
2011-04-05 15:11 mtaal fix_in_branch pi =>
2011-04-05 15:39 plujan Note Added: 0035607
2011-04-05 15:39 plujan Status feedback => new
2011-04-05 15:53 plujan Note Added: 0035611
2011-04-05 16:11 hgbot Checkin
2011-04-05 16:11 hgbot Note Added: 0035612
2011-04-05 16:11 hgbot Status new => resolved
2011-04-05 16:11 hgbot Resolution open => fixed
2011-04-05 16:11 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/f6835145eb18341bdf9071c6393ddd5aceff4f2d [^]
2011-04-06 11:19 alostale Note Added: 0035646
2011-04-06 11:19 alostale Status resolved => closed
2011-04-06 11:20 alostale Fixed in Version => 3.0RC6
2011-04-07 00:00 anonymous sf_bug_id 0 => 3278048


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker