Get a Jumpstart with our Sample Apps
Results 1 to 5 of 5

Thread: Formview: List field names duplicated after 3 or more cascading lists! is this a bug?

  1. #1
    Member
    Real Name
    Maroine A.
    Join Date
    Apr 2010
    Location
    Rabat, Morocco
    Posts
    106

    Default Formview: List field names duplicated after 3 or more cascading lists! is this a bug?

    I have a parent list with 4 cascading children lists and a formview that is based on the parent list. Assume I have the following list names: PARENT_LIST --> CHILD_LIST1 --> CHILD_LIST2 --> CHILD_LIST3 --> CHILD_LIST4 (--> indicates parent child relationship for example, CHILD_LIST1 is the parent list of CHILD_LIST2 and so on...)

    When I switch to the fields list in the formview, the 3rd and 4th lists inherit the fieldnames of the 2nd list! in the above example I see the names of the lists as follows:

    CHILD_LIST1 fieldname is CHILD_LIST1[]
    CHILD_LIST2 fieldname is CHILD_LIST1[].CHILD_LIST2[]
    CHILD_LIST3 fieldname is CHILD_LIST1[].CHILD_LIST2[].CHILD_LIST2[] instead of CHILD_LIST1[].CHILD_LIST2[].CHILD_LIST3[]
    CHILD_LIST4 fieldname is CHILD_LIST1[].CHILD_LIST2[].CHILD_LIST2[].CHILD_LIST2[] instead of CHILD_LIST1[].CHILD_LIST2[].CHILD_LIST3[].CHILD_LIST4[]

    The same goes for any other cascaded list that comes after CHILD_LIST4.
    This actually gets complicated and waste of time when trying to switch to the form layout tab and have to manually correct the list field names in the freeform editor, and when I try to do some modification using the Genie, then switch back to the freeform layout all fieldname modifications are lost.

    This behavior also happens in a viewbox when based on a parent list that has 3 or more cascading lists.

    Is this a bug? has anyone experienced this behavior before?

    Thanks for taking the time to look into it.
    Last edited by Maroine81; 04-12-2017 at 10:56 AM. Reason: more info

  2. #2
    Member
    Real Name
    Maroine A.
    Join Date
    Apr 2010
    Location
    Rabat, Morocco
    Posts
    106

    Default Re: Formview: List field names duplicated after 3 or more cascading lists! is this a bug?

    I have attached a test component along with a text file that has sql code to create the database that goes along with the component.

    Duplicate_listNames.a5wcmp

    duplicate_listnames.txt

  3. #3
    "Certified" Alphaholic
    Real Name
    David Kates
    Join Date
    Apr 2008
    Location
    Unionville, ON
    Posts
    6,164

    Default Re: Formview: List field names duplicated after 3 or more cascading lists! is this a bug?

    I'm seeing the same using your tables and component. I have to say... I not comfortable with your table names or List names. I changed everything to use table names of first_child, second_child etc. And List variable names of FIRST_CHILD, SECOND_CHILD. The use of numbers in table names and _numbers on List names just doesn't look good... or work that well without special attention.

    However, even with my changes to more accepted naming... the issue still presents.

    Switching to the Freeform editor and making corrections does allow the process to work... but I'm curious. You end up with a long list of names from the 5 Lists. What is your intention for doing this?

  4. #4
    Member
    Real Name
    Maroine A.
    Join Date
    Apr 2010
    Location
    Rabat, Morocco
    Posts
    106

    Default Re: Formview: List field names duplicated after 3 or more cascading lists! is this a bug?

    Thank you David for taking the time to look into this.

    You're right, those naming conventions are inadvisable although that didn't cause a conflict in this case.

    In the setup I'm using I only have one parent list and 3 cascading lists, I added the 4th in this component to emphasize that the bug occurs for all the cascaded lists that come after the 2nd list. Those lists are just an example to mimic the bug. As for my intention for doing this, it does require a long description to explain since there are many important details to emphasize. I will send you a PM about what I'm trying to accomplish if you don't mind of course.

    I have submitted a bug report yesterday and received a quick response just few hours after from Mr. Rabins who stated that the fix will be available in the next pre-release build.

  5. #5
    "Certified" Alphaholic
    Real Name
    David Kates
    Join Date
    Apr 2008
    Location
    Unionville, ON
    Posts
    6,164

    Default Re: Formview: List field names duplicated after 3 or more cascading lists! is this a bug?

    Understood... yes please... send a PM.

Similar Threads

  1. Cascading Lists - Child List does not update when navigating with Arrow Keys
    By Pizzadude in forum Mobile & Browser Applications
    Replies: 5
    Last Post: 01-16-2017, 10:15 AM
  2. List Navigation with Cascading Lists
    By Pizzadude in forum Mobile & Browser Applications
    Replies: 6
    Last Post: 10-12-2014, 06:32 PM
  3. Beyond Cascading Lists
    By Sandy Garrett in forum Alpha Five Version 8
    Replies: 2
    Last Post: 10-17-2009, 02:25 PM
  4. Cascading Lists (Field Rules)
    By peter284 in forum Alpha Five Version 8
    Replies: 1
    Last Post: 03-15-2007, 11:44 PM
  5. Truncated Field Names in Duplicated Tables
    By Elgin Hakala in forum Alpha Five Version 4
    Replies: 8
    Last Post: 07-08-2002, 05:29 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •