November Happy Hour will be moved to Thursday December 5th.

EPiServer CMS 9.2.1 and FullRefreshPropertiesMetaData

Vote:
 

Hi,

I've upgraded a project to EPiServer CMS 9.2.1 and noticed that Html.FullRefreshPropertiesMetaData doesn't trigger page refresh anymore.

Tried with the latest versions of Chrome and Edge. Also tested on AlloyTech project (upgraded to 9.2.1)

#140821
Oct 30, 2015 15:46
Vote:
 

Hi,

We made an upgrade to 9.3.0 and still cannot get FullRefreshPropertiesMetaData to work.

How can we get this listed in http://world.episerver.com/support/Bug-list/ ? Do we have to register a new support incident?

Thanks!

#141069
Nov 09, 2015 13:26
Vote:
 
#141304
Nov 11, 2015 15:45
Vote:
 

This is fixed in EPiServer.CMS.UI 9.3.3

#142049
Nov 27, 2015 14:45
Vote:
 

Hi

This still doesn't work properly.

Project 1:
- I've created a new Alloy project using Visual Studio Extension.
- Uninstalled EPiServer.CMS and EPiServer.CMS.UI
- Executed Install-Package EPiServer.CMS -Version 9.1.0 and Install-Package EPiServer.CMS.UI -Version 9.1.0

Project 2:
- Created Alloy project
- Upgraded EPiServer.CMS.UI package

I've then opened Model / Pages / StartPage.cs and added the following property:

[Display(GroupName = SystemTabNames.Content)] public virtual PageReference MyReference { get; set; }

I've then opened Views / StartPage / Index.cshtml and added the following code:

@Html.FullRefreshPropertiesMetaData(new[] { "MyReference" }) <div @Html.EditAttributes(x => x.CurrentPage.MyReference)> @if (!ContentReference.IsNullOrEmpty(Model.CurrentPage.MyReference)) { <p>Lorem Ipsum Dolor</p> } </div>

Running project 2:

  • Opened Start page in edit mode, on page edit view
  • I've selected 'Alloy Plan' page for MyReference property

    Expected: The property should display 'Lorem Ipsum Dolor'
    Actual: 'Alloy Plan' is displayed

  • 3. I've clicked somewhere outside MyReference popup window

    Expected: The page should not reload, it was done in step 2
    Actual: Page is refreshed, 'Lorem Ipsum Dolor' is displayed

Screenshot for project 2 (EPIServer.CMS.UI 9.3.3): https://www.dropbox.com/s/vupdv4pzr2qzqqn/refresh-new.png?raw=1

Project 1 (EPIServer.CMS.UI 9.1.0) works as expected: https://www.dropbox.com/s/2ihx6bhdnzd67c7/refresh-old.png?raw=1


Hope this helps.

#142053
Nov 27, 2015 16:51
* 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.