Delphi IDE: Saving raises error with installed DA

Hello,

I’ve got a strange situation here: after installing of Data Abstract I’m not able to save changes to the Delphi-Projects anymore. Saving of units is still possible, but any change which affect the .groupproj or .proj-Files will raise these error (and each subsequent try to save will add a line to the errors):


The german text says:
“Fatal error … Change between current and desired encoding is not supported”

If I uninstall DataAbstract everyhting works fine, so somehow DA is my problem child…
I’ve also tried a different PC with a clean and fresh setted up Delphi XE4 (W7) and wanted to save an empty project without any success.

This behaviour did not occur on older DA-Versions, it started either with 8.2.89.1153 or 8.3.91.1167 and is also present in the current beta.

Any help is appreciated.

Best regards,
Peter

I can’t reproduce it
my steps:

  • clean instance of XE4 UP1 (18.0.4905.60485) & windows7 - both english.
  • install RemObjects Data Abstract for Delphi, Server Edition - 8.2.89.1153.exe
  • create a new project and save it.

How I can reproduce this issue?

Hi Evgeny,

I’m using the same Delphi IDE (XE4 UP1, 18.0.4905.60485) and checked with the 8.2.89.1153 and you’re right, it works in this version I can save a project without any error.
When using the version 8.3.91.1167 the problem occurs and I’m not able to save a project any more.

As there are no further hints what lead to the issue I can only make some guesses:

  • Did somethink change how XML documents were parsed between 8.2.xx.xxxx and 8.3.xx.xxxx (as it seems to be realated to the document encoding?)
  • Can I somehow deactivate the IDE integration (remove some DLLs) to track down the origin?

Best regards,
Peter

reproduced. we have added NextGen compiler support into 8.3.91.1167 and seems something was broken

Thanks, logged as bugs://72805

bugs://72805 got closed with status fixed.

pls update uRONextGenXMLImpl.pas as

...
initialization
{$IFDEF RemObjects_NextGenXML}
  if OpenXML4Factory <> nil then
    DefaultDOMVendor := OpenXML4Factory.Description;
{$ENDIF}    
{$ENDIF}    
end.

and recompile RemObjects_Core_D18.dpk

Hi Evgeny,

thanks for the fix.
I’ve installed the current Beta (9.0.92.1171) and applied the patch and now the IDE behaves like expected.