Reproducible Data Loss Error: saving class destroys content

Discussions about the Lesson Schedules Tool at lds.org.
mevans
Senior Member
Posts: 1282
Joined: Tue May 22, 2012 12:52 pm
Location: California, USA

Reproducible Data Loss Error: saving class destroys content

Postby mevans » Mon Jan 21, 2013 1:32 pm

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: 1454
Joined: Tue Jun 30, 2009 7:12 am
Location: Farmington, UT, USA

Re: Reproducible Data Loss Error: saving class destroys cont

Postby jonesrk » Tue Jan 22, 2013 7:18 pm

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.
Ryan Jones
CDOL Developer
Stake Technology Specialist - Software / Stake Assistant Clerk
Former Ward Clerk

mevans
Senior Member
Posts: 1282
Joined: Tue May 22, 2012 12:52 pm
Location: California, USA

Re: Reproducible Data Loss Error: saving class destroys cont

Postby mevans » Tue Jan 22, 2013 9:50 pm

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
Church Employee
Church Employee
Posts: 71
Joined: Thu Dec 02, 2010 9:25 am
Location: Lehi, UT USA

Re: Reproducible Data Loss Error: saving class destroys cont

Postby mstauff » Wed Jan 23, 2013 2:08 pm

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.


Return to “Lesson Schedules”

Who is online

Users browsing this forum: No registered users and 1 guest