gimmegimme220 / cbloader

Automatically exported from code.google.com/p/cbloader
0 stars 0 forks source link

Missing Rules container corrupts the Character Builder #26

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. I accidentally created an AppendNodes element that had some "modify" tags 
that weren't nested inside Rules tags.
2. I ran CBloader.
3. The file merged without errors, but then Character Builder threw an 
"Installation Problem" popup and refused to run.

What is the expected output? What do you see instead?
  CBloader should catch bad code like this and quit before it causes this kind of harm! I had already reinstalled CB and tracked down the problem code before thinking to try re-merging with good code and seeing if the Character Builder would run again... but even if you can fix it that way, this is kinda dramatic.

What version of the product are you using? On what operating system?
  1.1.5, Windows 7

Original issue reported on code.google.com by sabre...@gmail.com on 19 Dec 2010 at 2:18

GoogleCodeExporter commented 8 years ago
Note that AppendNodes is designed to be able to add tags that exist outside of 
the <rules> element (<specific> and <Category> to name a few).  

There is nothing wrong XML-wise about adding a <grant> in there; It's just that 
the Character Builder itself doesn't know what to do with it, and throws an 
error.

It is not within the scope of CBLoader to validate your code - It would 
severely slow down load time, for one thing - But this functionality may find 
it's way into a helper utility we have in the works.

Original comment by YeOldeSt...@gmail.com on 19 Dec 2010 at 3:28

GoogleCodeExporter commented 8 years ago
OK, sounds reasonable!

Original comment by sabre...@gmail.com on 19 Dec 2010 at 3:31