I've discovered an incompatibility between Legal and Dialog API.

When an administrator creates an account for a user, and then the user attempts to log in via the user login modal dialog, a jscript error comes up which makes the login process fail. Once the user logs in via the normal drupal /user/login page and accepts the terms and conditions, this problem goes away and the user can subsequently log in using modal dialogs.

[Preconditions]
Drupal 6.17
Legal 6.x-2.2-beta4
Dialog API 6.x-1.x-dev [2010-Feb-23]
Dialog User (ships with Dialog API)

[Replication]
After enabling all these modules, do the following:

  1. Log in as a user with 'administer users' and 'administer blocks' permissions
  2. Enable the "Dialog user login" block
  3. Create a user via admin/user/user/create
    Make sure the user is 'Active'
  4. Log out
  5. Click the login link that is in the "Dialog user login" block
  6. Attempt to log in with the account just created

Comments

ongdesign’s picture

I can confirm this -- getting the same behavior. This also applies to users who created their accounts normally before the Legal module was installed.

robert castelo’s picture

Could you re-test with Legal 6.x.8.4.

JeschMB’s picture

Same problem with Legal 6.x.8.5.

Related to http://drupal.org/node/664560.

robert castelo’s picture

Issue summary: View changes
Status: Active » Closed (outdated)