Dear Christian Cox,
I made the relationship between two custom posts, Acupuncture Point and Book, I edit an Acupuncture Point post, there is no problem when connect existing book but error when Add New Book, I turn on the browser inspector and find below error
AddNewDialogViewModel.js:48 Uncaught ReferenceError: tinyMCE is not defined
at Object.self.onSaveNewRelationship (AddNewDialogViewModel.js:48)
at HTMLDivElement.click (AddNewDialogViewModel.js:114)
at HTMLButtonElement.d.click (dialog.min.js?ver=1.11.4:11)
at HTMLButtonElement.dispatch (load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable,jquery-ui-draggable,jquery-u&load[]=i-tabs,suggest,jquery-ui-position,wp-a11y,underscore,shortcode,backbone,wp-util,moxiejs,plupload&ver=4.9.4:3)
at HTMLButtonElement.r.handle (load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable,jquery-ui-draggable,jquery-u&load[]=i-tabs,suggest,jquery-ui-position,wp-a11y,underscore,shortcode,backbone,wp-util,moxiejs,plupload&ver=4.9.4:3)
Please clear your browser cache, then go to Toolset > Post Types. Edit both custom post types "Acupuncture Point" and "Books". In the panel "Sections to display when editing", enable option "Editor", and test again. Let me know if this does not resolve the problem.
Dear Christian Cox,
Yes, I test it with Incognito Windows, after enabling the editor from Sections display when editing, I can add the new book. What is the problem?
I found another critical problem and making a relationship between custom posts. There is a "Trash" option under the section "Acupuncture Points Books", it is very dangerous if more than one relationship to current custom post.
I make two connections from two acupuncture points to the same book, I click the Trash option from one of the two acupuncture points, it permanently removes the book and also breaks all the relationship with another. I understand I should select disconnect option to remove the relationship but it still too dangerous if I have hundreds of connection with the same book already.
Best regards,
Kelvin.
I test it with Incognito Windows, after enabling the editor from Sections display when editing, I can add the new book. What is the problem?
It's a bug in the betas, we're working to fix it. Enabling the editor is the workaround that we have found for now. We will resolve the bug in a future release.
I make two connections from two acupuncture points to the same book, I click the Trash option from one of the two acupuncture points, it permanently removes the book and also breaks all the relationship with another
I understand how this could be a problem, and we include the warning message to be sure Users know this cannot be undone (see the screenshot). Do you have any specific ideas about how this could be improved?