Uploaded image for project: 'In-Portal CMS'
  1. In-Portal CMS
  2. INP-1045

Replace "@" with "_at_", when generating username during subscription process

    XMLWordPrintable

    Details

    • Type: Bug Report
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 5.2.0-B1
    • Fix Version/s: 5.2.0-RC1
    • Component/s: Data Management
    • Labels:
      None

      Description

      Can't Subscribe to Newsletter due to code issues in u_OnSubscribeUser event:

      Line 759 $this->RemoveRequiredFields($object);

      Line 790 if ( $object->isRequired('Username') )

      { $object->SetDBField('Username', $user_email); }

      First mentioned line ensures that 'Username' field is never set, and,
      as result - subscriber-user record is not created with error "username
      is too short" (as fact, it is empty, so it length is 0).

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                alex Alex
                Reporter:
                dmitry Dmitry Andrejev [Intechnic]
                Developer:
                Dmitry Andrejev [Intechnic]
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: