Author Topic: Error during test of Overall Score formula (3.3 b1)  (Read 3660 times)

efdenny

  • Full Member
  • ***
  • Posts: 107
    • View Profile
Error during test of Overall Score formula (3.3 b1)
« on: February 15, 2014, 10:23:33 AM »
On Stats tab, Edit Profiles, Create Overall Score from Formula, under Test Conditions, Set from Statistics, I get the following error:

'Name.PreferredName' is null or not an object (StatsTab, TournamentPage: 115)
 at openDialog(SelectPlayerDialog)
 at OverallScoresDialog.clickSetPlayerValuesFromStats()
 at anonymous()
 at anonymous()

Browser: Microsoft Internet Explorer
Browser Beta: false
Browser Client Info Version: 7.0
Browser Code Name: Mozilla
Browser Decided Version: 11.0
Browser Detected Version: 11.0
Browser Language: en-US
Browser Minor Version: 0
Browser Version: 4.0 (compatible; MSIE 7.0; Windows NT 6.1; WOW64; Trident/7.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C; .NET4.0E)
Cookies Enabled: true
CPU Class: x86
Data Folder: C:\Users\efdenny\Documents\The Tournament Director 2
Date: 9:20:31 am 02/15/2014
DB File: C:\Program Files (x86)\The Tournament Director 3\db\td.db
DB Folder: C:\Program Files (x86)\The Tournament Director 3\db
Install Folder: C:\Program Files (x86)\The Tournament Director 3
Install Info: 812ea7628997fa056b2080f7e955472317e5fda7269239d410cd3c0e276a3bac7db7acb70ed19cc9db53e33faf15c93c139c537cf5265ef62a3b715efa5480c7f4c0c240bd8cce0be3e6126b48511350409d71cb6d3a0978626354b3114d67709132914dec550915208e9f06deaa19e1f039cc3b71a0decba28b26352fd9ba6b
JScript Build: 16428
JScript Version: 5.8
License Info: pQ8sGmC8g1q2fP4DmctnjNNc6SyWlLoP1X/JFsi3xZzAjYtvaTowJr1PtMho2Ypl6TILzed9ySbpMgvN533JJt4iCe1yBNJAdBf18DaUc7U=
Media Player Version: 12.0.7601.17514
Online: true
Platform: Win32
Preferences File: C:\Users\efdenny\Documents\The Tournament Director 2\prefs.sav
Preferences FS File: C:\Users\efdenny\Documents\The Tournament Director 2\prefs.fs
Repo Config File: C:\Users\efdenny\Documents\The Tournament Director 2\repo.sav
Repo Folder: C:\Program Files (x86)\The Tournament Director 3
Support Key: 7D830CE4EFA59DNMD89DF5C7DA34B1EFF238091A459M
System Language: en-US
TD Patch Level: null
TD Version: 3.3.b1
User Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.1; WOW64; Trident/7.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C; .NET4.0E)
User Language: en-US
« Last Edit: February 15, 2014, 12:35:58 PM by efdenny »

efdenny

  • Full Member
  • ***
  • Posts: 107
    • View Profile
Re: Error during test of Overall Score formula (3.3 b1)
« Reply #1 on: February 15, 2014, 01:25:43 PM »
Also, the Overall Score is being calculated as zero with formula "sum(top(8, scores))".

Corey Cooper

  • Administrator
  • Hero Member
  • *****
  • Posts: 5402
    • View Profile
Re: Error during test of Overall Score formula (3.3 b1)
« Reply #2 on: February 16, 2014, 10:20:43 PM »
On Stats tab, Edit Profiles, Create Overall Score from Formula, under Test Conditions, Set from Statistics, I get the following error:

'Name.PreferredName' is null or not an object (StatsTab, TournamentPage: 115)

Thank you.  That was (obviously) completely broken... I think it was something I almost finished one day and the next day forgot to return to it.

Corey Cooper

  • Administrator
  • Hero Member
  • *****
  • Posts: 5402
    • View Profile
Re: Error during test of Overall Score formula (3.3 b1)
« Reply #3 on: February 16, 2014, 10:21:44 PM »
Also, the Overall Score is being calculated as zero with formula "sum(top(8, scores))".

Hmm.. seems to work for me.  Are you seeing this in the formula create/test dialog, or in your actual stats?  If in actual stats, what is your Tournament Score formula?

efdenny

  • Full Member
  • ***
  • Posts: 107
    • View Profile
Re: Error during test of Overall Score formula (3.3 b1)
« Reply #4 on: February 18, 2014, 09:15:37 AM »
Actual stats... Formula for scores is n - r... Nothing fancy!

Corey Cooper

  • Administrator
  • Hero Member
  • *****
  • Posts: 5402
    • View Profile
Re: Error during test of Overall Score formula (3.3 b1)
« Reply #5 on: February 18, 2014, 12:46:12 PM »
Hmm, well, I just tested it and I'm getting the correct results.  If you want to send me your data, I can take a look.

efdenny

  • Full Member
  • ***
  • Posts: 107
    • View Profile
Re: Error during test of Overall Score formula (3.3 b1)
« Reply #6 on: February 18, 2014, 09:40:12 PM »
Sorry, typo in the "Create Tournament Scores using formula:" in the profile.  False alarm!  But glad I was able to help with the other error... thanks again Corey!