|
|
|
I would suggest upgrading this to Critical priority.
You can often get the data just saved to show up by refreshing the page (Ctrl-refresh in IE) after first saving, but I've seen situations where some but not all of the data shows up this way, and you seem to have to refresh the page multiple times until all the data "settles" and is consistently viewable. I believe I have identified the bug which caused this (some invalid assumptions about caching code I had added for performance improvement).
I upgraded to Plugin Version: 2.3-dr5, but I'm still having this issue.
I have found that this affects Internet Explorer, not FireFox. Data is stored properly in firefox, but in IE only the defaults show. Here we have the same issue still with Plugin Version: 2.3-dr5 running on Confluence 2.3.3.
Creating an new entry in the scaffold table sometimes saves sometimes not. If at previewing the data shows I believe it will show up after the save as well, when it does not show up at preview the save action will not save the data at all. Note: I'm using IE6 I have, likewise, noticed this behavior. My users first caught it, since it doesn't seem to happen in non-IE browsers. I use Safari on Mac, and I've confirmed that it is not a problem in Mozilla based browsers on either Mac or Windows. It is a problem in both IE 6 and IE 7 on Windows XP. I don't know about Vista.
We are using the latest scaffold plugin, version 2.3-dr5, and Confluence 2.5.1. In case it's helpful, here is one scaffold which exhibits the problem. | *Application Name:* | {text-data:appName|required=true} |
| *Business Owner:* | {text-data:appBusinessOwner|required=true} |
| *Technical Owner:* | {text-data:appTechOwner|required=true} |
*Servers*
Enter the servers on which the application depends and the function each server fulfills for this application.
{table-data:appServerList}
|| Server Name || Function ||
| {list-data:appServerName}{content-options:parent=SERVERS:ServerList}{list-data} | {text-data:appServerFunction} |
{table-data}
*Application Software*
Enter the software that comprises the application itself, not supporting software or middleware.
{table-data:appSoftwareList}
|| Software Name || Vendor || Version ||
| {text-data:appSoftwareName} | {text-data:appSoftwareVendor} | {text-data:appSoftwareVersion} |
{table-data}
*Middleware*
Enter supporting software and middleware here, such as Oracle, Apache, IIS, etc.
{table-data:appMWList}
|| Middleware Name || Version ||
| {list-data:appMWName}{content-options:parent=MiddlewareList}{list-data} | {text-data:appMWVersion} |
{table-data}
The problem does not occur with the first three fields in the scaffold. It only seems to be an issue with table-data sections, however I have another scaffold where the problem will occur with text-data fields not necessarily in table-data sections. When the user first creates the page and edits it, then fills out the whole form and saves it, only the first three fields are saved. On subsequent edits, if information is added to the form, not all of the information will be saved, although usually the first field edited will be saved. Hope this helps. Have noted that the issue has been marked as 'fixed' yet I am still having this trouble - in many of my scaffold macros. Running Confluence 2.3 dr4
What/where is the 'fix' for the data loss problem, thanks... I had fixed a problem which existed across browsers, however it seems there is still a problem with IE (caching related?).
David: What browser are you using? Hi David
Thanks for getting back to me. The standardised environment here restricts me to IE6. I have thought much about this situation and wonder if it is a mix of problems between the server on which we run Confluence (capacity) and/or the browser. (Indeed your caching theory could be correct) Is it possible that JVM size could play a factor? Does scaffold need plenty of processing power to 'store' and 'convert' the data as it is processed? Cheers It could be that the JVM is contributing, but it would surprise me - the consistent problem seems to be IE. Are you using {table-data} or {repeating-data} in any of your scaffold pages where you are having the problem. As Ryan noted above, those seem to cause problems in IE.
Ok..
I have/am using {table-data} and {repeating-data} - and various macros within sacffold. Mostly in the aims of automating data entry for my users. My issue is loss of data when entered all together, or bits missing, or - like in the case of projectTimeline, the bottom entry in a series of entries gets lossed. I have had to save after every entry to avoid this happening, or to insert a 'dummy' blank entry underneath an actual entry in order to keep from losing the data. Also (maybe just for atrouble shoot) Ok. My current working theory is that it is {table-data} which is causing the data-loss problems. Could anyone else (thanks Ryan) confirm that it is only within {table-data} sections that data loss is happening with IE6? There are numerous known issues with {table-data} and IE6 already....
David, with regards to unique names, you can have the same names inside more than one {repeating-data} or {table-data} macro, as long as the {repeating-data} and/or {table-data} macros themselves have a unique name at that level. Eg: Bad: {table-data:Table}
| {text-data:Text} |
{table-data}
{table-data:Table}
| {text-data:Text} |
{table-data}
Good: {table-data:Table 1}
| {text-data:Text} |
{table-data}
{table-data:Table 2}
| {text-data:Text} |
{table-data}
Hope that clarifies things. Thanks heaps mate.
Will keep working on my scaffolds! Looking forward to seeing what eventuates on a fix for the IE6 factor. Cheers I can confirm that in all of my scaffolds, it is both {table-data} and {repeating-data} and only those sections that are not saved by IE6. It is only data fields within the section that are not saved – that is, non-editable text is displayed in each repeated section added, just as non-editable table headers are displayed. I have also tried the "Preview and Save" trick, which did not work. The only remotely reliable method I've found of saving the information in those sections with IE is to make one edit and save without touching any other fields. For example, if I add a row in a {table-data} section, I can fill out the row and then save the page, and as long as I haven't filled out any other fields on the page during that edit session, the new row will usually be saved.
It feel that this issue is a source for
When i add a row to a table and do a view source, I am not able to see any row which shows data related with newly added row and when i click preview tab it will not add any row to a table. If I put required=true for {list-data} in this case it will through an error saying "Please select a option". David Peterson :- Cheers Riyaz - yes, they are probably related.
With regards to the caching issue I mentioned, essentially it's a very simple cache which simply stores the most recently retrieved data in memory. This is useful in the common case where you have a page which is pulling Scaffolding data from the same page multiple times. Without caching, it has to retrieve and deserialise the data every time it's requested. The bug was related to not correctly keeping track of what the most recently-retrieved scaffolding data was. Browser: Mozilla 1.7.13
thanks! |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Going back and editing the record solves the error. My account (which is administrator) does not have this problem. Has anyone seen of resolved this issue before?