I've noticed that changes were saved to the hyfinity_bindings.xml file after a form had been closed without saving.
The last namespace of the xforms tag had been deleted (xmlns:xg="http://www.hyfinity.com/xgate"), why would that happen?
The last namespace of the xforms tag had been deleted (xmlns:xg="http://www.hyfinity.com/xgate"), why would that happen?
RE: Changes made to unsaved hyfinity_binding.xml file
Without knowing what was done on the form it is hard to say for sure, but there are situations where this file is temporarily updated while working on a page.
If you don+?+?+?t do a save, any of these temporary changes will be reverted when you close the tab.
It is possible that this process has caused the xg namespace definition to be removed, but as this namespace shouldn+?+?+?t be needed by this file this will not have any functional impact.
You should never find any functional changes permanently being made to these files unless you use the save option.
I hope this helps clarify things. In your case it won+?+?+?t matter whether you choose to keep the version with the namespace definition or the one without it.
Regards,
Gerard
RE: Changes made to unsaved hyfinity_binding.xml file
I changed the name of a control whilst I had the bindings tab selected, both the structure file and the bindings file were saved instantly.
I then closed the tab without saving and the structure file reverted but the bindings file reverted the control name but not the xforms tag.
I have had problems with pages corrupting when renaming, adding or deleting controls whilst having the bindings tab selected. Selecting the bindings tab after renaming, adding or deleting controls without saving the changes can also corrupt the page.
Might there be a connection between the temporary update to the bindings file and the corruption of the page?
Regards Craig
RE: Changes made to unsaved hyfinity_binding.xml file
I believe that using the bindings tab for controls that have not yet been saved is the main area where these temporary updates occur, so that would fit what you are seeing.
Ideally I think all the changes to the bindings file should be reverted when you close the tab, but you are seeing all the functionally important changes put back, so this hopefully shouldn+?+?+?t matter too much.
Corruption issues however are much more serious. Can you provide some more details on the corruption you get and what you have to do to resolve it? Do you have any more specific steps you can provide to replicate the problem for a given project?
It may be that this is related to the temporary updates, but regardless this is something we would want to investigate further.
Regards,
Gerard
RE: Changes made to unsaved hyfinity_binding.xml file
A number of us have had these issues and are taking more care when the bindings tab is selected or when manipulating controls. On the occations when we notice that we might have caused a bindings issue, we close the tab without saving and reapply our changes. We ensure that the properties tab is selected when adding or renaming controls and save before selecting the bindings tab.
We have had this disciplined approach in place for a couple of months now so providing more specific details at this point would be from memory and might not be accrurate.
We will supply further details on the next occurrence of the issue.
Regards Craig
RE: Changes made to unsaved hyfinity_binding.xml file
I've just had an issue on the bindings tab that is reporting a javascript error when selecting the display binding and each of the action bindings.
Please see attachment.
Regards Craig
RE: Changes made to unsaved hyfinity_binding.xml file
Thanks for this information. We will try and do some more investigation in this area to see if we can replicate some of these problems, but any further details you can provide in future will be useful.
With regards to the script error that you have posted, do you get this error every time you open the page and try and switch actions? If not and it was just that one time, do you remember what you had just been changing?
Many thanks,
Gerard
RE: Changes made to unsaved hyfinity_binding.xml file
RE: Changes made to unsaved hyfinity_binding.xml file
If I open the page design and select the bindings tab, I can switch between the display and action binding with no issues. If I then select 'Edit Documennt' for any of the xml data, without making a change anywhere, switching between bindings creates these issues.
I hope this helps your investigations.
Regards Craig
RE: Changes made to unsaved hyfinity_binding.xml file
Are you able to replicate the problem with these steps on all your pages/projects or just this one? I have done some quick testing but haven+?+?+?t yet been able to replicate it.
If it is just that one page, is there any way you can send across a project export for me to look at?
Also, can you confirm the browser version you are using and what approach (tab, popup or external) you are using for file editing?
Thanks,
Gerard