Bug 1201080 - A server url set in Server Configuration cannot be unset
Summary: A server url set in Server Configuration cannot be unset
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Zanata
Classification: Retired
Component: Component-Logic
Version: 3.6
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
: 3.7
Assignee: Patrick Huang
QA Contact: Damian Jansen
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-03-12 00:54 UTC by Damian Jansen
Modified: 2015-07-22 02:19 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2015-07-22 02:19:47 UTC
Embargoed:


Attachments (Terms of Use)

Description Damian Jansen 2015-03-12 00:54:46 UTC
Description of problem:
Found in test ServerSettingsTest.java

If the user sets the Server URL in Administration->Server Config, it cannot be set to default/anything else

Version-Release number of selected component (if applicable):
3.6

How reproducible:
Easy always

Steps to Reproduce:
1. Sign in as admin (with accessible email address), go to Administration -> Server Configuration
2. Set the server url to something like http://www.example.com and Save
3. Go back into Configuration, set it to "" (empty) and Save
4. Click Contact Admin in the footer
5. Send the filled in form
6. Check email (or mspool, if desired)

Actual results:
Server location is http://www.example.com

Expected results:
Server location is deriver (e.g. localhost etc)

Additional info:

Comment 1 Patrick Huang 2015-03-12 02:08:54 UTC
https://github.com/zanata/zanata-server/pull/725

Comment 2 Damian Jansen 2015-03-17 04:31:29 UTC
Verified (master) at 8769ce18cdeda8318c6474a6aa0144f38e015add


Note You need to log in before you can comment on or make changes to this bug.