NoMethodError in CardController#view

Support Ticket

+status
closed
+tags
 

Hi everyone. I followed exactly this installation guaide to deploy wagn under Fedora 13 with REE 1.8.7 and rails 2.3.5. I got a NoMethodError in CardController#view error when I did the following:

log in, create a new card, select card type as "Image" on the dropdown menu and then click on cancel without uploading and saving a image.

Then this error occurs. I have pasted trace below. Am I doing something wrong? Any help would be appreciated. Thanks in advance!

 

 

Did you use git, or tarball?  It looks a little like it could be the submodules, but if you did tarball, that wouldn't be the case.  2.3.5 is working for me, and typically the rest of the gems are ok as long as they are all there.  Some of the tests are picky about exact versions, but you're not doing that. -- Gerry


Actually, it looks to me like this is a legitimate bug -- I was able to reproduce the problem on wagn.org. My guess is that it is specific to the cancel button on images and files, and it may or may not happen when you cancel images/files inline.

 

We'll make a ticket to fix this in the next release (not including the one coming out next week -- there's already a code freeze on)

 

Note to developers -- it looks like @card is not getting loaded for some reason.

 

Thanks for letting us know!!

  --Ethan McCutchen.....Sat Jan 29 09:21:53 -0800 2011


You are welcome. I am the guy who created this card. This problem is not just limited on image, actually it would happen on every card type like "Date", "File", "HTML", etc., including "Basic"(if you change type to other type and then change it back).

WAGN is a great app, hope you can make it better : )

  --evanyw.....Sat Jan 29 17:18:08 -0800 2011