Try our conversational search powered by Generative AI!

Dojo - not calling autosave always

Vote:
 

Dear experts,

I have followed the following example in sample alloy project CMS version 7.5 and 7.1 (upgraded to 7.1 from 7.0).

http://epideveloper.blogspot.co.uk/2013/10/episerver-7-custom-property-combined.html
It works fine without any error on this version.

However, my actual project is on 7.1. So,  I installed sample allow 7.0 and upgraded it to 7.1. When I apply this example, it works on this version too but with one exception.
It sometimes, does not store the value in CMS. On digging deeper, I found that autosave property has an issue on this version.

Below is how the custom property looks like in editor

Textbox1  Textbox2   Delete
Add.

To reproduce it, if I type any text in textbox1 and then move to textbox2 , the autosave works fine. Now, when I fill the value in textbox2 and hit tab button again, the focus moves to deletebutton and it does not invoke CMS autosave property which in the end does not save value in database. As autosave is not invoked, when I hit the save and publish button and switch to editor mode again, it only shows the empty box in the second box.  When I check database, the value never gets saved for the textbox2 in it.

If I click between text boxes it does autosave, but it does not call autosave when the focus moves to delete button. The same code works perfectly fine on 7.5 but not on 7.1.

Is this a known issue in 7.1 or if anyone knows how to fix it.I wil really appreciate if I get some quick help on this.

Many thanks for reading the detailed post.
Naz

#117450
Feb 21, 2015 8:16
Vote:
 

Hi,

Maybe this post can help you a bit: http://www.patrickvankleef.com/2015/02/22/multiple-page-picker-property-in-dojo/

#117469
Feb 22, 2015 10:15
Vote:
 

Hi Nazim,

I responded to the ticket you submitted. It sounds like it could be a known bug with 7.1. Please try updating to latest UI 7.1.7 to see if this fixes it. Otherwise, this issue should be fixed in 7.5 and later. Although in 7.5 you might encounter something like this: http://world.episerver.com/support/Bug-list/bug/120550

#117900
Feb 23, 2015 19:07
This thread is locked and should be used for reference only. Please use the Episerver CMS 7 and earlier versions forum to open new discussions.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.