jfrux / ccpd-platform

the current code powering ccpd.uc.edu
MIT License
0 stars 0 forks source link

Dashboard Template Links - Not being properly filled in #19

Closed slamkajs closed 11 years ago

slamkajs commented 11 years ago

Some links are including "WebPath" to the controller.action section.

Example: http://localhost:8888/admin/index.cfm/event/WebPathPerson.Detail?PersonID=289784

slamkajs commented 11 years ago

To fix this bug, I updated the SQL scalar-valued function called ceschema.mergeToContent. In the section for person types, I modified the ToCotent variable to remove 'WebPath'. Below is the code.

ORIGINAL

Replace(Replace(ToContent,'<br>',' / '),'<br />',' / ')

UPDATED

Replace(Replace(Replace(ToContent,'<br>',' / '),'<br />',' / '), 'WebPath', '')