AMP icon indicating copy to clipboard operation
AMP copied to clipboard

Generic Module XML Setting Stops Working After Blank Value

Open IceOfWraith opened this issue 3 years ago • 0 comments

Bug Report

System Information

  • Operating System - Windows 11 Pro 64-bit
  • AMP version and build date - v20220707.1, built 07/07/2022 03:00
  • Which AMP release stream you're using - Nightly

I confirm:

  • [x] that I have searched for an existing bug report for this issue.
  • [x] that I am using the latest available version of AMP.
  • [x] that my operating system is up-to-date.

Symptoms

  • What are you trying to do? Put a blank value in a setting for Space Engineers.

  • What are you expecting to happen? I should be able to then put a new value in.

  • What is actually happening? ('Nothing' is not an acceptable answer!) AMP is not putting any value in the XML file and the line is getting split across two lines. Here is an example after blanking the MOTD input and then putting "TEST". After both actions, the XML shows the same below. I have also tried manually placing the MessageOfTheDay open/close on the same line manually and AMP produces the same output.

  <MessageOfTheDay>
  </MessageOfTheDay>

Reproduction

Create a Space Engineers instance, update, remove a value from any input, view the SpaceEngineers-Dedicated.cfg file.

IceOfWraith avatar Jul 09 '22 15:07 IceOfWraith