Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0010955Openbravo ERPA. Platformpublic2009-10-14 12:122010-04-16 06:22
roklenardic 
roklenardic 
normalminoralways
closedno change required 
5
2.50MP6 
2.50MP12 
Core
No
0010955: Callouts stop working in the app when called from a button
If there is a link or a button to the login screen of the Openbravo ERP such as:
* <a href="http://ec2-67-202-1-77.compute-1.amazonaws.com" [^] [^] target="_blank">
OR
* <input type='button' onClick="window.open('http://ec2-67-202-1-77.compute-1.amazonaws.com','vm' [^])" [^] name="ov" value="Open My Virtual Machine">

once you login, all callouts do not work which make the application unusable.

This is a similar issue to this one
https://issues.openbravo.com/view.php?id=8911 [^]
No tags attached.
related to defect 0008911 closed iperdomo menu in Openbravo app called from a link does not work 
related to defect 00113792.50MP11 closed iperdomo Error with Internal link 
related to defect 0019038 closed alostale App opened with window.open or link from another domain makes popups not to work 
html index.html (317) 2010-01-21 15:53
https://issues.openbravo.com/file_download.php?file_id=2154&type=bug
png issue10955.png (188,596) 2010-04-15 16:49
https://issues.openbravo.com/file_download.php?file_id=2447&type=bug
png
Issue History
2009-10-14 12:12roklenardicNew Issue
2009-10-14 12:12roklenardicAssigned To => rafaroda
2009-10-15 00:17roklenardicNote Added: 0021020
2009-10-16 13:47psarobeStatusnew => scheduled
2009-10-16 13:47psarobeAssigned Torafaroda => iperdomo
2009-10-16 13:47psarobefix_in_branch => pi
2009-10-19 07:09rafarodaRelationship addedrelated to 0008911
2009-12-16 10:41alostaleRelationship addedrelated to 0011379
2010-01-21 14:49roklenardicNote Added: 0023714
2010-01-21 15:41iperdomoTarget Version => 2.50MP12
2010-01-21 15:41iperdomofix_in_branchpi =>
2010-01-21 15:42iperdomoNote Added: 0023716
2010-01-21 15:53iperdomoFile Added: index.html
2010-02-15 10:52hgbotCheckin
2010-02-15 10:52hgbotNote Added: 0024249
2010-02-15 10:52hgbotStatusscheduled => resolved
2010-02-15 10:52hgbotResolutionopen => fixed
2010-02-15 10:52hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/ed92f2cb4256aa1c030ec64d0950454a88ee75b4 [^]
2010-02-16 01:41hudsonbotCheckin
2010-02-16 01:41hudsonbotNote Added: 0024371
2010-02-17 16:58dbazNote Added: 0024500
2010-02-17 16:58dbazStatusresolved => closed
2010-02-18 00:00anonymoussf_bug_id0 =>
2010-02-19 13:02gorka_gilIssue Monitored: gorka_gil
2010-02-19 13:07gorka_gilIssue End Monitor: gorka_gil
2010-03-10 18:28anonymoussf_bug_id => 2967931
2010-04-13 19:33roklenardicNote Added: 0026152
2010-04-13 19:33roklenardicStatusclosed => new
2010-04-13 19:33roklenardicResolutionfixed => open
2010-04-13 19:34roklenardicNote Added: 0026153
2010-04-13 19:37iperdomoNote Added: 0026154
2010-04-15 16:49iperdomoFile Added: issue10955.png
2010-04-15 16:52iperdomoNote Added: 0026277
2010-04-15 16:52iperdomoAssigned Toiperdomo => roklenardic
2010-04-15 16:52iperdomoStatusnew => feedback
2010-04-15 20:08roklenardicNote Added: 0026288
2010-04-16 06:22iperdomoStatusfeedback => closed
2010-04-16 06:22iperdomoResolutionopen => no change required
2011-11-10 20:58roklenardicRelationship addedrelated to 0019038

Notes
(0021020)
roklenardic   
2009-10-15 00:17   
Actually, the blue links (like the link to the Business Partner inside a Sales Order) stops working too under the same circumstances.
(0023714)
roklenardic   
2010-01-21 14:49   
the blue links still do not work in MP9 when the app is called from a button as mentioned above. what is the status of this bug?
(0023716)
iperdomo   
2010-01-21 15:42   
@roklenardic:
Will be fixed for 2.50MP12. I just updated the target version.
(0024249)
hgbot   
2010-02-15 10:52   
Repository: erp/devel/pi
Changeset: ed92f2cb4256aa1c030ec64d0950454a88ee75b4
Author: Iván Perdomo <ivan.perdomo <at> openbravo.com>
Date: Mon Feb 15 10:51:46 2010 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/ed92f2cb4256aa1c030ec64d0950454a88ee75b4 [^]

Fixes issue 10955: Moved autosave detection duplicated logic to a function

---
M src/org/openbravo/erpCommon/security/Login_F1.html
M web/js/utils.js
---
(0024371)
hudsonbot   
2010-02-16 01:41   
A changeset related to this issue has been promoted to main after passing a series of tests and an OBX has been generated:

Changeset: http://code.openbravo.com/erp/devel/main/rev/ed92f2cb4256 [^]
Merge Changeset: http://code.openbravo.com/erp/devel/main/rev/5ae4a54f2372 [^]
Tests: http://builds.openbravo.com/view/devel-int/ [^]
OBX: http://builds.openbravo.com/erp/core/obx/OpenbravoERP-2.50CI.16398.obx [^]
(0024500)
dbaz   
2010-02-17 16:58   
Now it works
(0026152)
roklenardic   
2010-04-13 19:33   
Callouts still do not fire correctly:
There is not callout at Sales/Purchase Orders/Invoices. This means, once
the product is selected, no prices, no units, no taxes, no price
adjustments, no uomordered, nothing is updated. As I know, this is a big
issue.
- Same callout incidence happens when creating a Work Effort, on
production Run tab, no required qty is updated. As is mandatory and not
editable... it doesn't work.
- When creating an inventory, at lines tab, the unit is not editable, but
doesn't change when the product is selected. Neither the ordereduom and
orderedqty do.
- Requisitions an work requirements are created with entity * so can not
be completed. Further more, if I create new manufacturing plans, the
application allows creating new work requirements but not new
requisitions.
- some selector do not work frecuently
(password selector, address selector, etc.), navigating from main tab to
child tab (Accounting report setup, for example).
(0026153)
roklenardic   
2010-04-13 19:34   
forgot to mention, I was referring to MP12 that we use in training. Don't know if it might have been fixed in mp13 or mp14 maybe?
(0026154)
iperdomo   
2010-04-13 19:37   
@roklenardic

Please always check if an issue was fixed in the latest available release before reopen an issue. In this case, you _must_ check that is not working in 2.50MP14 and that you have a correctly upgraded version and your browsers cache in clean.

Can you please confirm that is not working in 2.50MP14?
(0026277)
iperdomo   
2010-04-15 16:52   
I have tested the application, open it from an external location:

http://huehner.org/projects/openbravo/issue10955.html [^]

It opens the live build from _main_ mercurial repo, and is working just fine.

I have attached also an image of the network transfer of the callouts execution.

Can you please confirm that is working and close the issue?

Cheers,

Iván
(0026288)
roklenardic   
2010-04-15 20:08   
I can confirm that it works in MP14. thanks!