مرحباً
يتلقى بعض المستخدمين (وليس كلهم) رسالة خطأ عند ملء الحقول، على الرغم من أنها معدة في وضع “عند التسجيل”، وبالنسبة لأولئك الذين كانوا موجودين منذ فترة طويلة، قمت بتفعيل “قابل للتعديل”. ولكن لا يحدث شيء. هل يمكنك مساعدتي في التأكد من أن حقول التسجيل الإلزامية هذه لا تؤثر على الأعضاء الأقدم؟
المشكلة لم تُحل وتم ربطها:
Hello
I’ve tested to set user field requirements for new and existing community members, and it reveals that all the existing members are now blocked to reach the forum even if they fill the fields. They have ‘error’ message.
I’ve deleted all these new fields, and they still have the error message (cf screenshot)
What can I do ?
[Capture d’écran 2024-07-15 à 12.09.40]
[Capture d’écran 2024-07-15 à 12.10.01]
إعجاب واحد (1)
@JammyDodger ربما لديك فكرة؟
إعجاب واحد (1)
هذا هو الإعداد
(وهناك أتمتة لإضافتها في مجموعة وفقًا لما تجيب عليه)
هممم. ليس من الواضح لي على الفور ما يمكن أن تكون المشكلة. دعني أرى ما إذا كان بإمكاني أن أجعل شخصًا ما يلقي نظرة أعمق.
4 إعجابات
فقط للتأكد مرة أخرى، هل قمت بالتحديث لجلب الإصلاح الذي ذكرته في الموضوع الآخر؟
main ← fix/update-fields-required-on-signup
opened 06:05AM - 12 Jul 24 UTC
### What is the problem?
We have recently added a new option to add user fiel… ds required for existing users. This is in contrast to requiring fields only on sign-up.
This revealed an existing problem. Consider the following:
1. User A signs up.
2. Admin adds a new user field required on sign-up. (Should not apply to User A since they already signed up.)
3. User A tries to update their profile.
**Expected behaviour:**
No problem.
**Actual behaviour:**
User A receives an error saying they didn't fill up all required fields.
### How does this fix it?
When updating profile, we only check that required fields that are "for all users" are filled. Additionally, we check that fields that were required on sign-up and have previously been filled are not blanked out.
إعجابَين (2)
لقد طلبنا للتو من منصة الاستضافة لدينا إكمال التحديث. نحن حاليًا على Discourse 3.3.0 beta4، لكن الخطأ لا يزال موجودًا
إعجاب واحد (1)
مرحباً، يمكنني أيضاً تأكيد أن هذه لا تزال مشكلة. عند النقر على “عند التسجيل”، لا يزال يتطلب منك تحديث العملاء الحاليين. ومع ذلك، فإن نوع الحقل مفقود.
عليك الحفظ، ثم الانتقال مرة أخرى إلى ملف تعريف المستخدم لرؤية هذا لتجاوزه. لقد لاحظت أنه إذا لم تقم بتعبئته، فإنه يمنعك من إرسال رسائل الدردشة.
ted
(Ted Johansson)
26 أغسطس 2024، 7:35ص
16
مرحباً!
لقد قمت للتو بدمج إصلاح لهذه المشكلة هنا:
main ← fix/required-fields-check
opened 07:07AM - 26 Aug 24 UTC
### What is the problem?
This check was checking the wrong scope, causing pro… blems in certain edge conditions, for example:
1. Admin adds an "on signup" field that isn't editable after signup.
2. Admin adds a "for all users" field.
3. User goes and fills up the "for all users" field from 2.
4. User is now stuck on the required fields page without any fields showing.
### How does this fix it?
We only consider "for all users" fields when asking if required custom fields are filled in.
تم ملاحظة المشكلة فقط إما عن طريق إنشاء مزيج من “عند التسجيل” و “لجميع المستخدمين” أو عن طريق المستخدمين الذين اكتسبوا الوصول بوسائل أخرى غير “التسجيل”. يجب أن يعالج هذا PR جميع الحالات على أمل.
إعجابَين (2)
j.jaffeux
(Joffrey Jaffeux)
تم إغلاقه في
29 أغسطس 2024، 7:36ص
17
تم إغلاق هذا الموضوع تلقائيًا بعد 3 أيام من آخر رد. لم تعد الردود الجديدة مسموح بها.