Bug 20924

Summary: News content textarea not showing
Product: Koha Reporter: Aleisha Amohia <aleisha>
Component: ToolsAssignee: Aleisha Amohia <aleisha>
Status: CLOSED WORKSFORME QA Contact: Testopia <testopia>
Severity: normal    
Priority: P5 - low CC: jonathan.druart, josef.moravec, liz
Version: unspecified   
Hardware: All   
OS: All   
Change sponsored?: Sponsored Patch complexity: Small patch
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Bug Depends on:    
Bug Blocks: 14272    
Attachments: screenshot showing missing textarea
Bug 20924: Make news content textarea show
Bug 20924: Make news content textarea show

Description Aleisha Amohia 2018-06-13 01:40:25 UTC
Created attachment 76013 [details]
screenshot showing missing textarea

when adding new or editing exiting koha news item, the content textarea box does not show.
/cgi-bin/koha/tools/koha-news.pl?op=add_form
Comment 1 Aleisha Amohia 2018-06-13 01:43:14 UTC
Created attachment 76014 [details] [review]
Bug 20924: Make news content textarea show

To test:
1) Go to Tools -> News
2) Edit existing news item or add new news item
3) Notice content box is missing, can't edit news or add any content
4) Apply patch, refresh page
5) Notice textarea now shows

Sponsored-by: Catalyst IT
Comment 2 Jonathan Druart 2018-06-13 22:38:25 UTC
I do not recreate the issue, works for me on master.
Comment 3 Maryse Simard 2018-06-15 20:36:29 UTC
Created attachment 76110 [details] [review]
Bug 20924: Make news content textarea show

To test:
1) Go to Tools -> News
2) Edit existing news item or add new news item
3) Notice content box is missing, can't edit news or add any content
4) Apply patch, refresh page
5) Notice textarea now shows

Sponsored-by: Catalyst IT

Signed-off-by: Maryse Simard <maryse.simard@inlibro.com>
Followed the test plan and everything works as expected.
Comment 4 Jonathan Druart 2018-06-18 13:25:03 UTC
(In reply to Maryse Simard from comment #3)
> Signed-off-by: Maryse Simard <maryse.simard@inlibro.com>
> Followed the test plan and everything works as expected.

Hi Maryse, did you recreate the issue without the patch?
Comment 5 Josef Moravec 2018-06-18 14:48:19 UTC
I can't reproduce it too.

According to tiny mce documentation the "textareas" is the right setting for mode:
https://www.tinymce.com/docs-3x/reference/configuration/Configuration3x@mode/
Comment 6 Jonathan Druart 2018-06-18 21:19:49 UTC
Lowering severity, waiting for Aleisha's answer.
Comment 7 Aleisha Amohia 2018-06-22 02:08:14 UTC
I can still reproduce this, but it must be something on my side.

getting heaps of errors like this in the console: Loading failed for the <script> with source “http://localhost:8081/intranet-tmpl/lib/tiny_mce/langs/en.js
Comment 8 Liz Rea 2018-07-26 00:18:01 UTC
We fixed this by applying the RewriteRule patch from bug 20259.