YAFLogo

mtsmith
  • mtsmith
  • 53.6% (Neutral)
  • YAF Forumling Topic Starter
12 years ago
Steps to reproduce:

1) Add a new album

2) Type in a title (do not click Update)

3) Click choose file to select an image to upload

4) Click Upload

5) Click Delete next to the new image

500 - Internal server error.

There is a problem with the resource you are looking for, and it cannot be displayed.

dbo.yaf_album_gettitle is being called with an AlbumID of "new" and trying to convert that to an INT which throws an exception.

Sponsor
tha_watcha
  • tha_watcha
  • 100% (Exalted)
  • YAF.NET Project Lead 🤴 YAF Version: 4.0.0 rc 2
12 years ago

Steps to reproduce:

1) Add a new album

2) Type in a title (do not click Update)

3) Click choose file to select an image to upload

4) Click Upload

5) Click Delete next to the new image

500 - Internal server error.

There is a problem with the resource you are looking for, and it cannot be displayed.

dbo.yaf_album_gettitle is being called with an AlbumID of "new" and trying to convert that to an INT which throws an exception.

Originally Posted by: mtsmith 

Fixed in Change set 934e75aec9a5