Your browser was unable to load all of the resources. They may have been blocked by your firewall, proxy or browser configuration.
Press Ctrl+F5 or Ctrl+Shift+R to have your browser try again.

line termination issue exporting configurations #4521

drdt ·

I have seeing a behavior in recent months that I am less convinced is my doing.

Occasionally, when I export a configuration (using the "Export Configurations" maintenance step), recently-modified text fields will have Windows line terminators embedded in them, for example:

<description>If not set to 'true', the scheduler for the builds will be disabled.^M
^M
Enabled by default on production server.</description>

But not all fields; only the ones which have been changed. The unchanged fields are fine.
This impacts us because it shows up as an unexplained difference when we check these XML files into Perforce.

I used to think this was because I had pasted text into the field using a Windows-based browser (normally I work on Mac). However, very carefully re-entering the field from the Mac browser resulted in the same result when exporting. The only way to get rid of these seems to be to export, modify the XML by hand, and then import it back in. Which really isn't a scalable solution.

Is it possible some database change in recent upgrades is changing this behavior? Can it be changed back?

  • replies 4
  • views 718
  • stars 0
robinshen ADMIN ·

Since some version, QB changed configuration and build description to use html gadgets which saves content with "\r\n" line terminator. This is standard of html textarea behavior, whether on Windows, Mac, or Linux.

In QB 13.0.32 (https://build.pmease.com/build/5743) this is normalized to "\r" when save the description to avoid clutter in exported XML.

robinshen ADMIN ·
drdt ·

I see this is attached to 13.0.32, but I also see the issue is still marked as 'open' as of August 10. Is it okay to download and use this version?

robinshen ADMIN ·

This is actually fixed in 13.0.32. Just forget to close the issue.