polito / students-app

Politecnico di Torino's official mobile application for students
European Union Public License 1.2
156 stars 17 forks source link

Offering section shows wrong ECTS (CFUs) #416

Closed nMaax closed 8 months ago

nMaax commented 11 months ago

Describe the bug If someone open some courses offered by Polito in the Offering section, they will see wrong ECTS (CFUs) related to each exam/subject into the detailed page of the course.

To Reproduce Steps to reproduce the behavior:

  1. Go to Offering
  2. Click on Master Degree
  3. Click on Data Science and Engineering
  4. Click on Tracks
  5. Click on Learning Path
  6. Scroll down to Mathematics for Machine Learning (you will see it is associated to 8 ECTS)
  7. Click on Mathematics for Machine Learning to open its deatailed page (now it has 4 ECTS)

Expected behavior If someone open the course, they should see a coherent number of ECTS in both the learning path page and detailed course page, if the course is divided in different modules the user should see how ECTS are divided for each module.

Screenshots Learning Path Screenshoot Course Details Screenshoot

Smartphone (please complete the following information):

Additional context Maybe it happens when courses are divided in submodules? Maybe the app only show the ECTS of the the first module it finds in the course data?

Are you willing to contribute to this issue? No

lpezzolla commented 10 months ago

Thanks for reporting this, yes it is probably related to courses divided in modules, I forwarded this to the team that takes care of the Offering API, I'll get back to you once it is fixed

lpezzolla commented 8 months ago

We were able to fix data retrieval, the CFU number is now correct