Welcome Guest Login Register Member List
ExpressionEngine Forums
Advanced Search
Username: Password:
Remember Me? forgot password?
You are here: Forum Home  >  Usage  >  Troubleshooting  >  Thread
   
 
Done is really Done!
 
HandySolo
Posted: 08 November 2006 04:14 AM   [ Ignore ]  
Newbie
Rank
Total Posts:  10
Joined  2006-11-03

As of today, I can no longer see “Done” items from the Tracks menu.  Up until today it worked…

Instead, I get a page full of stuff (links to a txt file since I couldn’t include it in this post).  Did I break something?

I can promise I’ve not been mucking about with the code.  In fact, so far I haven’t even peeked.  Just installed and ran. 

Any ideas or suggestions on how to proceed?

Profile
 
lukemelia
Posted: 08 November 2006 06:17 AM   [ Ignore ]   [ # 1 ]  
Member
Avatar
RankRankRank
Total Posts:  62
Joined  2006-07-18

What version of Tracks are you running?

Signature 

Luke Melia - Tracks committer - New York, NY - http://www.lukemelia.com/

Profile
 
HandySolo
Posted: 08 November 2006 01:14 PM   [ Ignore ]   [ # 2 ]  
Newbie
Rank
Total Posts:  10
Joined  2006-11-03

1.0.43

Profile
 
lukemelia
Posted: 08 November 2006 02:19 PM   [ Ignore ]   [ # 3 ]  
Member
Avatar
RankRankRank
Total Posts:  62
Joined  2006-07-18

As best I can guess, you have one or more todos in your database that are marked done but for some reason did not have a completed data assigned to them.

If you fire up script/console on the command line, you can run the following to check this theory:

Todo.find(:all, :conditions => [‘completed IS NULL AND done = ?’, true])

If you get any results back, those are the offending records. You can fix them by running the following in script/console:

Todo.find(:all, :conditions => [‘completed IS NULL AND done = ?’, true]).each {|t|t.completed = Time.now; t.save! }

Cheers,
Luke

Signature 

Luke Melia - Tracks committer - New York, NY - http://www.lukemelia.com/

Profile
 
HandySolo
Posted: 08 November 2006 07:25 PM   [ Ignore ]   [ # 4 ]  
Newbie
Rank
Total Posts:  10
Joined  2006-11-03

Thanks Luke!

That worked great—and now I know about script/console.  grin

Profile
 
HandySolo
Posted: 08 November 2006 07:27 PM   [ Ignore ]   [ # 5 ]  
Newbie
Rank
Total Posts:  10
Joined  2006-11-03

As an aside… the one record that had an issue included an apostrophe in the description.  (respond to Tony’s bugs).

If you suspect that was the cause, I could log it over at trac.

Profile
 
lukemelia
Posted: 08 November 2006 10:48 PM   [ Ignore ]   [ # 6 ]  
Member
Avatar
RankRankRank
Total Posts:  62
Joined  2006-07-18

>As an aside… the one record that had an issue included an apostrophe in the description.  (respond to Tony’s bugs).
>If you suspect that was the cause, I could log it over at trac.

If you’re feeling brave, try to replicate it. If that’s the problem, a new ticket in the trac would be great!

Signature 

Luke Melia - Tracks committer - New York, NY - http://www.lukemelia.com/

Profile
 
HandySolo
Posted: 09 November 2006 05:20 AM   [ Ignore ]   [ # 7 ]  
Newbie
Rank
Total Posts:  10
Joined  2006-11-03

Good news.  I can’t replicate it.  grin
Even using the exact same description as the one that had earlier failed works now.  So I was definitely all wet in my suspicions.

Profile
 
   
 
 
‹‹ Password Reset      This account has exceeded its CPU quota ››

Powered By ExpressionEngine
Template Design By Sonnenvogel.com
Select a theme:

ExpressionEngine Discussion Forum - Version 2.1.2 (20091002)
Script Executed in 0.1146 seconds

Atom Feed
RSS 2.0