Courses Manager: editing the course metadata in the manager app is not reflected in the student view
|Status:||Closed||Start date:||Feb 20, 2018|
|Priority:||Urgent||Due date:||Feb 28, 2018|
|Assignee:||Francesco Mangiacrapa||% Done:|
|Sprint:||zz - Unsprintable|
For instance, I create a course with no description, then I add it. The students don't see it in the view single course view.
This is related to JPA
#3 Updated by Francesco Mangiacrapa almost 2 years ago
- % Done changed from 0 to 100
- Status changed from In Progress to Feedback
I just fix the issue.
The problem is always linked to JPA and its objects management into Take Porltet. This last is able to load only first time the objects and then it does not update them anymore, so if an object is updated by Teacher (i.e a description of a course) it is not reflected in the student view (Take Portlet). N.B. Calling a method of the training-module-library it performs a JPA query to load the object from DB always, no cache is used.
However, I updated the method getTrainingCourse called by Take Portlet using pure java-sql query instead of JPA, this change should fix the issue.
Please @firstname.lastname@example.org, rebuild Take Course Porltet check the fix in dev and then close this ticket if it works fine.