SubSonic Forums
All Your Database Are Belong To Us

Missing some bits?

Latest post 01-16-2008 2:56 AM by ShawnOster. 8 replies.
  • 01-11-2008 1:59 AM

    Missing some bits?

    Just pulled down a read-only version and have noticed a few things:

    • Missing SubSonic.Documenter
    • Missing RobTests
    • Missing RobsSite
    • Seem to be missing SubCommander\CodeRunner.cs

    The biggest one is obviously missing CodeRunner.cs.  I tried to compile SubSonic.Tests but it got cranky with that above message.  Anyway, looking forward to seeing if I can chip in anywhere, what a better way to goof off at work than by writing some tests :)

  • 01-11-2008 11:05 AM In reply to

    Re: Missing some bits?

    I don't see CodeRunner.cs either but I compile correctly ( I unloaded RobTests, RobSite, SubSonic.Documenter, and SubStage ). SubStage I had to manually unload but the others were automatically unloaded. Anyways I'm wodering if the DB scripts are out of date because when I run the tests I get 80 passed and 72 failed. The failures so far are due to invalid column names. Maybe we need a clean schema scripts along with data for both pubs and northwind? Could that be posted?

    - Chris

    Filed under:
  • 01-11-2008 2:05 PM In reply to

    Re: Missing some bits?

    I F'd up the solution file - comitting now...

    Find a bug? Create a Work Item for a fast response.. Want to help? Create a patch for us!

  • 01-11-2008 3:05 PM In reply to

    Re: Missing some bits?

    Thanks for those changes, helped a lot. 

    Not sure how particular you want us to be but I get this error: 

    Error 1 Inconsistent accessibility: base class 'SubSonic.SubStage.MasterStore' is less accessible than class 'SubSonic.SubStage.ModelManager' D:\projects\subsonicproject\SubStage\ModelManager.cs 7 18 SubStage

    Looking at MasterStore.cs I see something really weird...

    namespace SubSonic.SubStage
    {
    }
    namespace SubSonic.SubStage
    {
    }
    namespace SubSonic.SubStage {


     partial class MasterStore
     {
     }
    }

    That doesn't quite seem like any class I've ever created, but then again I could be missing some super-cool feature :)  Anyway, removing SubStage from the solution gets things compiling but when it was included nothing wanted to place nicely.  Again this is in 2008 so that may have something to do with it.

  • 01-11-2008 4:09 PM In reply to

    Re: Missing some bits?

    OK, can someone help me with a sanity check?  I can't get the basic tests to run because of an invalid column 'Neep'?  Sounds like a bad Space Ghost sidekick.  Anyway it's in SubSonic.Tests\Generated\Northwid\Models\Product.cs, line 335.  Is something wrong with my working copy or is there really supposed to be a 'Neep' column in the Products table that I'm missing?

    It's very valid that I've messed something up or don't have things configured correctly.  For the record I created the Northwind DB using the scripts in the DBScripts folder if that helps.

  • 01-15-2008 4:32 PM In reply to

    Re: Missing some bits?

    Hmmm - Eric just loaded up the new SubStage bits, and I think we took Neep out asa well. It's building for me - SHawn can you do an UPDATE and see what happens?

     Thanks for this...

    Find a bug? Create a Work Item for a fast response.. Want to help? Create a patch for us!

  • 01-15-2008 6:20 PM In reply to

    Re: Missing some bits?

    I saw some changes but sorry, neep still there... here's what I did (incase I'm really doing something stupid):

    1. Create new folder d:\ss
    2. After checkout double-click SubSonic.sln
    3. SubSonic opens in Visual Studio 2005
    4. As soon as the solution opens I do a 'Find In Files', searching for 'Neep' (don't build, don't gen, just search)
    5. Neep is found in both ProductController and Product.cs.

    All projects build, but not all tests run.  For example ActiveListTests gets very grumpy because of said Neep column.

  • 01-16-2008 2:16 AM In reply to

    Re: Missing some bits?

    Hmm - this is weird. I have a checkin coming tomorrow and I'll make sure the gen'd bits are fixed up.

    Sorry about this :(

    Find a bug? Create a Work Item for a fast response.. Want to help? Create a patch for us!

  • 01-16-2008 2:56 AM In reply to

    Re: Missing some bits?

    Ahh, bits are bits, especially in beta so no worries.  I just want to get cracking writing tests and breaking things :)  I noticed the Sugar bits are severely under represented when it comes to tests as well so I have a few basic ones in the wings I'll post up to the forums.  A big one for me was checking that the IsEmail could handle periods in e-mail names correctly, like shawn.oster@gmail.com, which some validators tend to consider invalid.

    Anyway, love all the goodness you've got going on, fragmented focus and all :)

Page 1 of 1 (9 items) | RSS