Grails JIRA

  • Log In Access more options
    • Online Help
    • GreenHopper Help
    • Agile Answers
    • Keyboard Shortcuts
    • About JIRA
    • JIRA Credits
    • What’s New
  • Dashboards Access more options (Alt+d)
  • Projects Access more options (Alt+p)
  • Issues Access more options (Alt+i)
  • Agile
DirectExt Plugin
  • DirectExt Plugin
  • GPDIRECTEXT-1

Wrong router url

  • Log In
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: Bug Bug
  • Status: Open Open
  • Priority: Major Major
  • Resolution: Unresolved
  • Labels:
    None
  • Environment:
    grails 1.3.6, directext 0.1
  • Patch Submitted:
    Yes

Description

The url for ext-direct router is generated wrongly, if you try to access it from a page with a composite url like "example.com/y/x" then the router's url would look like "example.com/y/x/router", which is obviously incorrect.

To fix this issue, simply replace

directext-0.1/grails-app/views/api/index.gsp
"url":"router",

With this one:

directext-0.1/grails-app/views/api/index.gsp
"url":"${request.contextPath}/router",

This should do the trick.

Activity

Ascending order - Click to sort in descending order
  • All
  • Comments
  • Work Log
  • History
  • Activity
Contegix Support made changes - 24/Mar/11 9:55 PM
Field Original Value New Value
Project Import Thu Mar 24 21:55:00 CDT 2011 [ 1301021700396 ]
Yue Cui made changes - 25/Mar/11 12:47 AM
Component/s Grails-DirectExt [ 10614 ]
Project Grails Plugins [ 10021 ]  DirectExt Plugin [ 10096 ]
Key GRAILSPLUGINS-2747 GPDIRECTEXT-1

People

  • Assignee:
    Damien Ferrand
    Reporter:
    Sergei Lissovski
Vote (0)
Watch (0)

Dates

  • Created:
    11/Jan/11 8:16 AM
    Updated:
    25/Mar/11 12:47 AM

Agile

  • View on Board
  • Atlassian JIRA (v5.2.1#813-sha1:277a546)
  • Report a problem
  • Powered by a free Atlassian JIRA open source license for Grails project. Try JIRA - bug tracking software for your team.