error in DB module?

error in DB module?

Olaf Nöhring發表於
Number of replies: 9
Hi

today I noticed the following.
Setting: I have a cource - lets call it "MyC". "MyC" is a metacourse. In this I created a database to allow my students to upload files.
This worked.

I put a course "C1" into this metacourse "MyC".
Some students from C1 uploaded some files to the database.

No I put a new course "C2" into this metacourse "MyC".

I decided to create groups: One group for students from C1 and one for students from C2.
The database is set "divided groups" (one group can only see things from that group).

When I choose to see the database with items from group C1 - it works fine. But: When I want to see items from C2 - I see ALL items, those from C2 AND from C1.

Anyone who can confirm this / knows about this / has a fix for this?

Olaf
評比平均分數: -
In reply to Olaf Nöhring

Re: error in DB module?

Paul Fynn發表於
Hi Olaf, Your problems could relate to your testing. Its important that when you test the database you submit entries as a student. Any entries submitted as teacher or admin will immediately be visible to all users from any group. Hope this helps, Paul. 
In reply to Paul Fynn

Re: error in DB module?

Olaf Nöhring發表於
Hi Paul,

well, I (think I) know - but whan I was logged in as admin (as normal for me) and I chose from the dropdown menu to see only C1 or C2 the described effect happened.
It also happened when I logged in as one of my students from C1 and C2 (as admin you can log in as a certain user and see what he sees.)

Nevertheless, I will try as regular user.

Olaf
In reply to Paul Fynn

Re: error in DB module?

Olaf Nöhring發表於
Hi

now I tested and it is as I said:

As member of group C1:
As REGULAR user (extra account) I can see ONLY items submitted by group C1.

As member of group C2:
As REGULAR user (extra account) I can see items submitted by group C1 AND group C2.

Olaf
In reply to Olaf Nöhring

Re: error in DB module?

Paul Fynn發表於
OK - one last check - make sure REGULAR user (extra account) for C2 is not enrolled in both groups ?
In reply to Paul Fynn

Re: error in DB module?

Olaf Nöhring發表於
Hi,

yes, I rechecked and the REGULAR user is ONLY enroled in ONE group at a time.

Again: But in case of C2 he can see items from group C1 and group C2 in the database,
in case of C1 he can see only items of group C1.

Olaf
In reply to Olaf Nöhring

Re: error in DB module?

Anthony Borrow發表於
Core developers的相片 Plugin developers的相片 Testers的相片
Olaf - If this is a bug, please report it in the tracker and let us know what the tracker issue number is. It may be helpful if you create the issue in the tracker (and please check that a request does not already exist before creating a possible duplicate) to post back here in the forum what the issue number is so that others can comment and vote for it. Also, if you could please do a course backup with some sample users and sample data to help re-create the issue. I always find those helpful as it allows me to see exactly what the user sees and we can talk about why a particular user can see a particular record, etc. Let me know if you need any help creating the issue in the tracker. Peace - Anthony
In reply to Anthony Borrow

Re: error in DB module?

Olaf Nöhring發表於
Hi Anthony

do I need to crate a new account to report a bug? - If so (as I was unable to log in to the tracker - I think I would have to), I am not willing to create a new account right now.

I strongly believe it's a bug.
I could try to export the database somehow with some of the files in it (as users use this to have their files ready whereever they are). I could also give you temporary access to the database/course so you could check yourself.

In this case (give you access) please let me know how I can email you login data for the moodle installation - or just email me to
olaf 2008 at team-noehring . de - just leave the spaces out and exchange the at with @

Olaf
In reply to Olaf Nöhring

Re: error in DB module?

Anthony Borrow發表於
Core developers的相片 Plugin developers的相片 Testers的相片
Olaf - The tracker and the Moodle.org user accounts are not synchronized so if you have never created a tracker account you would need to do so in order to file a bug report. Perhaps someone else in the discussion who is experiencing the issue can file a bug report in the tracker. Peace - Anthony