Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0013954Openbravo ERP01. General setuppublic2010-07-14 09:352010-08-04 00:00
networkb 
harikrishnan 
highminoralways
closedfixed 
5
2.50MP19 
2.50MP21 
Core
No
0013954: The URL field does not work properly
If you introduce a URL with minus sign ('-') or underscore sign ('_') the application shows that the value is not valid (see file attached).

It is possible navigate to the URL.
- As Openbravo Admin go to Master Data Management || Business Partner
- URL: http://www.uni-due.com/ [^]
- Realize that the application shows an error (see file attached)
No tags attached.
png URL.png (19,032) 2010-07-14 09:35
https://issues.openbravo.com/file_download.php?file_id=2763&type=bug
png
Issue History
2010-07-14 09:35networkbNew Issue
2010-07-14 09:35networkbAssigned To => adrianromero
2010-07-14 09:35networkbFile Added: URL.png
2010-07-14 13:11rafarodaIssue Monitored: rafaroda
2010-07-20 11:49adrianromeroStatusnew => scheduled
2010-07-20 11:49adrianromerofix_in_branch => pi
2010-07-29 08:03harikrishnanAssigned Toadrianromero => harikrishnan
2010-07-29 08:04hgbotCheckin
2010-07-29 08:04hgbotNote Added: 0029652
2010-07-29 08:04hgbotStatusscheduled => resolved
2010-07-29 08:04hgbotResolutionopen => fixed
2010-07-29 08:04hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/f5ab5102175ea51edc90cbf00def3173b39821f4 [^]
2010-07-29 08:05harikrishnanNote Added: 0029653
2010-07-29 16:14hudsonbotCheckin
2010-07-29 16:14hudsonbotNote Added: 0029669
2010-08-03 11:57sureshbabuNote Added: 0029765
2010-08-03 11:57sureshbabuStatusresolved => closed
2010-08-04 00:00anonymoussf_bug_id0 => 3039043

Notes
(0029652)
hgbot   
2010-07-29 08:04   
Repository: erp/devel/pi
Changeset: f5ab5102175ea51edc90cbf00def3173b39821f4
Author: Harikrishnan Raja <harikrishnan.raja <at> openbravo.com>
Date: Thu Jul 29 11:33:51 2010 +0530
URL: http://code.openbravo.com/erp/devel/pi/rev/f5ab5102175ea51edc90cbf00def3173b39821f4 [^]

Fixes Issue 13954: The URL field does not work properly.

---
M web/js/default/UrlTextBox.js
---
(0029653)
harikrishnan   
2010-07-29 08:05   
Steps to test:

*Go to Master Data Management || Business Partner in the field "URL" enter these values for testing.
    1)http://www.uni-due.com/ [^]
    2)http://www.uni-due.com/a-b [^]
    3)http://www.uni-due.com/a_b [^]
    4)http://www.uni-due.com/a_b-c [^]
    5)http://www.uni-due.com/a-b_c [^]
    6)http://www.unidue.com/ [^]

Root Cause:
*Before in the regular expression '-' and '_' are not validated.

Impact:
*Their is no impact ,because their is just adding of two symbols in the regular expression for validation.
(0029669)
hudsonbot   
2010-07-29 16:14   
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/f5ab5102175e [^]
Merge Changeset: http://code.openbravo.com/erp/devel/main/rev/9e1bb4f5ae0b [^]
Tests: http://builds.openbravo.com/view/int/ [^]
OBX: http://builds.openbravo.com/erp/core/obx/OpenbravoERP-2.50CI.17932.obx [^]
(0029765)
sureshbabu   
2010-08-03 11:57   
verified, right now i am not getting the error message mentioned by the reporter