[ 
https://issues.apache.org/jira/browse/OFBIZ-10688?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17047517#comment-17047517
 ] 

Benjamin Jugl commented on OFBIZ-10688:
---------------------------------------

The "New Message" link on the "Showforum"-View tries to get the VIEW_INDEX 
parameter. When called initially, this is not set and thus the value is null. 
The AddForumThread Screen uses this value in the AddForumMessage Form where it 
is created as a hidden input with the value "null" (String). By successfully 
creating a new message, the "Showforum"-view should be shown again, but this 
fails, because now the String "null" can not be cast to Integer (As we read in 
the error-message).

Additionally, the Pagination is flawed. The list does not interact with the 
pagination in any way, it seems: !Bildschirmfoto 2020-02-28 um 12.45.18.png!

I think a first fix for the error message might be to remove the VIEW_INDEX 
from the "New message" link. Upon creation of a message I would expect to land 
either on the first site of the forum or at the latest post (last page), where 
my message is displayed, no matter where I came from.

Should we create a new issue for this and/or an additional one for fixing 
pagination?

> textareas do not save data, when visual-editor is used
> ------------------------------------------------------
>
>                 Key: OFBIZ-10688
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-10688
>             Project: OFBiz
>          Issue Type: Bug
>          Components: framework, themes
>    Affects Versions: Trunk
>            Reporter: Benjamin Jugl
>            Assignee: Michael Brohl
>            Priority: Major
>         Attachments: Bildschirmfoto 2020-02-28 um 12.45.18.png, 
> OFBIZ-10688-HtmlFormMacroLibrary.patch
>
>
> Can be reproduced by
> # Log into the Frontend (ecommerce) as admin
> # go to Browse Forums 
> # click any link ("Ask the Experts" was used for testing)
> # Create "New Message"
> # click "add"
> Following Error occurs:
> "ERROR: Could not complete the Post a new Content article Entry 
> [file:/Users/bjugl/Projekte/community/ofbiz-framework-trunk/applications/content/minilang/content/ContentServices.xml#createArticleContent]
>  process [problem invoking the [createTextContent] service with the map named 
> [...]"
> Data is not stored.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to