Issue Details (XML | Word | Printable)

Key: MDL-9979
Type: Bug Bug
Status: Open Open
Priority: Major Major
Assignee: Martin Dougiamas
Reporter: Rian Brooks-Kane
Votes: 4
Watchers: 6
Operations

Add/Edit UI Mockup to this issue
If you were logged in you would be able to see more operations.
Moodle

enrol_config.php?enrol=ldap settings not being set

Created: 30/May/07 08:44 AM   Updated: 18/Apr/09 04:44 AM
Component/s: Enrolments
Affects Version/s: 1.8
Fix Version/s: None

Issue Links:
Blockers
 
Dependency
 

Database: MySQL
Participants: Iñaki Arenaza, Martin Dougiamas, Michael Quintero, Rahim Virani, Randy Thornton, Rian Brooks-Kane and Robert Lamaster
Security Level: None
Affected Branches: MOODLE_18_STABLE


 Description  « Hide
When trying to set:

enrol_ldap_course_idnumber:
Update local data
Lock value

enrol_ldap_course_shortname:
Update local data
Lock value

enrol_ldap_course_fullname:
Update local data
Lock value

enrol_ldap_course_summary:
Update local data
Lock value

I try and set the values to "Yes" but it does not stay, it submits fine but when going back to the page the settings are still "No"



 All   Comments   Change History   Version Control      Sort Order: Ascending order - Click to sort in descending order
Rahim Virani added a comment - 12/Jul/07 05:28 AM
We use them alot, if an instructor modifies the idnumber to their course it will disconnect all their enrollments further more because the master data source is from our student record system they whould not be able to change the name or shortname, It is assigned by the student record system. This did work in 1.6.5 but is broken in 1.6.5+
[ Show » ]
Rahim Virani - [12/Jul/07 05:28 AM ] We use them alot, if an instructor modifies the idnumber to their course it will disconnect all their enrollments further more because the master data source is from our student record system they whould not be able to change the name or shortname, It is assigned by the student record system. This did work in 1.6.5 but is broken in 1.6.5+

Michael Quintero added a comment - 21/Jul/07 04:30 AM
I'd like to add my support for fixing or bringing back this functionality. I'm working on a project to bring a Moodle installation online to replace my institution's Blackboard, and these two features are pretty much essential for how we'd like to do it!

My test installation is using 1.8-stable downloaded on 7/19.


Robert Lamaster added a comment - 17/Oct/07 12:04 AM
Please do not remove these fields. Like several others here, we would like to see this feature fixed. Our courses are populated in Active Directory by scripts that pull from a school registration database. This creates a need to "update local" and "lock" for two reasons:
  • If teachers change the ID number for their course, it no longer matches the course in AD... so Moodle will create a new blank course.
  • If we change anything in the school registration database, such as the course description or ID, that change will occur in AD, but then not match Moodle. Again, depending on what was changed, Moodle will create a new blank course with the new ID. The old course will no longer have student or teacher enrolment.
    So... this is a VERY important feature to get working.

Randy Thornton added a comment - 17/Apr/09 06:29 AM

I was wondering what the status of this issue is.

The Affected Versions is listed as 1.8 but I have this issue still in 1.9.2 and the issue is still listed as open.

This is a VERY important issue to fix in an LDAP enabled environment where course info is brought over from an enrollments database of some sort. I think these fields are absolutely essential to any serious LDAP enabled professional installation based on automated updates into LDAP from an external enrollments database.


Iñaki Arenaza added a comment - 18/Apr/09 12:06 AM - edited
As far as I know, this issue is sill unresolved (the functionality has never been implemented).

Saludos. Iñaki.


Rahim Virani added a comment - 18/Apr/09 12:09 AM
@Inaki,

The functionality was available in 1.5 and 1.6.


Randy Thornton added a comment - 18/Apr/09 01:03 AM

@ Iñaki

Thanks for the confirmation.

For the time being, we have overcome the issue of "Lock value" by simply changing the permissions on the Teacher role so that the permissions changeidnumber, changeshortname, and changefullname are set to Prohibit. This works as expected. That should prevent a lot of support issues with accidently changed settings.

But it would be important to have a push/pull updates from LDAP source data working nicely. Even if not dynamic o nuser login like the LDAP course creation process, at least an admin script that could be run when needed.

Thanks


Iñaki Arenaza added a comment - 18/Apr/09 04:44 AM
Rahim,

There has never been code to deal with those settings (you can check it yourself by having a look at the CVS logs for that file), so I highly doubt it was available in 1.5 and 1.6

Saludos. Iñaki.