In-Portal Issue Tracker - In-Portal CMS
Viewing Issue Advanced Details
849 [In-Portal CMS] Data Management bug report always 2010-08-31 14:56 2012-05-17 04:58
alex  
alex  
normal  
closed 5.1.0  
fixed  
 
none 5.1.1-B1  
http://groups.google.com/group/in-portal-bugs/browse_thread/thread/2a3fb2b5b8d4f783
0
0000849: Link, created from cron always use "localhost" instead of site url
Since "localhost" is set as $_SERVER['HTTP_HOST'] in "tools/cron.php" file, then kApplication::BaseURL will return "http://localhost" instead of actual site url.

To solve this we need to use "Domain" value from "config.php" file.
related to 0001005closed  (5.2.0)alex Incorrectly Detected BASE_PATH in Cron 
related to 0001289closed  (5.2.0)alex Incorrect link are build from cron 
patch http_host_in_command_line.patch (1,213) 2010-08-31 14:56
http://tracker.in-portal.org/file_download.php?file_id=743&type=bug
Issue History
2012-05-17 04:59 alex Relationship added related to 0001289
2012-05-17 04:58 alex Relationship added related to 0001005
2010-11-30 12:48 Dmitry Note Added: 0003025
2010-11-30 12:48 Dmitry Status resolved => closed
2010-09-27 12:39 Dmitry Target Version Icebox => 5.1.1
2010-09-06 05:48 alex Note Added: 0002776
2010-09-06 05:48 alex Status reviewed and tested => resolved
2010-09-06 05:48 alex Fixed in Version => 5.1.1-B1
2010-09-06 05:48 alex Resolution open => fixed
2010-09-06 05:48 alex Assigned To !COMMUNITY => alex
2010-09-06 05:48 alex Changeset attached 5.1.x r13919
2010-09-05 20:48 Dmitry Note Added: 0002767
2010-09-05 20:48 Dmitry Status needs testing => reviewed and tested
2010-08-31 14:57 alex Assigned To => !COMMUNITY
2010-08-31 14:57 alex Developer => alex
2010-08-31 14:57 alex Status active => needs testing
2010-08-31 14:56 alex New Issue
2010-08-31 14:56 alex File Added: http_host_in_command_line.patch
2010-08-31 14:56 alex Reference => http://groups.google.com/group/in-portal-bugs/browse_thread/thread/2a3fb2b5b8d4f783

Notes
(0002767)
Dmitry   
2010-09-05 20:48   
Patch tested good - thanks for the fix. Ready to be committed.
(0002776)
alex   
2010-09-06 05:48   
Fix committed to 5.1.x branch. Commit Message:

Fixes 0000849: Link, created from cron always use "localhost" instead of site url
(0003025)
Dmitry   
2010-11-30 12:48   
Closing released 5.1.1 task.