Conversation
|
Successfully tested, and can verify that this does fix the can not create new teams, but I've discovered that the code you added to preserve null or empty arrays, also shows the teams that were created but never shown. In the picture I attached, I created a team on the development branch which appeared then disappeared and I couldn't find it, but on using this fix, the team I made before appeared because the app hid teams that are empty. Which is why creating and assigning a user to a the new team through profile works, but not creating a team through the team management link. Good job on fixing it. I shall approve this. |
guthaVamshi
left a comment
There was a problem hiding this comment.
Checked out the pull request, reinstalled dependencies, and rebuilt the application. Tested creating a new team via Other Links → Teams → Create New Team using multiple roles, and the functionality worked as expected. Also verified that members can be added to the team successfully. Approved the PR.

pavanputti
left a comment
There was a problem hiding this comment.
I tested the fix by checking out the current branch, running npm install, and starting the app locally after clearing the site data and cache. I logged in as an admin user, navigated to "Other Links" > "Teams" > "Create New Team," and verified that I could successfully create a new team, with the newly created team appearing as expected.
npolasani
left a comment
There was a problem hiding this comment.
Checked out the branch and ran npm install to install dependencies and successfully ran the backend locally. Logged in on the frontend as both Admin and Owner roles.
Navigated to Other Links → Teams → Create New Team.
Successfully created a new team and added members without issues. Reviewed the code and Approving the PR.
harika-majji
left a comment
There was a problem hiding this comment.
Take a look at the frontend pr for detailed comments. The edit button is not working for updating team information.
be321ca to
a4c01d1
Compare
…ndContact Co-authored-by: Cursor <cursoragent@cursor.com>






Description
This PR resolves an issue where users were unable to create new teams. The changes ensure that the team creation functionality now works as intended.

Related PRS (if any):
This backend PR is not related to any frontend PR.
Main changes explained:
How to test:
npm installand...to run this PR locallyScreenshots or videos of changes:
Note:
Include the information the reviewers need to know.