Joomla-Bible-Study / Proclaim

Joomla Proclaim Component - Christian Web Ministries
https://www.christianwebministries.org/
GNU General Public License v3.0
11 stars 9 forks source link

Frontend new study: Save and add media does not work #459

Closed st-anton closed 9 years ago

st-anton commented 9 years ago

In the tab 'Media Files for this Study' there is a link 'Click to Save and Add a Media File'. This does not save the study nor jump to the media edit form. Instead of the media for a page is displayed: The requested page cannot be found. 500 Layout default not found

A curious URL shows up in the browser URL line: http://localhost/j33_test/index.php/component/biblestudy/messageform# (If I add a new media, the URL looks like: http://localhost/j33_test/index.php/medien-admin/mediafileform?layout=edit&return=aHR0cDovL2xvY2FsaG9zdC9qMzNfdGVzdC9pbmRleC5waHA/b3B0aW9uPWNvbV9iaWJsZXN0dWR5JnZpZXc9bWVkaWFmaWxlbGlzdA==)

bcordis commented 9 years ago

@st-anton @tomfuller2 Please see fix and test.

st-anton commented 9 years ago

Still same behaviour.

bcordis commented 9 years ago

Did you clear your cache. I'm not able to reproduce the error now. I'll check again but this was fixed.

st-anton commented 9 years ago

I tested with Firefox and IE, cleared the cache of both before, reloaded the page again. Still the 500 error is present on both.

bcordis commented 9 years ago

This is a design and will have to change if needed.

st-anton commented 9 years ago

Now the 'save and add media file' does not crash anymore, the study is saved. But afterwards, it does not open the same study in order to add a media file, but starts a new study to fill in.

bcordis commented 9 years ago

@st-anton Can you verify this is still happening?

st-anton commented 9 years ago

Yes, still happening.

bcordis commented 9 years ago

Well that is not good. I'll look into where this is coming from. Need to fix this ASAP.

tomfuller2 commented 9 years ago

So now when I am editing a study on the front end, the # links do not work - it only stays on the first window and won't go to Media Files or Access or anything.

tomfuller2 commented 9 years ago

This now works so I am closing. Successfully added a study and media file. One thing we might consider is putting a Save button, not just Save & Close.

bcordis commented 9 years ago

@tomfuller2 Save should show up when you are editing a existing one but it will not work from when adding new one from a sermon.