Error Please assign players to this team!

Status: under development
Branch: https://gitlab.com/joomleague/joomleague/tree/3.0.0

Moderator: And_One

MSK
.
Posts: 72
Joined: Sun Jul 21, 2013 12:12 pm

Error Please assign players to this team!

Postby MSK » Mon Oct 05, 2015 12:53 pm

I try to assign players to the match, for example football match. But in the project's team roster there are only 4 players. Jl says me: "Error Please assign players to this team!"
In teams with 15-20 players in roster it is ok.
I think I must have a chance to play with 4 (or less) players in a team )))

Now:
Would you like to prefill the match roster of the last match?
1) -> OK! -> Error. Please assign players to this team!
2) -> Cancel -> Would you like to prefill the match roster with the projectteam players?
2.a) -> OK! -> Error. Please assign players to this team!
2.b) -> Cancel -> Error. Please assign players to this team!

Maybe at the step 2.a give me a chance to assign my 4(or less) players?

User avatar
Bluefox
.
Posts: 312
Joined: Tue Aug 27, 2013 11:26 am
Joomleague version: 2.0.x
Location: Friesland, Netherlands
Contact:

Re: Error Please assign players to this team!

Postby Bluefox » Mon Oct 05, 2015 2:52 pm

can sya that at the moment i'm not that familiar with the prefill option but did see that the notice "Error Please assign players to this team" also appears when there are no positions assigned to the players.

Will take a look but maybe one of the other JL-developers can give you a solution as they (should) be more familiar with it.
Help can be asked in the forum

MSK
.
Posts: 72
Joined: Sun Jul 21, 2013 12:12 pm

Re: Error Please assign players to this team!

Postby MSK » Mon Oct 05, 2015 3:23 pm

ohh! yes!
When I assign players to the project team they take positions from database. I change positions to these players in database but positions in project don't changed. So, new assign from database with positions give me a team roster will positions automatically.
Yes, I may change or assign positions in project without operations with person's database.

Heart
Joomleague Core Developer
Joomleague Core Developer
Posts: 653
Joined: Fri Apr 23, 2010 10:27 am

Re: Error Please assign players to this team!

Postby Heart » Mon Oct 05, 2015 9:24 pm

@MSK
Did test the prefill with the gitlab version from today (~11:00) and everything is looking fine here!

Can you describe please again what problem you have exactly with the prefill option? (when you use latest gitlab version)

update: Ok, prefill with roster from last match is given an error!

Code: Select all

Error
No last match roster found for: Club 1

Notice: Undefined variable: res in /var/www/virtual/joomleague.vsrv58002.customer.vlinux.de/htdocs/administrator/components/com_joomleague/models/match.php on line 1862 Notice: Trying to get property of non-object in /var/www/virtual/joomleague.vsrv58002.customer.vlinux.de/htdocs/administrator/components/com_joomleague/models/match.php on line 1862

(prefill with project team player works)


Return to “3.0.22.57ae969-Blue (Joomla: 3.x)”

Who is online

Users browsing this forum: Baidu [Spider] and 2 guests

cron