Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
5.0
-
None
-
None
-
FireFox 3.1
Description
After I pulling the latest trunk code, and building , I tried out the new media file stuff.
I ran into a small UI bug.
When I click on Media Files, I successfully uploaded a image file, and ended up on the MediaFileAddSuccess.jsp page.
On this page there is a button "Create Post with Image", I click this and it redirects to the blog entry page, but it does not
include the image file.
Since I was in debug mode, I noticed that java class: EntryAddWithMediaFile, method: Execute expects a value for type, but
the page MediaFileAddSuccess.jsp does not have a type checkbox or dropdown that sets the type.
I have included a patch for MediaFileAddSuccess.jsp that adds a dropdown for users to select either a type of "weblog" or "podcast" and additional text for the dropdown's title in ApplicationResources patch.