Recently migrated an instance from 8.2.2 to 8.5.1. Here the behavior was identified that when saving a value from a dynamic dropdown type field, the value is not sent and is not persisted. I found this issue https://github.com/salesagility/SuiteCRM-Core/issues/381 where it is mentioned that making a modification in /core/app/core/src/lib/fields/base/base-enum.component. ts could solve the problem. I’m trying to test this but I understand I have to recompile core. Could you clarify for me if this is the case and what is the correct way to recompile the core?
yarn run v1.22.22
$ng build core --configuration production
Building Angular Package
(node:1882611) [DEP0147] DeprecationWarning: In future versions of Node.js, fs.rmdir(path, { recursive: true }) will be removed. Use fs.rm(path, { recursive: true }) instead
(Use `node --trace-deprecation ...` to show where the warning was created)
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
About Angular cli when I run ng v in the root directory of the project I get 12.1.0 but if I run outside of it I get 16.2.12 which is the one suggested in the documentation
I don’t know. You can use that suggested --trace-deprecation to find the offending line of code and change the rmdir to rm.
I don’t understand why a deprecation warning would break a compilation - it’s not a FATAL…
About the ng versions, I also don’t know. Maybe it is affected by the tsconfig.json or the package.json in the directory? Anyway, you might need to review your PATH settings etc, but that will be specific to ng documentation. Try ng version to see all installed versions.