Development

#3267 (sfWebController in Symfony1.1 requires that internal URI must contain a module and an action (module/action))

You must first sign up to be able to contribute.

Ticket #3267 (reopened defect)

Opened 8 months ago

Last modified 2 months ago

sfWebController in Symfony1.1 requires that internal URI must contain a module and an action (module/action)

Reported by: gurdiga Assigned to: fabien
Priority: minor Milestone:
Component: sfGuardPlugin Version: 1.1.4
Keywords: Cc:
Qualification: Unreviewed

Description

The svn version (Thu Apr 3 10:13:35 EEST 2008) of Symfony 1.1 does not work with the sfGuardPlugin. Immediatelly after I submit the login form of sfGuardPlugin it throws this exception:

InvalidArgumentException

An internal URI must contain a module and an action (module/action) ("logout" given). stack trace

at () in SF_SYMFONY_LIB_DIR/controller/sfWebController.class.php line 151 ...

       148.     }
       149.     else
       150.     {
       151.       throw new InvalidArgumentException(sprintf('An internal URI must contain a module and an action (module/action) ("%s" given).', $givenUrl));
       152.     }
       153.
       154.     // split the query string

Change History

05/23/08 00:01:21 changed by FabianLange

i just assume that sfGuard is fine here. then its a duplicate of #3613 but in case sfGuard needs to be fixed ill keep this one open.

05/23/08 08:36:10 changed by fabien

sfGuard must be fixed as the symfony behavior is the right one in sf 1.1. You must pass a module and an action separated by a /.

I've checked sfGuardPlugin and don't see where the problem is. Can you give us the full stack trace?

05/23/08 11:29:03 changed by gurdiga

  • status changed from new to closed.
  • resolution set to fixed.

I did not keep the original project, but, right now I've repeated the procedure: - downloaded fresh 1.1 version from SVN (Fri May 23 12:25:13 EEST 2008); - created new project, application and module; - installed sfGuard plug-in following instructions;

and, now it looks fixed: I could authenticate successfully.

Thanks!!

10/09/08 16:00:22 changed by reynierpm

  • status changed from closed to reopened.
  • version changed from 1.1.0 DEV to 1.1.4.
  • resolution deleted.

I do the same as gurdiga and still having the same message. What I'm do? First download fresh copy of Symfony from http://www.symfony-project.org/get/symfony-1.1.4.tgz, second download a fresh copy of sfGuardPlugin from http://www.symfony-project.org/plugins/sfGuardPlugin/2_2_0 and then install the plugin as the doc said. After that steps and when I try to login in the system I get the same error. Any help?