Bug 20924 - News content textarea not showing
Summary: News content textarea not showing
Status: CLOSED WORKSFORME
Alias: None
Product: Koha
Classification: Unclassified
Component: Tools (show other bugs)
Version: unspecified
Hardware: All All
: P5 - low normal (vote)
Assignee: Aleisha Amohia
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks: 14272
  Show dependency treegraph
 
Reported: 2018-06-13 01:40 UTC by Aleisha Amohia
Modified: 2019-10-14 19:57 UTC (History)
3 users (show)

See Also:
Change sponsored?: Sponsored
Patch complexity: Small patch
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:


Attachments
screenshot showing missing textarea (34.68 KB, image/png)
2018-06-13 01:40 UTC, Aleisha Amohia
Details
Bug 20924: Make news content textarea show (1.23 KB, patch)
2018-06-13 01:43 UTC, Aleisha Amohia
Details | Diff | Splinter Review
Bug 20924: Make news content textarea show (1.34 KB, patch)
2018-06-15 20:36 UTC, Maryse Simard
Details | Diff | Splinter Review

Note You need to log in before you can comment on or make changes to this bug.
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.