takuya-takeuchi / RedArmory

Backup and Restore tool for Bitnami Redmine Stack
MIT License
16 stars 3 forks source link

Backup and Restore fails on 4.0.0 #34

Closed takuya-takeuchi closed 5 years ago

takuya-takeuchi commented 5 years ago

The results of stack.InstallLocation are different bitween 3.2.2 and 4.0.0.

stack.InstallLocation   "C:\\Bitnami\\redmine-3.2.2-0"
stack.InstallLocation   "\"C:\\Bitnami\\redmine-4.0.0-0\""

This double quotation occur exception.

2019-01-19 19:56:33.5474 [       1] [ERROR] StackTrace is    場所 System.IO.Path.CheckInvalidPathChars(String path, Boolean checkAdditional)
   場所 System.IO.Path.Combine(String path1, String path2)
   場所 Ouranos.RedArmory.Models.Services.BitnamiRedmineService.<GetServiceDisplayNames>d__8.MoveNext()
   場所 System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()
   場所 System.Linq.Enumerable.<ConcatIterator>d__59`1.MoveNext()
   場所 System.Linq.Enumerable.<ConcatIterator>d__59`1.MoveNext()
   場所 System.Linq.Enumerable.<ConcatIterator>d__59`1.MoveNext()
   場所 System.Linq.Buffer`1..ctor(IEnumerable`1 source)
   場所 System.Linq.Enumerable.ToArray[TSource](IEnumerable`1 source)
   場所 Ouranos.RedArmory.Interfaces.BackupEngine.PrepareBackup()
   場所 Ouranos.RedArmory.Models.BackupModel.<Execute>d__15.MoveNext() 
takuya-takeuchi commented 5 years ago

fix 6da8b9d6536a77247cf9cad282edcd85fe8cb4fa