Issue 12505

dataset page: browse classification section: see details link broken (on staging)

12505
Reporter: kbraak
Assignee: kbraak
Type: Bug
Summary: dataset page: browse classification section: see details link broken (on staging)
Environment: Firefox 17.0.1 Mac OS X
Priority: Major
Resolution: Fixed
Status: Closed
Created: 2012-12-06 17:17:18.243
Updated: 2013-08-29 14:44:24.36
Resolved: 2012-12-20 11:20:47.182
        
Description: On staging, the browse classification section see details link adds an additional context "portal-web-dynamic/

The resulting link is:

http://api.gbif.org/portal-web-dynamic/portal-web-dynamic/species/116054971

The link that actually resolves is:

http://api.gbif.org/portal-web-dynamic/species/116054971

Please check maven settings property:

http://api.gbif.org/portal-web-dynamic]]>
    

Attachment Screen Shot 2012-12-06 at 5.00.29 PM.png


Attachment Screen Shot 2012-12-06 at 5.00.44 PM.png



Author: kbraak@gbif.org
Created: 2012-12-17 17:11:08.994
Updated: 2012-12-17 17:11:08.994
        
There is a problem on staging with the maven property servername= http://api.gbif.org/portal-web-dynamic

In BaseAction, when the cfg.baseUrl is created from servername + contextPath, the result is:

http://api.gbif.org/portal-web-dynamic/portal-web-dynamic/

I don't think the staging servername property is set correctly. Trying simply http://api.gbif.org should solve this problem. 
    


Author: kbraak@gbif.org
Created: 2012-12-19 16:35:50.147
Updated: 2012-12-19 16:35:50.147
        
I have just changed the maven profile property servername to http://staging.gbif.org:8080

This will fix the problem, without introducing other problems. 
    


Author: kbraak@gbif.org
Comment: Issue fixed, closing. 
Created: 2012-12-20 11:20:47.216
Updated: 2012-12-20 11:20:47.216