PinpointSolutions / PANS

Project Allocation and Nomination System
5 stars 0 forks source link

User list not visible following import- please confirm #40

Open dabros opened 13 years ago

dabros commented 13 years ago

Seems to be this->

If you have a large number of students

Then you delete all students

Then you import students

You can no longer view any users in the User list even though it says the right total user count

My guess is that this is due to it perhaps originally viewing a later page number when all results were cleared. This leaves the query, ie. limit(20-39), no longer viewing any results. This is an issue considering how it may impact the admin user so i would like other people to test and confirm this using different circumstances.

If this is the case though we could always have this in the tech doco under 'troubleshooting'. A possible solution would be then importing a large number of students and going to the User list and moving to the first page, retaining the correct starting value. Still, this is similiar to an issue raised earlier so it may be easily fixable.

p.s. remember that the fixtures data is just studentUsers, no corresponding sfGuardUser entry. To create them you just have to export the students after you load the fixtures data, clear all students, then import again giving you corresponding user accounts.

Spaxe commented 13 years ago

It still works for me.