You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ofbiz.apache.org by "Aditya Sharma (JIRA)" <ji...@apache.org> on 2017/03/27 04:32:41 UTC

[jira] [Commented] (OFBIZ-7759) Link in LookupContent causes unwanted behaviour

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

Aditya Sharma commented on OFBIZ-7759:
--------------------------------------

Problem:
1. Lookup dialog for ownerContentId uses "ListLookupContent" form to list Content records.
2. "ListLookupContent" form extends "ListContent" form for all the fields.
3. As fields dataResourceId and ownerContentId are extended fields they creates a link to Edit pages.
Solution:
First of all it is a lookup to select ownerContentId so as the pattern followed in other lookups in OFBiz it should not have any links to Edit page. If links are removed there will not be the problem as well.
Apart from that added 'widget-style="smallSubmit"' to contentId according to the uniform pattern followed.
Link to edit ownerContentId shows contentId in description rather than ownerContentId in "ListLookupContent" form 
updated that too.

> Link in LookupContent causes unwanted behaviour
> -----------------------------------------------
>
>                 Key: OFBIZ-7759
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-7759
>             Project: OFBiz
>          Issue Type: Bug
>          Components: content
>    Affects Versions: Trunk
>            Reporter: Montalbano Florian
>            Assignee: Aditya Sharma
>            Priority: Minor
>              Labels: content, locale, lookup
>         Attachments: OFBIZ-7759.patch
>
>
> How to reproduce :
> - Log in the Content component
> - Go to the Content tab
> - In the search form, open the lookup of the field ' Owner Content Id '
> - Click on the search button
> - In the result list, click on a button link in the column 'Data Resource Id'
> - The form to edit the Content will be displayed (a whole OFBiz seems to be accessible from this new page)
> - Close the lookup.
> - Try to reopen it, it doesn't show anything anymore.
> The only hint I've found for explaining this problem is that the request to open the lookup is somehow changed.
> At first it is : 
> https://localhost:8443/content/control/LookupContent
> But then it becomes :
> https://localhost:8443/content/control/LookupLocale
> The other lookup seems unusable too after that.
> Did you already encounter this kind of problem before ?



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)