Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

URGENT: in Production: Organization Error - when Selecting an Organizer in the Event Form and when trying to create new organization in the organization workspace #1614

Open
AbhishekPAnil opened this issue Feb 28, 2025 · 4 comments
Assignees
Labels
bug Something isn't working

Comments

@AbhishekPAnil
Copy link
Contributor

AbhishekPAnil commented Feb 28, 2025

Update from Caitlin: Thank you @AbhishekPAnil for entering this whilst I was in the demo with NAC.

This bug is affecting all calendars.
You cannot create an organization, nor can you use the dropdowns that have an organization as an option (performers/supporters/organizers).

When you try you get kicked out and sometimes you have to log back in; sometimes you can use the back button from the error page
Steps to Reproduce in Organziation workspace:

  1. Click + organization button. The error happens.

Steps to Reproduce in Events workspace:

  1. Open an existing event or create a new one.
  2. Click on the Organizers section and select any organizer from the dropdown. Same for Performers and Supporters

Actual Behavior:
An error occurs when selecting an organizer. The API request to:
https://api.cms.footlight.io/search-external-sources?query=&classes=Organization&classes=Person&sources=Artsdata&sources=Footlight&exclude-existing-cms-entites=true
returns a 500 Internal Server Error.

{
    "status": 500,
    "data": {
        "status": "failed",
        "error": "entityA.name[language]?.trim is not a function",
        "currentTime": "2025-02-28T18:37:53.102Z",
        "path": "GET /search-external-sources?query=&classes=Organization&classes=Person&sources=Artsdata&sources=Footlight&exclude-existing-cms-entites=true"
    }
}

@AbhishekPAnil AbhishekPAnil added the bug Something isn't working label Feb 28, 2025
@troughc troughc changed the title Error When Selecting an Organizer in the Event Form URGENT: in PRoduction Error When Selecting an Organizer in the Event Form and when trying to go into the organization workspace Feb 28, 2025
@troughc
Copy link
Contributor

troughc commented Feb 28, 2025

cc @saumier @sahalali please look into this bug - it is affecting all calendars

@troughc troughc changed the title URGENT: in PRoduction Error When Selecting an Organizer in the Event Form and when trying to go into the organization workspace URGENT: in Production: Organization Error - when Selecting an Organizer in the Event Form and when trying to go into the organization workspace Feb 28, 2025
@troughc troughc assigned saumier and unassigned troughc Feb 28, 2025
@saumier saumier changed the title URGENT: in Production: Organization Error - when Selecting an Organizer in the Event Form and when trying to go into the organization workspace URGENT: in Production: Organization Error - when Selecting an Organizer in the Event Form and when trying to create new organization in the organization workspace Feb 28, 2025
@sahalali
Copy link
Contributor

I have manually updated the organization (Théâtre Capitol Theatre - 67ab73fe5fd5ea0064261062) by changing the name.en to a string from a two-element array. Additionally, I have temporarily stopped the aggregators for extra safety.

@sahalali
Copy link
Contributor

sahalali commented Mar 6, 2025

@AbhishekPAnil Could you please assist me with testing this locally? . I have updated all DTOs with validations, so please test all API calls from the CMS.

Please use the branch: feature/issue-1614

@sahalali sahalali assigned AbhishekPAnil and unassigned sahalali Mar 6, 2025
@AbhishekPAnil
Copy link
Contributor Author

@sahalali
Tested in local : PASSED

@sahalali sahalali reopened this Mar 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants