Unable to use editor after upgrading to DT3
Unable to use editor after upgrading to DT3
Have started to experiment with DT3, but sor far have got into multiple blockers:
Environment: Self hosted with importing the downloaded DT files as ESM module to our project (on multiple files)
a) Even though I've registered our editor key with DataTables.key('editor_1_20270724:...'). I'm both getting a warning
'License for Editor only. Upgrade for Plus' and then 'Unhandled Promise Rejection: TypeError: undefined is not a constructor (evaluating 'new DataTable.Editor( {'
b) I've tried to upgrade to Datatables Plus and payment by my card has been accepted, I've not got any conformation mail nor a new license specified to my account. (No payment has then been made on the card though)
So:
1) Why do I get a yellow a yellow notification that I have a license for editor only? I'm only using the editor and nothing more of the DataTables plus software suite?
2) How can I get the new DataTable.Editor to be functional on DT3? Or perhaps, how can I search for more relevant error information why the Editor functionality does not load fully?
3) How can I understand I'm not able to upgrade to Plus from my Editor only license? I've used the same card for both upgrading Editor from 2 to 3 and then for trying to upgrade from Editor 3 to Plus?
This question has accepted answers - jump to:
Answers
As an additional information, I'm using the download builder for DT3 the same way I've been using it for DT2. When importing DT I'm importing the code as
import { } from '../lib/DataTables3/datatables.min.js';
Where the DataTables3 folder contains the downloaded files from the builder. The only difference here is that I've added a new folder 'DataTables3' in the lib folder of our project to be able to switch and. test against DT2 and DT3 easily.
Hi Henrik,
I'm sorry you've run into some teething problems with DataTables 3, Editor 3 and the Plus option.
I'm going to send you an email, as this involves payment details etc, but I'll update this thread when we have a resolution so others can benefit from what we find as well.
Regards,
Allan
I have a similar issue. I have a Datatables Editor licence but if I download the latest version and set the licence key, it says "DataTables Plus: License for Editor only. Upgrade for Plus - learn more".
I don't need any of the Plus features right now. In the Upgrade Options it says "The license is up to date and does not require to be upgraded to continue using the latest version of Editor".
Can I not use Editor without the message?
All the issues we had when updating to DT3 has been resolved by Allan in the still unreleased 3.0.1 of Datatables, including the one where the banner displayed even if we had a valid Editor license.
I think the new version will be released in the coming days, you can also try the nightly version I think.
Thanks for the info. I'll hold out for 3.0.1 and then re-test.
Yes, my apologies for that error. The fix is committed, along with a few others, and I'll be doing a 3.0.1 release of DataTables with them tomorrow morning
.
Allan
That's DataTables 3.0.1 now available via the download builder, on npm, etc.
Allan