Issue Details (XML | Word | Printable)

Key: SCAFF-90
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: David Peterson
Reporter: David Peterson
Votes: 6
Watchers: 3
Operations

If you were logged in you would be able to see more operations.
Confluence Extension: Scaffolding Plugin

Repeating data and tables are broken in IE

Created: 19/Dec/06 07:27 AM   Updated: 29/Aug/08 04:56 AM
Component/s: None
Affects Version/s: 2.2-dr3
Fix Version/s: 3.0.0

Time Tracking:
Not Specified

Environment: Internet Explorer 6
Issue Links:
Relates
 


 Description  « Hide
Currently repeating data and particularly tables are quite broken in IE. They render poorly, and don't add or delete items correctly.

 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
Espen Wang Andreassen added a comment - 15/Jan/07 01:05 PM
Completely broken in IE 7.0 (5730.11) also.

Mel Nepomuceno added a comment - 23/Aug/07 12:14 AM - edited
I am using table-data macro inside a live template. One of the table columns has a list-data macro that has a required=true and user-options parameters

When you add a row for the first time, fill up the said table column with the user from the selection list and save it, you will get an error saying the value (ie the user name) is required. When you go back and save the page again, it will accept the addition.

In addition, your entries on the other fields on that row will also be lost.

Overall I think the table-data macro is a bit unstable. But it such a very nice feature I really want to make it work.

Hope you can help. Thanks.

Mel

{hidden-data}
{note:title=Vendor Company Notes}
* TYPE: Live template
* USED BY: Vendor Company Page
{note}
{hidden-data}

h1. Notes

{section}
{column:width=80%}
{table-data:Vendor Notes}
|| Contributor/Owner || Item || Type || Date || Remarks ||
| {list-data:Vendor Note Owner|required=true}{user-options}{list-data} | {text-data:Vendor Note Item|width=300px}{text-data} | {list-data:Vendor Note Type|type=check}{list-option}(x){list-option}{list-option}:){list-option}{list-option}(/){list-option}{list-option}(i){list-option}{list-option}(on){list-option}{list-data} | {date-data:Vendor Note Date|format=dd-MMMM-yyyy|minYear=2005} | {text-data:Vendor Note Remarks|type=area|width=600px|height=5em}{text-data} |
{table-data}
{column}
{column:width=20%}
{panel:title=Type|borderStyle=none}
| Task, Not Started | (x) |
| Task, On Going | :) |
| Task, Completed | (/) |
| Information | (i) |
| Idea | (on) |
{panel}
{column}
{section}

Another problem with table-data:

When I add a line on the table put a zero value in any of the column containing a number-data macro and then save the page. If I then go back and edit the page, the number column with 0 value are not available for editing.
The above doesnt seem to happen to number-data macros when used outside a table-data

Just to add to what I posted earlier

The scenario I describe is such that number-data defaults to 0 to ensure that there is a value to the field. However when you save it and go back to edit it, the field becomes uneditable

I tried using the required=true option and same thing, it wouldnt accept the default 0 value saying "null" is not allowed. Worse is I tried entering a number greater than zero and it still says the field is null and ask you to enter a number


Tony Atkins added a comment - 03/Apr/08 02:21 PM
This issue is biting us somewhat hard. Any idea how long it would take to fix if we were to come up with some funds?

David Peterson added a comment - 03/Apr/08 04:16 PM
Honestly, it's hard to estimate. My gut feeling is that we will have to rewrite/replace the library we're currently using to do the AJAX table manipulation, since it seems to be quite broken in IE. Which is not necessarily a bad thing - Atlassian has switched to JQuery for 2.8, which is one of the options, so it might be simplest to go down that route. Keeps everything on the same page.

That being the case, just to fix the table issue is probably around two weeks. But I would want to do a more thorough review before making a concrete quote - it's been a while since I had time to work on that issue.

If you can get some funds arranged it will definitely fast-track a resolution. If you'd like to go down that route, email atlassian@customware.net and we can work on getting a more accurate quote for you.