putty
(Derek Putnam)
8 Julio, 2024 12:55
1
Cuando los usuarios intentan confirmar su asistencia a nuestro evento, aparece una ventana emergente que dice “No encontrado”, pero la confirmación de asistencia aún se registra. No creo que falte información.
https://developer.sailpoint.com/discuss/t/july-2024-ambassador-office-hours-option-1/66659/1
https://developer.sailpoint.com/discuss/t/july-2024-ambassador-office-hours-option-2/66660/1
1 me gusta
Lhc_fl
(Linca)
10 Julio, 2024 07:39
3
No puedo reproducirlo. ¿Puede proporcionar información más detallada, como una lista de los complementos instalados en el sitio, los registros del sitio (en https://example.com/logs) y en qué circunstancias ocurre este error?
1 me gusta
Lhc_fl
(Linca)
12 Julio, 2024 07:45
7
Hola @putty
¡Gracias por tu informe! Hemos localizado la causa del error y hemos enviado una corrección:
main ← fix-null-channel
opened 01:55AM - 12 Jul 24 UTC
In `topic_view` serializer, only topics that meet the tag containing `livestream… ` will have corresponding channel. The `chat_channel_id` of other topics will be `null`.
```ruby
add_to_serializer(:topic_view, :chat_channel_id) do
return nil if object.topic.topic_chat_channel.blank?
object.topic.topic_chat_channel.chat_channel_id
end
```
```ruby
def self.handle_topic_chat_channel_creation(topic)
return if topic.category.blank?
return if DiscourseLivestream::TopicChatChannel.exists?(topic_id: topic.id)
return if topic.tags.blank? || topic.tags.none? { |tag| tag.name == "livestream" }
```
In the original code, there is no handling of null cases, which will result in trying to obtain information of null channel and throwing 404.
This commit determines the case where `chat_channel_id` is `null`
before:

after:
(error be fixed)
related meta topic: https://meta.discourse.org/t/not-found-when-rsvping-to-event/315416
2 Me gusta
nat
(Natalie T)
Cerrado
15 Julio, 2024 00:00
8
Este tema se cerró automáticamente después de 2 días. Ya no se permiten nuevas respuestas.