mekell
(me-kell)
November 16, 2022, 3:35pm
1
Is it a namespace problem? Or is this the wrong place to put principal information?
See zope.password
documentation
zope.configuration.exceptions.ConfigurationError:
('Unknown directive', 'http://namespaces.zope.org/zope', 'principal')
File "C:\Users\map\Plone_6.0.0b3_test_dos\parts\client1\etc\site.zcml", line 25.2
<configure
xmlns="http://namespaces.zope.org/zope"
xmlns:meta="http://namespaces.zope.org/meta"
xmlns:five="http://namespaces.zope.org/five">
...
<principal
id="id"
title="title"
login="admin"
password="{SHA}0DPiKuNIrrVmD8IUCuw1hQxNqZc="
description="description"
password_manager="SHA1"
/>
...
</configure>
davisagli
(David Glick)
November 16, 2022, 3:51pm
2
@mekell zope.password is not used in Plone or the versions of Zope used by Plone. What are you trying to do?
mekell
(me-kell)
November 16, 2022, 4:08pm
3
I'm debugging/inspecting different ways how passwords get into zope in order to understand what happens related to an error with session refresh (see Topic#15815 )
@davisagli thanks though for the information.
1letter
(Jan)
November 16, 2022, 5:30pm
4
Add this Package to your buildout.cfg and then, perhaps, this could resolve your Problem:
<!-- configure.zcml -->
<include package="zope.password" />
1letter
(Jan)
November 17, 2022, 8:03am
6
Sorry, the directive is defined in zope.principalregistry
add tis line to your configure.zcml
<!-- configure.zcml -->
<include package="zope.principalregistry" file="meta.zcml"/>
mekell
(me-kell)
November 17, 2022, 9:09am
7
That works. Thank you very much!