question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

v8 - can't create member in 8.1

See original GitHub issue

Working with the latest in v8/dev branch, so targeting 8.1, found I can’t create a member record. Looks to be because member properties are indicated as supporting variation by culture.

I.e. the Variations field in cmsPropertyType for all properties with alias starting with umbracoMember... is 1.

Looking at PropertyTypeDto this value is set to be the default - but the comment seems to indicate that it should actually be 0:

    [Column("variations")]
    [Constraint(Default = "1" /*ContentVariation.InvariantNeutral*/)]
    public byte Variations { get; set; }

(ContentVariation.InvariantNeutral doesn’t actually exist, but I suspect that’s just a comment getting out of date which is now renamed to ContentVariation.Neutral).

So seems to me either:

  1. These fields should be non-varying, and needs a migration to fix up the data, or
  2. When these properties are saved - e.g. in the setter or Umbraco.Core.Models.Member.IsApproved, a culture - “en-US”? - needs to be passed.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:6 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
AndyButlandcommented, May 25, 2019

No, just using the default “Member” member type.

I think I’ll try with a clean clone. Been updating this installation for years and perhaps something has got out of sync. Will report back if it still seems to be an issue.

0reactions
kjaccommented, May 25, 2019

Whoo 🎉

No worries I was bored on the train anyway 😀

Read more comments on GitHub >

github_iconTop Results From Across the Web

UDT Creation Issue in V8.1 - Ignition
I am creating a completely different project with V8.1. If I create a UDT and point the “DeviceID” to the PLC tag, it...
Read more >
How to fix the error "Windows SDK version 8.1" was not ...
I faced this problem too. Re-ran the Visual Studio 2017 Installer, go to 'Individual Components' and select Windows 8.1 SDK .
Read more >
7 - I'm unable to run Drush v8.4.12 on PHP 8.1.6 using Bash ...
7 - I'm unable to run Drush v8. 4.12 on PHP 8.1. 6 using Bash on Windows11 - Drupal Answers.
Read more >
Error windows SDK v8.1 must be installed in order to build ...
I have windows 7 trying to make basic C++ coding file in Unreal engine version 4.14.1 but it says I need windows 8.1,...
Read more >
cannot add an interactive button to 'save as...' in 3D V8 8.2.6
I have 3D V8 and am creating a form. All went well till after successfully creating an interactive button for SUBMIT, I tried...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found