Skip to content
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

Application license isn't automatically generated when the first app that had the trial was uninstalled #102

Open
ane-gabriela opened this issue Jun 15, 2021 · 1 comment

Comments

@ane-gabriela
Copy link

ane-gabriela commented Jun 15, 2021

Steps to reproduce:

  1. Install a pro app eg. Ideas in this case
  2. Add the trial license
  3. Optional - create an idea
  4. Uninstall the app
  5. Install another pro app eg. Calendar in this case

Expected results: As per issue 92 the license is automatically generated for the other installed apps.

Actual results: No trial license is generated for the Calendar.

Environment: Windows 10, XWiki 13.4 with MySQL 8.0 and IE 11

CalendarLogs

Screenshot_1

NOTE: After installing Calendar I've also installed Office 365 which worked as expected - the trial was added automatically.

@mflorea
Copy link
Contributor

mflorea commented Aug 24, 2021

Note that different paid extensions can depend on different versions of the licensing application, and not always the latest version. So if you install a paid app that depends on an older version of the licensing application, and the licensing application is not already installed then it's normal to not get an automatic trial license.

In you case the Ideas application you installed depends on an older version of the licensing application which doesn't support automatic trial license generation. Still, when you installed the Calendar 2.9.4 the licensing application should have been upgraded to 1.17.1 which has support for automatic trial license generation. So this is something to investigate @oanalavinia . Maybe it's expected: the licensing application is upgraded, the install listener is registered but the extension might be already installed? This would explain why it works for the next installed paid extension.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants