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
Email Confirmation Plugin
  • Email Confirmation Plugin
  • GPEMAILCONFIRMATION-1

Default view does not resolve

  • Log In
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: None
  • Fix Version/s: 2.0.6
  • Labels:
    None

Description

The default view

def viewName = defaultView ? "/emailconfirmation/mail/confirmationRequest" : binding.view

is set hardcoded to look at path /emailconfirmation

But the path when installed is /emailConfirmation

[This problem is possible hidden on OS X case insensitive file systems]

Activity

Ascending order - Click to sort in descending order
  • All
  • Comments
  • Work Log
  • History
  • Activity
Hide
Permalink
Ken H Tanaka added a comment - 09/Aug/11 5:10 PM

On linux, Red Hat enterprise client release 6, renaming (email-confirmation-1.0.5) grails-app/views/emailConfirmation to grails-app/views/emailconfirmation seems to successfully correct this without having to change anything inside your code files.

Show
Ken H Tanaka added a comment - 09/Aug/11 5:10 PM On linux, Red Hat enterprise client release 6, renaming (email-confirmation-1.0.5) grails-app/views/emailConfirmation to grails-app/views/emailconfirmation seems to successfully correct this without having to change anything inside your code files.
Hide
Permalink
Yuriy Yarovoy added a comment - 20/Sep/11 9:46 PM

Hi, guys!

I think it would be better to change line 76 of file
/grails-app/services/com/grailsrocks/emailconfirmation/EmailConfirmationService.groovy
to
def viewName = defaultView ? "/emailConfirmation/mail/confirmationRequest" : binding.view

Show
Yuriy Yarovoy added a comment - 20/Sep/11 9:46 PM Hi, guys! I think it would be better to change line 76 of file /grails-app/services/com/grailsrocks/emailconfirmation/EmailConfirmationService.groovy to def viewName = defaultView ? "/emailConfirmation/mail/confirmationRequest" : binding.view

People

  • Assignee:
    Marc Palmer
    Reporter:
    Marc Palmer
Vote (1)
Watch (1)

Dates

  • Created:
    26/Jul/10 4:02 AM
    Updated:
    26/Jun/12 2:10 AM
    Resolved:
    26/Jun/12 2:10 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.