Dinesht04 commented on issue #1516:
URL: https://github.com/apache/answer/issues/1516#issuecomment-4177390368

   Since the problem came after the upgrade, I looked at the migrations and 
maybe this inside migration v30 is the culprit? Since the schema of the 
authorized_image_extensions and authorized_attachment_extensions is string [ ] 
. Initializing these fields without a value would give nil.
   
   
https://github.com/apache/answer/blob/fca80abbaf3807cf50c2927982033f282dc7effa/internal/migrations/v30.go#L69-L80
   
   But the values were initialized here in Migration v24 so no values in 
existing site_info data wouldn't make sense.
   
   
https://github.com/apache/answer/blob/fca80abbaf3807cf50c2927982033f282dc7effa/internal/migrations/v24.go#L59


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to