From issues-return-34131-archive-asf-public=cust-asf.ponee.io@struts.apache.org Thu May 21 09:58:04 2020 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [207.244.88.153]) by mx-eu-01.ponee.io (Postfix) with SMTP id B4F04180661 for ; Thu, 21 May 2020 11:58:03 +0200 (CEST) Received: (qmail 12146 invoked by uid 500); 21 May 2020 09:58:02 -0000 Mailing-List: contact issues-help@struts.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@struts.apache.org Delivered-To: mailing list issues@struts.apache.org Received: (qmail 12000 invoked by uid 99); 21 May 2020 09:58:02 -0000 Received: from mailrelay1-us-west.apache.org (HELO mailrelay1-us-west.apache.org) (209.188.14.139) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 21 May 2020 09:58:02 +0000 Received: from jira-he-de.apache.org (static.172.67.40.188.clients.your-server.de [188.40.67.172]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 02538E30BD for ; Thu, 21 May 2020 09:58:02 +0000 (UTC) Received: from jira-he-de.apache.org (localhost.localdomain [127.0.0.1]) by jira-he-de.apache.org (ASF Mail Server at jira-he-de.apache.org) with ESMTP id 95A1778046F for ; Thu, 21 May 2020 09:58:00 +0000 (UTC) Date: Thu, 21 May 2020 09:58:00 +0000 (UTC) From: "ASF GitHub Bot (Jira)" To: issues@struts.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Work logged] (WW-5077) Unable to set long pathname variables MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/WW-5077?focusedWorklogId=3D435= 914&page=3Dcom.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel= #worklog-435914 ] ASF GitHub Bot logged work on WW-5077: -------------------------------------- Author: ASF GitHub Bot Created on: 21/May/20 09:57 Start Date: 21/May/20 09:57 Worklog Time Spent: 10m=20 Work Description: coveralls commented on pull request #419: URL: https://github.com/apache/struts/pull/419#issuecomment-631997239 =20 [![Coverage Status](https://coveralls.io/builds/30940590/badge)](https:/= /coveralls.io/builds/30940590) =20 Coverage increased (+0.001%) to 47.098% when pulling **c290b0a3646b1f679= 6a632b2437a910450fdc7ad on WW-5077-better-logs** into **0fabde9f978c476cd3b= 769741e5f0fed189f3e1b on struts-2-5-x**. =20 ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: users@infra.apache.org Issue Time Tracking ------------------- Worklog Id: (was: 435914) Time Spent: 40m (was: 0.5h) > Unable to set long pathname variables > ------------------------------------- > > Key: WW-5077 > URL: https://issues.apache.org/jira/browse/WW-5077 > Project: Struts 2 > Issue Type: Bug > Components: Core > Affects Versions: 2.3.24 > Reporter: Stephan > Priority: Major > Fix For: 2.5.23, 2.6 > > Attachments: Struts2Sample.zip, Struts2Sample2.zip > > Time Spent: 40m > Remaining Estimate: 0h > > =C2=A0 > I implemented a simple struts2+tiles (Struts 2 core version: 2.3.24.1) as= a test case to verify an issue that have. > In detail, i have the following Struts form: > {code:java} > > > > > > > > > > =20 > {code} > The metadataTest class: > {code:java} > public class Metadata implements Serializable { > /** The Constant serialVersionUID. */ > private static final long serialVersionUID =3D 5902230367443812176L; > private String name; > private ArrayList metadataList; > public Metadata() { > } > public String getName() { > return name; > } > public void setName(String name) { > this.name =3D name; > } > public ArrayList getMetadataList() { > return metadataList; > } > public void setMetadataList(ArrayList metadataList) { > this.metadataList =3D metadataList; > } > } > {code} > My issue here is following. When i submit this form, all values up to thi= s level, are set correctly > {code:java} > > {code} > For some reason the below hidden element is never set, instead, the medat= aList at level 6 is null, while the name set by the hidden field above, is = set correctly. > {code:java} > > {code} > Is there any kind of limitation by struts concerning the depth in a list = hierarchie or maybe the length of path to set a value ? I could not find so= mething related. > *Note 1*: It surely has to do something with the length of the parameters= . Once i changed the variable names to longer ones, i was able to set value= s only up to Level 3. > *Note 2*: Downgrading to Struts 2.1.6 resolves the issue. Also latest ver= sion 2.5.22 seems to be afffected from the exact same issue. Is there any w= orkaround ? > =C2=A0 -- This message was sent by Atlassian Jira (v8.3.4#803005)