|
Adding content in CMS using add long text (right mouse click) doesn't work
-------------------------------------------------------------------------- Key: OFBIZ-4079 URL: https://issues.apache.org/jira/browse/OFBIZ-4079 Project: OFBiz Issue Type: Bug Components: content Affects Versions: SVN trunk Reporter: Willem Janssen When using the add long text function in the menu that shows when using the right mouse click the existing content is shown, not an empty form. Now it's not possible to add content in the CMS because only existing content is shown in the forms. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
|
[ https://issues.apache.org/jira/browse/OFBIZ-4079?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Willem Janssen updated OFBIZ-4079: ---------------------------------- Attachment: 2010-12-28_2329.png > Adding content in CMS using add long text (right mouse click) doesn't work > -------------------------------------------------------------------------- > > Key: OFBIZ-4079 > URL: https://issues.apache.org/jira/browse/OFBIZ-4079 > Project: OFBiz > Issue Type: Bug > Components: content > Affects Versions: SVN trunk > Reporter: Willem Janssen > Attachments: 2010-12-28_2329.png > > > When using the add long text function in the menu that shows when using the right mouse click the existing content is shown, not an empty form. > Now it's not possible to add content in the CMS because only existing content is shown in the forms. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
|
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-4079?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jacques Le Roux updated OFBIZ-4079: ----------------------------------- Issue Type: Sub-task (was: Bug) Parent: OFBIZ-3814 > Adding content in CMS using add long text (right mouse click) doesn't work > -------------------------------------------------------------------------- > > Key: OFBIZ-4079 > URL: https://issues.apache.org/jira/browse/OFBIZ-4079 > Project: OFBiz > Issue Type: Sub-task > Components: content > Affects Versions: SVN trunk > Reporter: Willem Janssen > Attachments: 2010-12-28_2329.png > > > When using the add long text function in the menu that shows when using the right mouse click the existing content is shown, not an empty form. > Now it's not possible to add content in the CMS because only existing content is shown in the forms. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
|
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-4079?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12975905#action_12975905 ] Jacques Le Roux commented on OFBIZ-4079: ---------------------------------------- Always easier with an URL https://localhost:8443/content/control/WebSiteCms?webSiteId=CmsSite > Adding content in CMS using add long text (right mouse click) doesn't work > -------------------------------------------------------------------------- > > Key: OFBIZ-4079 > URL: https://issues.apache.org/jira/browse/OFBIZ-4079 > Project: OFBiz > Issue Type: Sub-task > Components: content > Affects Versions: SVN trunk > Reporter: Willem Janssen > Attachments: 2010-12-28_2329.png > > > When using the add long text function in the menu that shows when using the right mouse click the existing content is shown, not an empty form. > Now it's not possible to add content in the CMS because only existing content is shown in the forms. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
|
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-4079?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12975923#action_12975923 ] Jacques Le Roux commented on OFBIZ-4079: ---------------------------------------- It's not the only issue: The top menus (links) * Quick Sub-Content * Path Alias * Meta Tags don't work either. It seems related to js callDocument() function and its Ajax request (see editorUrl var, aliasUrl and metaUrl are not implemented at all) var editorUrl = '/content/control/views/WebSiteCMSContent'; var aliasUrl = '/content/control/views/WebSiteCMSPathAlias'; var metaUrl = '/content/control/views/WebSiteCMSMetaInfo'; I have no time to look at it now... > Adding content in CMS using add long text (right mouse click) doesn't work > -------------------------------------------------------------------------- > > Key: OFBIZ-4079 > URL: https://issues.apache.org/jira/browse/OFBIZ-4079 > Project: OFBiz > Issue Type: Sub-task > Components: content > Affects Versions: SVN trunk > Reporter: Willem Janssen > Attachments: 2010-12-28_2329.png > > > When using the add long text function in the menu that shows when using the right mouse click the existing content is shown, not an empty form. > Now it's not possible to add content in the CMS because only existing content is shown in the forms. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
|
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-4079?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jacques Le Roux reassigned OFBIZ-4079: -------------------------------------- Assignee: Jacques Le Roux > Adding content in CMS using add long text (right mouse click) doesn't work > -------------------------------------------------------------------------- > > Key: OFBIZ-4079 > URL: https://issues.apache.org/jira/browse/OFBIZ-4079 > Project: OFBiz > Issue Type: Sub-task > Components: content > Affects Versions: SVN trunk > Reporter: Willem Janssen > Assignee: Jacques Le Roux > Attachments: 2010-12-28_2329.png > > > When using the add long text function in the menu that shows when using the right mouse click the existing content is shown, not an empty form. > Now it's not possible to add content in the CMS because only existing content is shown in the forms. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
|
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-4079?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12980219#action_12980219 ] Jacques Le Roux commented on OFBIZ-4079: ---------------------------------------- The path-alias and Meta tags cases have been resolved by OFBIZ-4108 > Adding content in CMS using add long text (right mouse click) doesn't work > -------------------------------------------------------------------------- > > Key: OFBIZ-4079 > URL: https://issues.apache.org/jira/browse/OFBIZ-4079 > Project: OFBiz > Issue Type: Sub-task > Components: content > Affects Versions: SVN trunk > Reporter: Willem Janssen > Assignee: Jacques Le Roux > Attachments: 2010-12-28_2329.png > > > When using the add long text function in the menu that shows when using the right mouse click the existing content is shown, not an empty form. > Now it's not possible to add content in the CMS because only existing content is shown in the forms. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
|
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-4079?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12980617#action_12980617 ] Willem Janssen commented on OFBIZ-4079: --------------------------------------- Hi Jacques, thank you for your effort on this issue. If I had knowlegde about JS I'd have helped, but unfortunately that's not the case. Nice to see progress :) > Adding content in CMS using add long text (right mouse click) doesn't work > -------------------------------------------------------------------------- > > Key: OFBIZ-4079 > URL: https://issues.apache.org/jira/browse/OFBIZ-4079 > Project: OFBiz > Issue Type: Sub-task > Components: content > Affects Versions: SVN trunk > Reporter: Willem Janssen > Assignee: Jacques Le Roux > Attachments: 2010-12-28_2329.png > > > When using the add long text function in the menu that shows when using the right mouse click the existing content is shown, not an empty form. > Now it's not possible to add content in the CMS because only existing content is shown in the forms. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
|
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-4079?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12980640#action_12980640 ] Sascha Rodekamp commented on OFBIZ-4079: ---------------------------------------- Hm, the form is defined in WebSiteCMSContent.ftl and uses the content db entry to fill the from fields. Maybe we can set a condition here (i'll check later). Another bug we have to face here is when try to store the new/changed content, i got a simple method exception: Message: Error in simple-method [Update Electronic Text [file:/C:/Eclipse/workspace/ofbiz_trunk/applications/content/script/org/ofbiz/content/data/DataServices.xml#updateElectronicText]]: In set-nonpk-fields a value was not found with the specified valueAcsr: lookedUpValue, not setting fields > Adding content in CMS using add long text (right mouse click) doesn't work > -------------------------------------------------------------------------- > > Key: OFBIZ-4079 > URL: https://issues.apache.org/jira/browse/OFBIZ-4079 > Project: OFBiz > Issue Type: Sub-task > Components: content > Affects Versions: SVN trunk > Reporter: Willem Janssen > Assignee: Jacques Le Roux > Attachments: 2010-12-28_2329.png > > > When using the add long text function in the menu that shows when using the right mouse click the existing content is shown, not an empty form. > Now it's not possible to add content in the CMS because only existing content is shown in the forms. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
|
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-4079?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Martin Kreidenweis updated OFBIZ-4079: -------------------------------------- Attachment: OFBIZ-4079_cmsEditorFixes.patch fixing some bugs in CMS introduced in svn r1036195 when migrating from dojo to jQuery: * reverted accidental logic change in callDocument() that broke the "new ..." context menu items (OFBiz bug OFBIZ-4079) * making elRTE "save" toolbar button work: same behavior as the regular "Save" button * using regular form submit instead of ajax for new content for now ** ajaxSubmitForm() can't handle new content, it won't reload the form because it doesn't know the new contentId *** some controller changes would probably be necessary to make that work (return new contentId as JSON) ** nav tree is not updated with ajax submit currently * now always creating editor if corresponsing html element exists ** editor was not initialized when WebSiteCMSContent screen was loaded by non-ajax call > Adding content in CMS using add long text (right mouse click) doesn't work > -------------------------------------------------------------------------- > > Key: OFBIZ-4079 > URL: https://issues.apache.org/jira/browse/OFBIZ-4079 > Project: OFBiz > Issue Type: Sub-task > Components: content > Affects Versions: SVN trunk > Reporter: Willem Janssen > Assignee: Jacques Le Roux > Attachments: 2010-12-28_2329.png, OFBIZ-4079_cmsEditorFixes.patch > > > When using the add long text function in the menu that shows when using the right mouse click the existing content is shown, not an empty form. > Now it's not possible to add content in the CMS because only existing content is shown in the forms. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
|
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-4079?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12980647#action_12980647 ] Martin Kreidenweis commented on OFBIZ-4079: ------------------------------------------- I'm not sure my patch fixes all the jQuery related issues with the CMS. Some more testing is necessary there. Creating new long and short texts works as expected now, though. > Adding content in CMS using add long text (right mouse click) doesn't work > -------------------------------------------------------------------------- > > Key: OFBIZ-4079 > URL: https://issues.apache.org/jira/browse/OFBIZ-4079 > Project: OFBiz > Issue Type: Sub-task > Components: content > Affects Versions: SVN trunk > Reporter: Willem Janssen > Assignee: Jacques Le Roux > Attachments: 2010-12-28_2329.png, OFBIZ-4079_cmsEditorFixes.patch > > > When using the add long text function in the menu that shows when using the right mouse click the existing content is shown, not an empty form. > Now it's not possible to add content in the CMS because only existing content is shown in the forms. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
|
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-4079?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12980651#action_12980651 ] Sascha Rodekamp commented on OFBIZ-4079: ---------------------------------------- Hey Martin, thanks, the patch looks good to me, seem to work. Are you sure you created it against the last trunk rev. I'm not able to apply the patch file. Cheers Sascha > Adding content in CMS using add long text (right mouse click) doesn't work > -------------------------------------------------------------------------- > > Key: OFBIZ-4079 > URL: https://issues.apache.org/jira/browse/OFBIZ-4079 > Project: OFBiz > Issue Type: Sub-task > Components: content > Affects Versions: SVN trunk > Reporter: Willem Janssen > Assignee: Jacques Le Roux > Attachments: 2010-12-28_2329.png, OFBIZ-4079_cmsEditorFixes.patch > > > When using the add long text function in the menu that shows when using the right mouse click the existing content is shown, not an empty form. > Now it's not possible to add content in the CMS because only existing content is shown in the forms. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
|
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-4079?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Martin Kreidenweis updated OFBIZ-4079: -------------------------------------- Attachment: OFBIZ-4079_cmsEditorFixes.svn.patch Hi Sascha, I re-created the patch using subversion. Maybe you have more luck applying this one. Martin > Adding content in CMS using add long text (right mouse click) doesn't work > -------------------------------------------------------------------------- > > Key: OFBIZ-4079 > URL: https://issues.apache.org/jira/browse/OFBIZ-4079 > Project: OFBiz > Issue Type: Sub-task > Components: content > Affects Versions: SVN trunk > Reporter: Willem Janssen > Assignee: Jacques Le Roux > Attachments: 2010-12-28_2329.png, OFBIZ-4079_cmsEditorFixes.patch, OFBIZ-4079_cmsEditorFixes.svn.patch > > > When using the add long text function in the menu that shows when using the right mouse click the existing content is shown, not an empty form. > Now it's not possible to add content in the CMS because only existing content is shown in the forms. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
|
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-4079?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12980712#action_12980712 ] Sascha Rodekamp commented on OFBIZ-4079: ---------------------------------------- Yea, works like a charm. I think the patch can be committed. Thanks for solving the issue Martin Have a good day Cheers Sascha > Adding content in CMS using add long text (right mouse click) doesn't work > -------------------------------------------------------------------------- > > Key: OFBIZ-4079 > URL: https://issues.apache.org/jira/browse/OFBIZ-4079 > Project: OFBiz > Issue Type: Sub-task > Components: content > Affects Versions: SVN trunk > Reporter: Willem Janssen > Assignee: Jacques Le Roux > Attachments: 2010-12-28_2329.png, OFBIZ-4079_cmsEditorFixes.patch, OFBIZ-4079_cmsEditorFixes.svn.patch > > > When using the add long text function in the menu that shows when using the right mouse click the existing content is shown, not an empty form. > Now it's not possible to add content in the CMS because only existing content is shown in the forms. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
|
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-4079?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jacques Le Roux closed OFBIZ-4079. ---------------------------------- Resolution: Fixed Fix Version/s: SVN trunk Thanks Martin, Your patch is in trunk at r1058197+ (Some unrelated changes slipped in at r1058197 ) Good catch for the elRTE "save" toolbar button I will open a new issue for those: * using regular form submit instead of ajax for new content for now ** ajaxSubmitForm() can't handle new content, it won't reload the form because it doesn't know the new contentId + some controller changes would probably be necessary to make that work (return new contentId as JSON) ** nav tree is not updated with ajax submit currently Thanks Sascha for testing. > Adding content in CMS using add long text (right mouse click) doesn't work > -------------------------------------------------------------------------- > > Key: OFBIZ-4079 > URL: https://issues.apache.org/jira/browse/OFBIZ-4079 > Project: OFBiz > Issue Type: Sub-task > Components: content > Affects Versions: SVN trunk > Reporter: Willem Janssen > Assignee: Jacques Le Roux > Fix For: SVN trunk > > Attachments: 2010-12-28_2329.png, OFBIZ-4079_cmsEditorFixes.patch, OFBIZ-4079_cmsEditorFixes.svn.patch > > > When using the add long text function in the menu that shows when using the right mouse click the existing content is shown, not an empty form. > Now it's not possible to add content in the CMS because only existing content is shown in the forms. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
|
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-4079?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12980757#action_12980757 ] Jacques Le Roux edited comment on OFBIZ-4079 at 1/12/11 10:48 AM: ------------------------------------------------------------------ EDIT : missed a rev# Thanks Martin, Your patch is in trunk at r1058197+1058198 (some unrelated changes slipped in at r1058197 ) Good catch for the elRTE "save" toolbar button I will open a new issue for those: * using regular form submit instead of ajax for new content for now ** ajaxSubmitForm() can't handle new content, it won't reload the form because it doesn't know the new contentId + some controller changes would probably be necessary to make that work (return new contentId as JSON) ** nav tree is not updated with ajax submit currently Thanks Sascha for testing. was (Author: jacques.le.roux): Thanks Martin, Your patch is in trunk at r1058197+ (Some unrelated changes slipped in at r1058197 ) Good catch for the elRTE "save" toolbar button I will open a new issue for those: * using regular form submit instead of ajax for new content for now ** ajaxSubmitForm() can't handle new content, it won't reload the form because it doesn't know the new contentId + some controller changes would probably be necessary to make that work (return new contentId as JSON) ** nav tree is not updated with ajax submit currently Thanks Sascha for testing. > Adding content in CMS using add long text (right mouse click) doesn't work > -------------------------------------------------------------------------- > > Key: OFBIZ-4079 > URL: https://issues.apache.org/jira/browse/OFBIZ-4079 > Project: OFBiz > Issue Type: Sub-task > Components: content > Affects Versions: SVN trunk > Reporter: Willem Janssen > Assignee: Jacques Le Roux > Fix For: SVN trunk > > Attachments: 2010-12-28_2329.png, OFBIZ-4079_cmsEditorFixes.patch, OFBIZ-4079_cmsEditorFixes.svn.patch > > > When using the add long text function in the menu that shows when using the right mouse click the existing content is shown, not an empty form. > Now it's not possible to add content in the CMS because only existing content is shown in the forms. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
| Free forum by Nabble | Edit this page |
