[Bug 7589] New: Package sites unable to display the wysiwig News Editor
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7589 Bug #: 7589 Summary: Package sites unable to display the wysiwig News Editor Classification: Unclassified Change sponsored?: --- Product: Koha Version: unspecified Platform: All OS/Version: All Status: NEW Severity: enhancement Priority: P5 - low Component: Tools AssignedTo: gmcharlt@gmail.com ReportedBy: thatcher.rea@bywatersolutions.com QAContact: koha.sekjal@gmail.com I suspect it may be related to paths issues in the package installs, but all of the ones we have checked do not load the WYSIWYG editor for creating new news items, regardless of browser, as well as the standard stable packages, and packages built off of master. -- Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7589 --- Comment #1 from Thatcher Rea <thatcher.rea@bywatersolutions.com> 2012-02-23 22:03:23 UTC --- 6 levels of symbolic linking on a package install: http://screencast.com/t/DYcrZ4KTrkD Contrast that to a git install: http://screencast.com/t/CYfhjwQMLtwb -- Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7589 Liz Rea <wizzyrea@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |wizzyrea@gmail.com Component|Tools |Packaging Version|unspecified |master AssignedTo|gmcharlt@gmail.com |robin@catalyst.net.nz Severity|enhancement |normal -- Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7589 Mason James <mtj@kohaaloha.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mtj@kohaaloha.com --- Comment #2 from Mason James <mtj@kohaaloha.com> --- (In reply to comment #1)
6 levels of symbolic linking on a package install:
http://screencast.com/t/DYcrZ4KTrkD
Contrast that to a git install:
we have also spotted this bug fyi: the french tinymce dir looks OK, its just the english dir thats got the borked symlinks -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7589 Mason James <mtj@kohaaloha.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|Package sites unable to |tinymce editor broken in |display the wysiwig News |.deb packages - in 'en' |Editor |templates -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7589 --- Comment #3 from Mason James <mtj@kohaaloha.com> --- Created attachment 9448 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=9448&action=edit Bug 7589 - tinymce editor broken in .deb packages - in 'en' templates this patch fixes a glitchy symlink to tiny_mce -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7589 Mason James <mtj@kohaaloha.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |Needs Signoff Severity|normal |major -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7589 Mason James <mtj@kohaaloha.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #9448|0 |1 is obsolete| | --- Comment #4 from Mason James <mtj@kohaaloha.com> --- Created attachment 9467 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=9467&action=edit Bug 7589 - tinymce editor broken in .deb packages - in 'en' templates this patch fixes a glitchy symlink to tiny_mce -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7589 --- Comment #5 from Jared Camins-Esakov <jcamins@cpbibliography.com> --- I tried this patch, and it didn't seem to fix the problem. -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7589 --- Comment #6 from Mason James <mtj@kohaaloha.com> --- Created attachment 9548 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=9548&action=edit pix -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7589 --- Comment #7 from Mason James <mtj@kohaaloha.com> --- (In reply to comment #5)
I tried this patch, and it didn't seem to fix the problem.
i just built and installed a Koha debian package, from these instruction... http://wiki.koha-community.org/wiki/Building_Debian_Packages_-_The_Easy_Way i applied this patch, and confirmed tiny_mce is now working screen-shot attached.... -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7589 Chris Cormack <chris@bigballofwax.co.nz> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |chris@bigballofwax.co.nz --- Comment #8 from Chris Cormack <chris@bigballofwax.co.nz> --- Hmm is this still a problem? Robin can you check, and elevate the severity if so please -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7589 Magnus Enger <magnus@enger.priv.no> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |magnus@enger.priv.no --- Comment #9 from Magnus Enger <magnus@enger.priv.no> --- I just tested on an installation of 3.8.3 running off the official packages, and it has tiny_mce working beautifully for both English and Norwegian. Maybe this is just a problem for 3.6.x now? -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7589 --- Comment #10 from Mason James <mtj@kohaaloha.com> --- (In reply to comment #9)
I just tested on an installation of 3.8.3 running off the official packages, and it has tiny_mce working beautifully for both English and Norwegian. Maybe this is just a problem for 3.6.x now?
well... looks like its still broken, in the latest stable .deb mason@gw1:~$ dpkg -c ./koha-common_3.8.3.1-1_all.deb |grep jscript |wc -l 0 what that '0' means is that there is ZERO dirs in the package called 'jscript' the 'jscript' dir gets deleted in ./debian/rules rm -r $(TMP)/usr/share/koha/intranet/htdocs/intranet-tmpl/prog/en/js/tinymce which means that the below call for tiny_mce in ./prog/en/modules/tools/koha-news.tt will fail (which is the bug) script language="javascript" type="text/javascript" src="[% themelang %]/js /tinymce/jscripts/tiny_mce/tiny_mce.js"></script> and thats the bug, that the patch fixes -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7589 --- Comment #11 from Robin Sheat <robin@catalyst.net.nz> --- The next line is: ln -s /usr/share/tinymce2/www \ $(TMP)/usr/share/koha/intranet/htdocs/intranet-tmpl/prog/en/js/tinymce it's linking in the system copy of tinymce. -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7589 --- Comment #12 from Magnus Enger <magnus@enger.priv.no> --- (In reply to comment #9)
I just tested on an installation of 3.8.3 running off the official packages, and it has tiny_mce working beautifully for both English and Norwegian. Maybe this is just a problem for 3.6.x now?
A little more digging reminded me that I made some non-standard symlinks at one time, forget my saying this works for me! -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7589 --- Comment #13 from Mason James <mtj@kohaaloha.com> --- (In reply to comment #9)
I just tested on an installation of 3.8.3 running off the official packages, and it has tiny_mce working beautifully for both English and Norwegian. Maybe this is just a problem for 3.6.x now?
Magnus has confessed that he fixed this bug manually using symlinks :) so, 1) yes, its still confirmed busted in master 2) yes, the patch still fixes it -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7589 --- Comment #14 from Mason James <mtj@kohaaloha.com> --- (In reply to comment #11)
The next line is:
ln -s /usr/share/tinymce2/www \
$(TMP)/usr/share/koha/intranet/htdocs/intranet-tmpl/prog/en/js/tinymce
it's linking in the system copy of tinymce.
yep, its that *specific* line that has the bug :) (hint: the destination path is wrong) -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7589 --- Comment #15 from Jared Camins-Esakov <jcamins@cpbibliography.com> --- Created attachment 11549 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=11549&action=edit Signed off patch In order for the patch to work, you must *REMOVE* koha-common, and reinstall from scratch. VERY IMPORTANT!!! The tabs in debian/rules are mandatory. Do not replace them with four spaces. Use -n when committing to skip pre-commit git hook verifications. VERY IMPORTANT!!! -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7589 Jared Camins-Esakov <jcamins@cpbibliography.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #9467|0 |1 is obsolete| | -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7589 Jared Camins-Esakov <jcamins@cpbibliography.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Needs Signoff |Signed Off -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7589 Mason James <mtj@kohaaloha.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - low |P1 - high Severity|major |blocker --- Comment #16 from Mason James <mtj@kohaaloha.com> ---
Created attachment 11549 [details] Signed off patch
In order for the patch to work, you must *REMOVE* koha-common, and reinstall from scratch.
VERY IMPORTANT!!! The tabs in debian/rules are mandatory. Do not replace them with four spaces. Use -n when committing to skip pre-commit git hook verifications. VERY IMPORTANT!!!
bumping priority to an easy fix/sign-off patch -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7589 Paul Poulain <paul.poulain@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Signed Off |Passed QA CC| |paul.poulain@biblibre.com Version|master |rel_3_8 --- Comment #17 from Paul Poulain <paul.poulain@biblibre.com> --- QA comment: * tiny patch related to debian building, no side-effect risk passed QA (note that the patch is declared as "octet-stream", not as patch. I had to apply it manually, git bz not working because there's no "patch") -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7589 Paul Poulain <paul.poulain@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Passed QA |Pushed to Master --- Comment #18 from Paul Poulain <paul.poulain@biblibre.com> --- Patch pushed to master -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7589 --- Comment #19 from Mason James <mtj@kohaaloha.com> --- (In reply to comment #17)
QA comment: * tiny patch related to debian building, no side-effect risk
passed QA (note that the patch is declared as "octet-stream", not as patch. I had to apply it manually, git bz not working because there's no "patch")
thanks for that Paul fyi: you can edit any attachment, and 'tick the patch box', then save - to fix this 'octet-stream' problem -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7589 Robin Sheat <robin@catalyst.net.nz> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #11549|0 |1 is patch| | Attachment #11549|application/octet-stream |text/plain mime type| | -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7589 Chris Cormack <chris@bigballofwax.co.nz> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Pushed to Master |Pushed to Stable --- Comment #20 from Chris Cormack <chris@bigballofwax.co.nz> --- Pushed to 3.8.x will be in 3.8.6 -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7589 Magnus Enger <magnus@enger.priv.no> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Pushed to Stable |RESOLVED Resolution|--- |FIXED --- Comment #21 from Magnus Enger <magnus@enger.priv.no> --- Works as expected, for English, Swedish and Norwegian (tested with packages built off current master). -- You are receiving this mail because: You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org