[jira] [Commented] (OFBIZ-10688) textareas do not save data, when visual-editor is used
[ https://issues.apache.org/jira/browse/OFBIZ-10688?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17050050#comment-17050050 ] Benjamin Jugl commented on OFBIZ-10688: --- Since I can not reproduce the Error, neither with the minilang-service nor with the groovy that is still in progress (thanks [~priya.sharma.9362]), once the display-errors from VIEW_INDEX are fixed (see OFBIZ-11429). If anyone can, please give an update on how to reproduce it. Else I would recommend closing this issue. > 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)
[jira] [Commented] (OFBIZ-10688) textareas do not save data, when visual-editor is used
[ https://issues.apache.org/jira/browse/OFBIZ-10688?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17047587#comment-17047587 ] Michael Brohl commented on OFBIZ-10688: --- Yes. please, this is definetely not within the scope of this issue. > 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)
[jira] [Commented] (OFBIZ-10688) textareas do not save data, when visual-editor is used
[ https://issues.apache.org/jira/browse/OFBIZ-10688?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17047548#comment-17047548 ] Benjamin Jugl commented on OFBIZ-10688: --- I thought that was not possible in this case, due to parameter-declarations not being able to take a default, but I found a solution. Patch is available that sets VIEW_INDEX to 0. New Issue for that? > 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)
[jira] [Commented] (OFBIZ-10688) textareas do not save data, when visual-editor is used
[ https://issues.apache.org/jira/browse/OFBIZ-10688?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17047520#comment-17047520 ] Michael Brohl commented on OFBIZ-10688: --- IMO the VIEW_INDEX should be set to 0 when null. See also OFBIZ-6705 which is in process. > 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)
[jira] [Commented] (OFBIZ-10688) textareas do not save data, when visual-editor is used
[ https://issues.apache.org/jira/browse/OFBIZ-10688?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=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)
[jira] [Commented] (OFBIZ-10688) textareas do not save data, when visual-editor is used
[ https://issues.apache.org/jira/browse/OFBIZ-10688?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17046530#comment-17046530 ] Benjamin Jugl commented on OFBIZ-10688: --- I can not reproduce the bug anymore. The data is stored and instead of the bug mentioned above, another bug is thrown: {noformat} Could not convert field value for the field: [viewIndex] to the [Integer] type for the value [null]: org.apache.ofbiz.base.util.GeneralException: java.text.ParseException: Unparseable number: "null" (java.text.ParseException: Unparseable number: "null"){noformat} > 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: 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)
[jira] [Commented] (OFBIZ-10688) textareas do not save data, when visual-editor is used
[ https://issues.apache.org/jira/browse/OFBIZ-10688?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17045680#comment-17045680 ] Benjamin Jugl commented on OFBIZ-10688: --- The service has been converted to goovy in OFBIZ-11383. I will review the patch. We should however separate the conversion and the fix. So I will base my development on the conversion once it is done. > 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: 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)
[jira] [Commented] (OFBIZ-10688) textareas do not save data, when visual-editor is used
[ https://issues.apache.org/jira/browse/OFBIZ-10688?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16771909#comment-16771909 ] Jacques Le Roux commented on OFBIZ-10688: - Thanks Deepak > 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: 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 (v7.6.3#76005)
[jira] [Commented] (OFBIZ-10688) textareas do not save data, when visual-editor is used
[ https://issues.apache.org/jira/browse/OFBIZ-10688?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16722457#comment-16722457 ] Deepak Dixit commented on OFBIZ-10688: -- To fix this issue, we need to write the createArticleContent service from scratch. As contentIdFrom is not a valid parameter anymore for createContentAssoc service, so createTextContent service does not create the ContentAssoc for forum message. We are tracking unknown parameter found issue in OFBIZ-10712 > 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: 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 (v7.6.3#76005)
[jira] [Commented] (OFBIZ-10688) textareas do not save data, when visual-editor is used
[ https://issues.apache.org/jira/browse/OFBIZ-10688?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16721390#comment-16721390 ] Deepak Dixit commented on OFBIZ-10688: -- Found the root cause of this behavior (OFBIZ-10712), if we call a service that has permission service in service definition, so it prepares context using the makeValid method, and if we do not have a permission service then service dispatcher pass all the parameter while calling service and it's causing the "unknown parameter found exception" > 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: 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 (v7.6.3#76005)
[jira] [Commented] (OFBIZ-10688) textareas do not save data, when visual-editor is used
[ https://issues.apache.org/jira/browse/OFBIZ-10688?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16721263#comment-16721263 ] Deepak Dixit commented on OFBIZ-10688: -- Hi [~jacques.le.roux], This is not related to space thing, its due to jquery library initialize twice. This has been fixed at OFBIZ-10708 The main issue is in createArticleContent service, I am trying to understand why system throwing service validation exception in case of group service validation (createTextContent). > 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: 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 (v7.6.3#76005)
[jira] [Commented] (OFBIZ-10688) textareas do not save data, when visual-editor is used
[ https://issues.apache.org/jira/browse/OFBIZ-10688?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16721286#comment-16721286 ] Deepak Dixit commented on OFBIZ-10688: -- While calling createTextContent we are passing some additional parameter (contentIdFrom, mapKey etc), that is used by createContent SECA rule. > 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: 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 (v7.6.3#76005)
[jira] [Commented] (OFBIZ-10688) textareas do not save data, when visual-editor is used
[ https://issues.apache.org/jira/browse/OFBIZ-10688?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16713983#comment-16713983 ] Jacques Le Roux commented on OFBIZ-10688: - I was not able to create a new message in ecommerce but I tested with marketing/control/createContactListCommEvent and it works there. It's though weird to have a space ahead while we have {code:} jQuery(bind_element).find(".visual-editor").each(function(){ {code} in OfbizUtil.js > 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: 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 (v7.6.3#76005)
[jira] [Commented] (OFBIZ-10688) textareas do not save data, when visual-editor is used
[ https://issues.apache.org/jira/browse/OFBIZ-10688?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16713673#comment-16713673 ] Michael Brohl commented on OFBIZ-10688: --- Hi Benjamin, can you explain how the patch fixes the bug? Thank you! > 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: 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 (v7.6.3#76005)