-
Notifications
You must be signed in to change notification settings - Fork 465
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Import screen should not be auto-selecting Key Fields that can't be de-selected #13071
Comments
Seems like that has been the behavior since the beginning. This is from demo3: This is the source code that disables the items: core/dotCMS/src/main/webapp/html/portlet/ext/contentlet/import_contentlets.jsp Lines 75 to 102 in 74cbca5
Are we really sure that this is a bug? |
@dean is this just a visual bug, meaning they have a grayed out checkbox
but they are not selected or used? Or does it affect the system behavior?
|
@wezell @DeanGonzalez for what I see in the source code, they are only disabled (visually). Nothing related to its value. And also this happens only for NOT INDEXED fields. |
My guess is that UI prevents selecting a NOT-INDEXED field as a key field. Makes sense, right? |
Yeah - the bug is that the disabled state looks checked .
|
Yep, it is just visual bug, it actually allows it, even though it looks like it won't... not as bad as I thought, even though still a bug. |
This issue has been automatically marked as stale because it has not had activity within the past 90 days. It will be closed in 30 days no further activity occurs. Thank you. |
Tested on 4.2.1 and 4.2.2
The import screen is automatically selecting key fields - which should not happen for ANY fields.
Secondly, the fields are not de-selectable, forcing the import file to always match and update where the auto-selected keyfields match
This bug breaks the ability to import content correctly in the majority of cases
The text was updated successfully, but these errors were encountered: