cal.diy icon indicating copy to clipboard operation
cal.diy copied to clipboard

Null is being added to the Team URL

Open ericrommel opened this issue 3 years ago • 8 comments

Issue Summary

When adding a team from the Settings page, the Team URL is using null as the slug.

Steps to Reproduce

  1. Create an organization (/settings/organizations/new)
  2. Skip the team creation step
  3. Go to the settings page (settings/my-account/general)
  4. Go to the Add a new Team page (/settings/teams/new)
  5. Type a name and click on the Continue button
  6. Click on the Publish team
  7. Check the Team URL content

Actual Results

  • Null is being added as a slug instead of the organization name

Expected Results

  • The organization name should be used as the slug

Technical details

  • Tested on Chrome (114.0.5735.134)

Evidence

image

ericrommel avatar Jun 30 '23 17:06 ericrommel

can I work on this?

xNOVA2 avatar Jun 30 '23 20:06 xNOVA2

Sure thing @xNOVA2. Thanks!

keithwillcode avatar Jul 01 '23 05:07 keithwillcode

sorry but its my first time to contribute in open source project and i cant even clone the project properly having some issue <> this just kept on coming i tried everything to resolve this issue but bad luck

xNOVA2 avatar Jul 01 '23 15:07 xNOVA2

Hey @keithwillcode, I was looking into this but getting this error in my local environment while trying to create an organisation locally. SEND_ORG_ACCOUNT_VERIFY_EMAIL_ERROR Error: Missing credentials for "PLAIN"

Is this some issue with mailhog? Or is something wrong with my configuration?

iamr-kumar avatar Jul 01 '23 21:07 iamr-kumar

Yes as @iamr-kumar mentioned I am also getting the same issue.

sdey09 avatar Jul 02 '23 03:07 sdey09

I guess I found the solution for this SEND_ORG_ACCOUNT_VERIFY_EMAIL_ERROR Error: Missing credentials for "PLAIN". In packages/lib/serverConfig.tsx change the auth to false.

Here is the reference from nodemailer github: https://github.com/nodemailer/nodemailer/issues/1142

sdey09 avatar Jul 02 '23 06:07 sdey09

Hey @Subhojit-Dey1234, do you mean this auth?

auth: {
      user: process.env.EMAIL_SERVER_USER,
      pass: process.env.EMAIL_SERVER_PASSWORD,
 },

iamr-kumar avatar Jul 02 '23 16:07 iamr-kumar

@iamr-kumar yes

sdey09 avatar Jul 02 '23 16:07 sdey09