williamleonard / obblm

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

Missing Rounds in Scheduling Matches #696

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Open Admin->Schedule Matches
2. Select the Tournament
3. Try to schedule matches using the drop down.

What is the expected output? What do you see instead?
I would expect to see the proper list of round options. What I get is the 
following list:

Final
3rd place playoff
Semi-finals
Quarter-finals
Round of 16
Round 1
Round 2
Round 3
Round 4
Round 5
Round 6
Round 7
Round 8
Round 9
Round 10
Round 11
Round 12

Round of 16

There are blank (selectable) spaces where 13, 14 and 15 would be.

What version of the product are you using?
0.96

Please provide any additional information below.
Attached Screenshot

Original issue reported on code.google.com by bryan.hi...@gmail.com on 27 Apr 2015 at 6:26

Attachments:

GoogleCodeExporter commented 9 years ago
I believe it's something in the Scheduler Module, though I am not nearly as 
code savvy as to figure out what would need to change.

Original comment by bryan.hi...@gmail.com on 27 Apr 2015 at 7:07

GoogleCodeExporter commented 9 years ago
I don't get the same thing, also using 0.96. Mine appears as attached. 

Looking briefly at the code it appears that "Round of 16" is not meant to be 
"Round 16" but is instead a round of 16 matches.

http://i.imgur.com/vCoYS0l.jpg

Original comment by hutchinsfairy on 12 May 2015 at 2:24

GoogleCodeExporter commented 9 years ago
If you happy looking at your code you can check:

/lib/class_match.php lines:31-37

This should build the array of options

/lang/translations.xml lines: 447-466

This should give them their names

Original comment by hutchinsfairy on 12 May 2015 at 2:57

GoogleCodeExporter commented 9 years ago
That worked!  Thank you! :)

Original comment by bryan.hi...@gmail.com on 17 May 2015 at 10:47