Stalker Posted June 7, 2009 Report Share Posted June 7, 2009 I have exported my db to XML to do some replacing en-masse. After re-importing it I have noticed that all entries which depended on anchored "Use selection as start"/"Use selection as end" searches were broken. I haven't had time to try and reproduce it yet though. Link to comment Share on other sites More sharing options...
floele Posted June 7, 2009 Report Share Posted June 7, 2009 Maybe you corrupted the whitespace? It also matters Link to comment Share on other sites More sharing options...
Stalker Posted June 7, 2009 Author Report Share Posted June 7, 2009 I was replacing file download location. I've investigated a bit and noticed that mostly end anchor which consisted of whitespace or endline was corrupted. Here's an example entry. After initial export: <ApplicationJob xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" Guid="993b6ac8-9a89-4c2b-a929-719aee024330"> <DownloadBeta>Default</DownloadBeta> <DownloadDate xsi:nil="true" /> <CheckForUpdatesOnly>false</CheckForUpdatesOnly> <VariableChangeIndicator /> <CanBeShared>true</CanBeShared> <ShareApplication>true</ShareApplication> <ExclusiveDownload>false</ExclusiveDownload> <HttpReferer /> <Variables> <item> <key> <string>version</string> </key> <value> <UrlVariable> <RegexRightToLeft>false</RegexRightToLeft> <VariableType>StartEnd</VariableType> <Regex /> <Url>http://www.processblocker.com/download.html</Url> <StartText>Current version: </StartText> <EndText> </EndText> <Name>version</Name> </UrlVariable> </value> </item> </Variables> <ExecuteCommand /> <ExecutePreCommand /> <Category>Administration</Category> <SourceType>FixedUrl</SourceType> <PreviousLocation>\\Neuromancer\Software\Administration\Process Blocker_v0.6 beta.msi</PreviousLocation> <DeletePreviousFile>true</DeletePreviousFile> <Enabled>true</Enabled> <FileHippoId /> <LastUpdated>2009-05-20T20:06:09.5</LastUpdated> <TargetPath>{DEST_DIR}\{category}\{appname:replace: :_}_v{version:replace: :_}.{url:ext}</TargetPath> <FixedDownloadUrl>http://www.processblocker.com/downloads/processblocker32.msi</FixedDownloadUrl> <Name>Process Blocker</Name> </ApplicationJob> After re-import: <ApplicationJob xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" Guid="993b6ac8-9a89-4c2b-a929-719aee024330"> <DownloadBeta>Default</DownloadBeta> <DownloadDate xsi:nil="true" /> <CheckForUpdatesOnly>false</CheckForUpdatesOnly> <VariableChangeIndicator /> <CanBeShared>true</CanBeShared> <ShareApplication>true</ShareApplication> <ExclusiveDownload>false</ExclusiveDownload> <HttpReferer /> <Variables> <item> <key> <string>version</string> </key> <value> <UrlVariable> <RegexRightToLeft>false</RegexRightToLeft> <VariableType>StartEnd</VariableType> <Regex /> <Url>http://www.processblocker.com/download.html</Url> <StartText>Current version: </StartText> <EndText /> <Name>version</Name> </UrlVariable> </value> </item> </Variables> <ExecuteCommand /> <ExecutePreCommand /> <Category>Administration</Category> <SourceType>FixedUrl</SourceType> <PreviousLocation>\\Neuromancer\Software\Administration\Process Blocker_v0.6 beta.msi</PreviousLocation> <DeletePreviousFile>true</DeletePreviousFile> <Enabled>true</Enabled> <FileHippoId /> <LastUpdated>2009-05-20T20:06:09.5</LastUpdated> <TargetPath>{DEST_DIR}\{category}\{appname:replace: :_}_v{version:replace: :_}.{url:ext}</TargetPath> <FixedDownloadUrl>http://www.processblocker.com/downloads/processblocker32.msi</FixedDownloadUrl> <Name>Process Blocker</Name> </ApplicationJob> Notice that <EndText> is empty. Link to comment Share on other sites More sharing options...
floele Posted June 7, 2009 Report Share Posted June 7, 2009 And who did it? Ketarin? Link to comment Share on other sites More sharing options...
Stalker Posted June 7, 2009 Author Report Share Posted June 7, 2009 Definitely not me I just exported the entry, replaced <TargetPath> with new value and imported it again. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now