Results 1 to 4 of 4

Thread: "There is no action by that name" Error

  1. #1
    nickgiguere is offline Senior Member
    Join Date
    Jun 2009
    Posts
    24

    Default "There is no action by that name" Error

    Using 6.0.0 CE, when converting a lead I get a new page with the message:

    There is no action by that name.

    I haven't been able to find anything on that exact message in the forums. If anyone can point me in the right direction on this error, I would greatly appreciate it.

  2. #2
    erop is offline Sugar Community Member
    Join Date
    Jan 2005
    Location
    Moscow, Russia
    Posts
    107

    Default Re: "There is no action by that name" Error

    I'm too far from being Sugar' guru but I faced once with this issue when I created custom action in controller for one of my modules on SugarCE 5.5.1. The problem was that I just mistyped action name in controller.php and 'customCode' attribute for the custom button differed from it. So I could conjecture that you just slightly modified code accidentally while looking through code in editor for example. In this case I think it's reasonable to compare existing code snippets in modules/Lead/controller.php on line 63 (there should be 'convertlead') and modules/Leads/metadata/detailviewdefs.php on line 44 (there should be action=ConvertLead) and fix difference if occurs.

    Another option (in my not professional opinion of course) is that special metadata file (modules/Leads/metadata/convertdefs.php) for requested 'convertlead' view is absent or inaccessible. I don't think you could delete file even by accident. But due to some reasons this file could become unreadable for Apache server. In this case I would check permissions for this file: at least this file must be readable by Apache user (or group).

    Hope Sugar gurus will confirm my guesses or give more reliable information about issue.
    Last edited by erop; 2010-08-16 at 09:46 PM.

  3. #3
    nickgiguere is offline Senior Member
    Join Date
    Jun 2009
    Posts
    24

    Default Re: "There is no action by that name" Error

    Thank you for your help. I still have the error though after troubleshooting. I can't find any anomalies in the code and rights ... and all the files are in the correct place.

    Quote Originally Posted by erop View Post
    I'm too far from being Sugar' guru but I faced once with this issue when I created custom action in controller for one of my modules on SugarCE 5.5.1. The problem was that I just mistyped action name in controller.php and 'customCode' attribute for the custom button differed from it. So I could conjecture that you just slightly modified code accidentally while looking through code in editor for example. In this case I think it's reasonable to compare existing code snippets in modules/Lead/controller.php on line 63 (there should be 'convertlead') and modules/Leads/metadata/detailviewdefs.php on line 44 (there should be action=ConvertLead) and fix difference if occurs.

    Another option (in my not professional opinion of course) is that special metadata file (modules/Leads/metadata/convertdefs.php) for requested 'convertlead' view is absent or inaccessible. I don't think you could delete file even by accident. But due to some reasons this file could become unreadable for Apache server. In this case I would check permissions for this file: at least this file must be readable by Apache user (or group).

  4. #4
    guigui is offline Sugar Community Member
    Join Date
    Jun 2010
    Posts
    54

    Default Re: "There is no action by that name" Error

    Hi,
    I had the same problem. Adding a custom controller file breaks the lead conversion action.
    To fix it, I just copied the content of the module/lead/controller file into custom/lead/controller.
    G

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 19
    Last Post: 2010-10-07, 03:26 PM
  2. workflow - "There is no action by that name"
    By scorecomms in forum Help
    Replies: 1
    Last Post: 2010-02-25, 04:04 PM
  3. Replies: 4
    Last Post: 2009-12-18, 05:52 PM
  4. Replies: 2
    Last Post: 2008-04-28, 04:54 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •