Opened 17 years ago

Closed 17 years ago

#286 closed defect (wontfix)

Web application dataview field sort does not work as expected

Reported by: Mark J. Millard Owned by: bweaver
Priority: minor Milestone: Beta 3
Component: Public Website App. Version: 1.5.915
Severity: Keywords:
Cc: Database Engine: N/A
Operating System: N/A

Description

The dataview web editor is a temp tool so this is minor defect until a more permanent tool surfaces. There are move arrows on the fields to get them in the sequence of presentation on the dataview, but all movements are not captured. I started with a copy of a dataview on another table as a model and deleted all fields except the three amigos (created, modified, owned). I then started adding fields and of course they started at the bottom. I did the key field first and moved it all the way to the top as has been the custom on dataviews until this time. The presentation after save was all jumbled. So I am attaching images of my attempt to fix. First what it looked like after a couple of jumbles. Then ordered in the sequence I wanted it to be sequenced and then what resulted after the save.

Attachments (3)

SortFieldonDataview_2010-01-23_1-23-2010 8-42-17 AM.jpg​ (373.3 KB ) - added by Mark J. Millard 17 years ago.
Initial Dataview field Sort
SortFieldonDataview_2010-01-23_1-23-2010 8-43-21 AM.jpg​ (373.4 KB ) - added by Mark J. Millard 17 years ago.
What dataview sort should be
SortFieldonDataview_2010-01-23_1-23-2010 8-43-52 AM.jpg​ (373.9 KB ) - added by Mark J. Millard 17 years ago.
What dataview sort looks like after the save

Download all attachments as: .zip

Change History (6)

by Mark J. Millard, 17 years ago

Initial Dataview field Sort

by Mark J. Millard, 17 years ago

What dataview sort should be

by Mark J. Millard, 17 years ago

What dataview sort looks like after the save

comment:1 by bweaver, 17 years ago

Owner: changed from dbmulg to bweaver
Status: new → assigned

This bug is actually in the CreateDataView method, so the bug will appear in any UI we put on top of that code. This definitely needs to be fixed.

Also, this is in tandem with another problem in which even if the dataview fields are saved properly with a different sort_order value in sec_table_field, the DataTable object that is output by the middle tier does not yet respect the value, meaning it won't show up in the CT in the proper order.

comment:2 by Mark J. Millard, 17 years ago

Confirmed that this problem still exists in v1.5.988. Work around on order is to make single row changes and save/clear cache. After the dataview is as it should be in the presentation in the dataview definition tool, the sequence is still not picked up by the curator tool.

comment:3 by bweaver, 17 years ago

Resolution: → wontfix
Status: assigned → closed

The dataview editor web page is being eclipsed by the dataview editor in the Admin Tool. Unless we decide to support 2 dataview editors for the final release, there is no need to have the editor on the web site anymore.

Note: See TracTickets for help on using tickets.