Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id B1F9F200C4A for ; Sun, 2 Apr 2017 13:52:53 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id B0D0B160B8E; Sun, 2 Apr 2017 11:52:53 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 03248160B77 for ; Sun, 2 Apr 2017 13:52:52 +0200 (CEST) Received: (qmail 52330 invoked by uid 500); 2 Apr 2017 11:52:47 -0000 Mailing-List: contact notifications-help@ofbiz.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ofbiz.apache.org Delivered-To: mailing list notifications@ofbiz.apache.org Received: (qmail 52121 invoked by uid 99); 2 Apr 2017 11:52:45 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 02 Apr 2017 11:52:45 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 260C2C05A7 for ; Sun, 2 Apr 2017 11:52:45 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -99.202 X-Spam-Level: X-Spam-Status: No, score=-99.202 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id q9jCPCqouZcC for ; Sun, 2 Apr 2017 11:52:44 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id A133A5F640 for ; Sun, 2 Apr 2017 11:52:43 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id B90D4E0629 for ; Sun, 2 Apr 2017 11:52:42 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id EACF624017 for ; Sun, 2 Apr 2017 11:52:41 +0000 (UTC) Date: Sun, 2 Apr 2017 11:52:41 +0000 (UTC) From: "Aditya Sharma (JIRA)" To: notifications@ofbiz.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (OFBIZ-9279) Sort Links in Lookup for Owner Content Id causes unwanted behaviour on Find Content page MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Sun, 02 Apr 2017 11:52:53 -0000 [ https://issues.apache.org/jira/browse/OFBIZ-9279?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Aditya Sharma updated OFBIZ-9279: --------------------------------- Attachment: OFBIZ-9279.patch Problem: 1. Lookup dialog for ownerContentId uses "ListLookupContent" form to list Content records. 2. "ListLookupContent" form extends "ListContent" form for all the fields. 3. Sort-field is set to true in "ListContent" form for all the fields. 4. Sort-field adds hyperlink to "LookupContent" . 5. When clicked link it moves to a new page and doesn't renders the response in the Lookup dialog. 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 sort-fields.To set it false, it should be overridden. If all fields needs to be overridden it is better not to extend "ListContent" form and add these fields right away. Apart from that added 'header-row-style="header-row-2"' to form. > Sort Links in Lookup for Owner Content Id causes unwanted behaviour on Find Content page > ---------------------------------------------------------------------------------------- > > Key: OFBIZ-9279 > URL: https://issues.apache.org/jira/browse/OFBIZ-9279 > Project: OFBiz > Issue Type: Bug > Reporter: Aditya Sharma > Assignee: Aditya Sharma > Attachments: OFBIZ-9279.patch, screenshot-1.png > > > How to reproduce : > 1. Log in the Content component > 2. Go to the Content tab. https://localhost:8443/content/control/findContent > 3. In the search form, open the lookup of the field ' Owner Content Id ' > 4. Click on any of the table header links to sort the table. Results will be displayed on a new unstyled window closing the Lookup dialog. -- This message was sent by Atlassian JIRA (v6.3.15#6346)