5.24 (& older) export compact bug

5.24 and older fails to export the ssid on an ap when NV2 + key are in use. In this export from a 711 the ssid IS set to something other than default

[admin@SOMESITE] > interface wireless export compact 
# mar/26/2013 19:03:47 by RouterOS 5.24
# software id = RWYJ-XCR3
#
/interface wireless security-profiles
set [ find default=yes ] group-ciphers="" supplicant-identity=MikroTik unicast-ciphers=""
add authentication-types=wpa-psk,wpa2-psk eap-methods=passthrough group-ciphers=tkip,aes-ccm management-protection=allowed mode=dynamic-keys name=cpe supplicant-identity="" \
    unicast-ciphers=tkip,aes-ccm wpa-pre-shared-key=KEY_GOES_HERE wpa2-pre-shared-key=KEY_GOES_HERE
/interface wireless
set 0 band=5ghz-a/n country=ireland default-forwarding=no disabled=no frequency=5300 ht-rxchains=0,1 ht-txchains=0,1 l2mtu=2290 mode=ap-bridge name=wlan-ap2 nv2-preshared-key=\
    KEY_GOES_HERE nv2-security=enabled rate-selection=legacy security-profile=cpe wireless-protocol=nv2

Now here’s a full export of the same data

interface wireless export hide-sensitive 
# mar/26/2013 19:09:38 by RouterOS 5.24
# software id = RWYJ-XCR3
#
/interface wireless security-profiles
set [ find default=yes ] authentication-types="" eap-methods=passthrough group-ciphers="" group-key-update=5m interim-update=0s management-protection=disabled mode=none name=\
    default radius-eap-accounting=no radius-mac-accounting=no radius-mac-authentication=no radius-mac-caching=disabled radius-mac-format=XX:XX:XX:XX:XX:XX radius-mac-mode=\
    as-username static-algo-0=none static-algo-1=none static-algo-2=none static-algo-3=none static-sta-private-algo=none static-transmit-key=key-0 supplicant-identity=MikroTik \
    tls-certificate=none tls-mode=no-certificates unicast-ciphers=""
add authentication-types=wpa-psk,wpa2-psk eap-methods="" group-ciphers=tkip,aes-ccm group-key-update=5m interim-update=0s management-protection=allowed mode=dynamic-keys name=\
    cpe radius-eap-accounting=no radius-mac-accounting=no radius-mac-authentication=no radius-mac-caching=disabled radius-mac-format=XX:XX:XX:XX:XX:XX radius-mac-mode=\
    as-username static-algo-0=none static-algo-1=none static-algo-2=none static-algo-3=none static-sta-private-algo=none static-transmit-key=key-0 supplicant-identity="" \
    tls-certificate=none tls-mode=no-certificates unicast-ciphers=tkip,aes-ccm
/interface wireless
set 0 adaptive-noise-immunity=none allow-sharedkey=no antenna-gain=0 area="" arp=enabled band=5ghz-a/n basic-rates-a/g=6Mbps bridge-mode=enabled channel-width=20mhz \
    compression=no country=ireland default-ap-tx-limit=0 default-authentication=yes default-client-tx-limit=0 default-forwarding=no dfs-mode=none disable-running-check=no \
    disabled=no disconnect-timeout=3s distance=dynamic frame-lifetime=0 frequency=5300 frequency-mode=manual-txpower frequency-offset=0 hide-ssid=no ht-ampdu-priorities=0 \
    ht-amsdu-limit=8192 ht-amsdu-threshold=8192 ht-basic-mcs=mcs-0,mcs-1,mcs-2,mcs-3,mcs-4,mcs-5,mcs-6,mcs-7 ht-guard-interval=any ht-rxchains=0,1 ht-supported-mcs=\
    mcs-0,mcs-1,mcs-2,mcs-3,mcs-4,mcs-5,mcs-6,mcs-7,mcs-8,mcs-9,mcs-10,mcs-11,mcs-12,mcs-13,mcs-14,mcs-15,mcs-16,mcs-17,mcs-18,mcs-19,mcs-20,mcs-21,mcs-22,mcs-23 ht-txchains=\
    0,1 hw-fragmentation-threshold=disabled hw-protection-mode=none hw-protection-threshold=0 hw-retries=7 l2mtu=2290 mac-address=00:0C:42:D8:BB:3F max-station-count=2007 mode=\
    ap-bridge mtu=1500 multicast-helper=default name=wlan-ap2 noise-floor-threshold=default nv2-cell-radius=30 nv2-noise-floor-offset=default nv2-qos=default nv2-queue-count=2 \
    nv2-security=enabled on-fail-retry-time=100ms periodic-calibration=default periodic-calibration-interval=60 preamble-mode=both proprietary-extensions=post-2.9.25 \
    radio-name=000C42D8BB3F rate-selection=legacy rate-set=default scan-list=default security-profile=cpe ssid=somesite5-2 station-bridge-clone-mac=00:00:00:00:00:00 \
    supported-rates-a/g=6Mbps,9Mbps,12Mbps,18Mbps,24Mbps,36Mbps,48Mbps,54Mbps tdma-period-size=2 tx-power-mode=default update-stats-interval=disabled wds-cost-range=50-150 \
    wds-default-bridge=none wds-default-cost=100 wds-ignore-ssid=no wds-mode=disabled wireless-protocol=nv2 wmm-support=disabled
/interface wireless manual-tx-power-table
set wlan-ap2 manual-tx-powers="1Mbps:17,2Mbps:17,5.5Mbps:17,11Mbps:17,6Mbps:17,9Mbps:17,12Mbps:17,18Mbps:17,24Mbps:17,36Mbps:17,48Mbps:17,54Mbps:17,HT20-0:17,HT20-1:17,HT20-2:17\
    ,HT20-3:17,HT20-4:17,HT20-5:17,HT20-6:17,HT20-7:17,HT40-0:17,HT40-1:17,HT40-2:17,HT40-3:17,HT40-4:17,HT40-5:17,HT40-6:17,HT40-7:17"
/interface wireless nstreme
set wlan-ap2 disable-csma=no enable-nstreme=no enable-polling=yes framer-limit=3200 framer-policy=none
/interface wireless align
set active-mode=yes audio-max=-20 audio-min=-100 audio-monitor=00:00:00:00:00:00 filter-mac=00:00:00:00:00:00 frame-size=300 frames-per-second=25 receive-all=no ssid-all=no
/interface wireless sniffer
set channel-time=200ms file-limit=10 file-name="" memory-limit=10 multiple-channels=no only-headers=no receive-errors=no streaming-enabled=no streaming-max-rate=0 \
    streaming-server=0.0.0.0
/interface wireless snooper
set channel-time=200ms multiple-channels=yes receive-errors=no

As you can see the full export does export the ssid, export compact should also if it is no longer the default (which it is not)