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

Implement uninstall #36

Open
rnixx opened this issue Dec 16, 2016 · 9 comments
Open

Implement uninstall #36

rnixx opened this issue Dec 16, 2016 · 9 comments

Comments

@rnixx
Copy link
Contributor

rnixx commented Dec 16, 2016

Related #35 #34 #25 #15

@hvelarde
Copy link
Member

hvelarde commented Dec 16, 2016

you have a weird way of managing projects…

@rnixx
Copy link
Contributor Author

rnixx commented Dec 17, 2016

We don't need 4 open issues for one and the same thing.

@rnixx
Copy link
Contributor Author

rnixx commented Dec 17, 2016

  • Package tries to contact LDAP server after uninstall
  • Uninstall/reinstall removes CacheSettingsRecordProvider (and disables Memcached in the control panel)
  • Uninstall leaves the PAS plugin behind -> Disable it on uninstall and reenable on install again if present -> thus configuration is kept. Need to implement a "Restore defaults" action in LDAP configuration then
  • Control panel will remain after uninstall

@rnixx
Copy link
Contributor Author

rnixx commented Dec 17, 2016

you have a weird way of managing projects...

Héctor, please stick to facts if possible

@hvelarde
Copy link
Member

hvelarde commented Dec 19, 2016

the facts are we have different issues here and you assume they are all the same; by closing the original issue reports, and not leaving information on them, you're wasting time (yours and other people) because when you implement the solution we will not be able to track and check that easily.

you have partially fixed that by adding a list of the original issues to this issue, but we lost the participants list; complex problems must be divided in smaller, simpler ones.

I have reopened one of the issues that I think is not related with the uninstaller; correct me if I'm wrong.

@ghost
Copy link

ghost commented Feb 29, 2020

Two years ago I installed version 1.5.1. and the performance was not acceptable. We "unistalled" the plugin, but the configuration settings still exists in the configuration menu. No problem at all, we used the site without LDAP connector.

Two months ago we used a newer version of the pas.plugin.ldap in another project and now the performance works fine, because we can configure the memcached.

No I thought I can update the old plone Instance with the new pas.plugin.ldap version. I did a upgrade to version 1.7.2 but I get no new interface displayed and I am not able to configure the memcached settings.

What do I have to remove in the ZMI to get the new interface /plone_ldapcontrolpanel to set the memcached?

grafik

@rnixx
Copy link
Contributor Author

rnixx commented Mar 2, 2020

ICacheSettingsRecordProvider utility is missing. Normally it gets registered via https://github.com/collective/pas.plugins.ldap/blob/master/src/pas/plugins/ldap/plonecontrolpanel/profiles/base/componentregistry.xml

@jensens
Copy link
Member

jensens commented Mar 2, 2020

Go to portal_setup and reapply the profile.

@ghost
Copy link

ghost commented Mar 6, 2020

I went under portal_setup to the "Import" Tab, I choose

  • profile-pas.plugins.ldap.plonecontrolpanel:install-base
  • profile-pas.plugins.ldap:default
  • profile-pas.plugins.ldap.plonecontrolpanel:default

in all combinations. I deleted /acl_users/pasldap and renew it with the above reapplies.

I entered all settings in the LDAP configuration again and the connection works fine. But all the time I see "feature is not available" in the "memcached server to use" text field, also if I enter a correct information. The same happens, if I enter the setting in /acl_users/pasldap.

grafik

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

3 participants