v8 - can't create member in 8.1
See original GitHub issueWorking 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:
- These fields should be non-varying, and needs a migration to fix up the data, or
- 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:
- Created 4 years ago
- Comments:6 (6 by maintainers)
Top 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 >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
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.
Whoo 🎉
No worries I was bored on the train anyway 😀