CoreCommunity ExtensionsIncubatorDistributionsTYPO3 4.5 ProjectsTYPO3 4.6 ProjectsTYPO3 4.7 ProjectsTYPO3 6.0 ProjectsTYPO3 6.1 ProjectsTYPO3 6.2 Projects (+)

Bug #8145

No preview on new posts

Added by Hauke Hain almost 3 years ago. Updated over 2 years ago.

Status:Resolved Start date:2010-06-10
Priority:Should have Due date:
Assignee:Hauke Hain % Done:

100%

Category:Forum
Target version:-
Votes: 0

Description

If you create a new topic or edit a post the preview button works as expected. But if you create a new post no preview is shown.

Associated revisions

Revision 11015
Added by Dmitry Dulepov almost 5 years ago

Fixed bug #8145: wrong links in notification mail if typo3 runs in a subdir of domain

Revision 34258
Added by Hauke Hain almost 3 years ago

[#BUGFIX] No preview on new posts (fixed Bug #8145)

Revision 9f9292a6
Added by Hauke Hain almost 3 years ago

[#BUGFIX] No preview on new posts (fixed Bug #8145)

git-svn-id: https://svn.typo3.org/TYPO3v4/Extensions/mm_forum/trunk@34258 735d13b6-9817-0410-8766-e36946ffe9aa

Revision 34843
Added by Hauke Hain almost 3 years ago

[#BUGFIX] No preview on new posts (bug #8145) -> Replacement in post editing was missing as the preview was added automatically on top. It uses the marker now.

Revision 80093c6d
Added by Hauke Hain almost 3 years ago

[#BUGFIX] No preview on new posts (bug #8145) -> Replacement in post editing was missing as the preview was added automatically on top. It uses the marker now.

git-svn-id: https://svn.typo3.org/TYPO3v4/Extensions/mm_forum/trunk@34843 735d13b6-9817-0410-8766-e36946ffe9aa

History

Updated by Hauke Hain almost 3 years ago

  • Status changed from Accepted to Resolved
  • % Done changed from 0 to 100

Applied in changeset r34258.

Updated by Harold Jaspers over 2 years ago

Hauke Hain wrote:

Applied in changeset r34258.

Unfortunately this patch creates a new issue: while editing your last post the added code (###POST_PREVIEW###) is shown as plain text above the header. I tried both downloading the attached HTML file and editing the current file myself. Same result.

So, fortunately the preview button works again after applying this patch, but that code should not be shown as plain text while editing your last post.

Thanks anyway, hope you're able to fix this as well.

Harold

Updated by Hauke Hain over 2 years ago

Do you patched an old version or do you use the current SVN version?

I do not have this behaviour, but I did not update for a long time to the current SVN. As my times allows it, i'll do it.

Updated by Harold Jaspers over 2 years ago

Recently I upgraded mm_forum from v1.8.2 using the TYPO3 backend on both my live server and testing server. I applied this particular patch to the live server only (such a small change) and that results in the mentioned behavior. This morning I checked the testserver and believe me or not, that site does not show the non functional preview button at all - without applying the patch! So there appears to be a difference between my testserver and the live server, even though I used the same upgrading procedure and before upgrading the files where exactly the same. I'm not 100% sure of this, but at least 99% sure. After copying the typo3conf\ext\mm_forum\ folder from my testing server to the live server, the original bug disappeared. Also without applying the r34258 changeset.

I did not know there is a possibility to download a current SVN version. Still can't find where to download the most recent version, but am I right this SVN version contains all patches? That would be nice, where can I find this download?

Hope I made some things clear?

Thanks again!

*Edit: after typing this message, I found the repository button in the top menu, but still can't find an easy way to download the complete extension package. Is that possible anyway?

Updated by Hauke Hain over 2 years ago

The only way I now to get the current SVN version:
Check it out on your local drive and remove all svn related files.
I do it on Windows with robocopy: "robocopy trunk mm_forum /MIR /XD .svn" (copies all folders except ".svn" to the new directory "mm_forum)

Keep in mind that the SVN version is the development version. There may be harsh bugs.

Updated by Harold Jaspers over 2 years ago

Final update: After a few hours the 'no preview on new posts' bug shows up again on the live server. Don't know why or what (probably because of some cache or so), but I decided to patch new_post.html again. Of course the ###POST_PREVIEW### tag shows up again as well and because you were not able to reproduce this behavior, I took another look at the repo. Finally I found out what went wrong, I did not patch the associated revision! So after copying class.tx_mmforum_pi1.php as well, both the original bug and the so-called new bug were disappeared.

Sorry for the inconvenience, next time I will not only patch the mentioned revision, also the associated revisions.

Thanks for helping me out mate!

Also available in: Atom PDF