Reproducible Data Loss Error: saving class destroys content

Discussions about the Lesson Schedules Tool
Locked
mevans
Senior Member
Posts: 2049
Joined: Tue May 22, 2012 1:52 pm
Location: California, USA

Reproducible Data Loss Error: saving class destroys content

#1

Post by mevans »

I just lost a lot of work :mad:
I figured out what I did and how to reproduce it, so hopefully this can get fixed :) Or at least maybe you've been warned so you don't do this to your Lesson Schedules.

There are two variations on this. I'm listing them both in one post as they are very similar and possibly related.

Variant One
  • Prerequisite: I can edit the Lesson Schedules. Be in a 2013 class schedule.
  • Create a test class. Just type in the name and hit save. You don't need to select anything else.
  • Click View Year for the new test class
  • Select a date and edit the class for that date.
  • Select a class type where you enter a URL for the lesson.
  • Enter the topic and the URL.
  • Save
  • Verify that it displays properly and the URL works.
  • Select Administration.
  • Edit the test class
  • Press Save (you don't even need to make any changes)
  • Click "View Year" next to your test class.
  • Observe that all dates where you have specified a custom URL entry have been completely obliterated and replaced by something like "New Lesson" or "Not Specified".
  • Cry
Variant Two (See important differences between Variant One in blue.)
  • Prerequisite: I can edit the Lesson Schedules. Be in a 2013 class schedule.
  • Create a test class. Select a Lesson Manual.
  • Click View Year for the new test class
  • Select a date and edit the class for that date.
  • Select a class type where you enter a URL for the lesson.
  • Enter the topic and the URL.
  • Save
  • Verify that it displays properly and the URL works.
  • Select Administration.
  • Edit the test class
  • Press Save (you don't even need to make any changes)
  • Click "View Year" next to your test class.
  • Observe that for all dates where you have specified a custom URL that the lesson topic remains but all the URLs have been completely obliterated.
  • Cry a little bit less than Variant One
jonesrk
Church Employee
Church Employee
Posts: 2361
Joined: Tue Jun 30, 2009 8:12 am
Location: South Jordan, UT, USA

Re: Reproducible Data Loss Error: saving class destroys cont

#2

Post by jonesrk »

Are the URL's that you are using http or https? If the are http that could log you out and lose data that way. I would think that the sign in that would be required would show in your steps, but I thought I would mention it just in case.
mevans
Senior Member
Posts: 2049
Joined: Tue May 22, 2012 1:52 pm
Location: California, USA

Re: Reproducible Data Loss Error: saving class destroys cont

#3

Post by mevans »

JonesRK wrote:Are the URL's that you are using http or https? If the are http that could log you out and lose data that way. I would think that the sign in that would be required would show in your steps, but I thought I would mention it just in case.
Thanks for pointing this out. Actually, in my step where you check the URL, it's not necessary to click on it. I guess I did extra instructions in this case. It's just a visual inspection test...just make sure it's there to confirm you saved your changes. Do the subsequent steps and it's gone. I am aware of the https problem and try to make sure my links use https, though.
mstauff
Member
Posts: 101
Joined: Thu Dec 02, 2010 9:25 am
Location: Lehi, UT USA

Re: Reproducible Data Loss Error: saving class destroys cont

#4

Post by mstauff »

Thanks for the report mevans. There was a bug introduced with the last release to support the new youth curriculum that led to what you found. It should be fixed in the next release which is coming soon.
Locked

Return to “Lesson Schedules”