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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0018183
TypeCategorySeverityReproducibilityDate SubmittedLast Update
feature request[Openbravo ERP] A. Platformminorhave not tried2011-08-03 15:352011-09-02 10:30
ReportershuehnerView Statuspublic 
Assigned Tomarvintm 
PrioritynormalResolutionfixedFixed in Version3.0MP3
StatusclosedFix in branchFixed in SCM revision2301ecb7a7e2
ProjectionnoneETAnoneTarget Version3.0MP3
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0018183: new ImageBLOB reference doesn't offer zoom when record is read-only.

DescriptionThe new ImageBLOB reference in 3.0 allows to zoom into an image by clicking on it (opens a popup).

However this does not work if the record is read-only. Then no zoom cursor is shown and no zoom on click happens.
Steps To ReproduceAdd an image column to the product window/tab/table (new column varchar(32), references ad_image, reference: 'image BLOB' add to product tab of product window.

Switch to F&B admin role
create a new product with organization '*'
Add an image in the new column to that record.
Switch role to 'F&B sales' role
open form view for the previously created record.
Notice that the image is shown in the form -> correct
However on mouse-over the field no zoom-cursor is shown.
Also on click no popup with the zoomed image is shown.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0040549)
hgbot (developer)
2011-08-30 09:30

Repository: erp/devel/pi
Changeset: 2301ecb7a7e26fba43cc60827bb49440dabda35a
Author: Antonio Moreno <antonio.moreno <at> openbravo.com>
Date: Tue Aug 30 09:29:49 2011 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/2301ecb7a7e26fba43cc60827bb49440dabda35a [^]

Fixed issue 18183. Zooming in an image will work even in readonly windows. The following changes have been made:
- Moved the setting of the readonly property in the processFICresponse to _before_ the values for the columns have been set.
- The Image formitem will never be disabled. This is done to allow click() events to be triggered.
- Added updateState method to the selectorButton (the deleteButton already had it), and saved the selectorButton in the canvas object.
- In the setValue() method, added a call to the updateState method of both buttons so that it takes into account the readOnly property in the form and the one in the formitem.

---
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/form/formitem/ob-formitem-image.js
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/form/ob-view-form.js
---
(0040569)
hudsonbot (developer)
2011-08-30 19:38

A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/dfde2574ecaf [^]

Maturity status: Test
(0040704)
mtaal (manager)
2011-09-02 10:30

Nice!

- Issue History
Date Modified Username Field Change
2011-08-03 15:35 shuehner New Issue
2011-08-03 15:35 shuehner Assigned To => marvintm
2011-08-03 15:35 shuehner Modules => Core
2011-08-30 09:30 hgbot Checkin
2011-08-30 09:30 hgbot Note Added: 0040549
2011-08-30 09:30 hgbot Status new => resolved
2011-08-30 09:30 hgbot Resolution open => fixed
2011-08-30 09:30 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/2301ecb7a7e26fba43cc60827bb49440dabda35a [^]
2011-08-30 19:38 hudsonbot Checkin
2011-08-30 19:38 hudsonbot Note Added: 0040569
2011-09-02 10:30 mtaal Note Added: 0040704
2011-09-02 10:30 mtaal Status resolved => closed
2011-09-02 10:30 mtaal Fixed in Version => 3.0MP3


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker