Ticket #1930 (new defect)

Opened 11 years ago

Last modified 11 years ago

CPSRemoteController member creation error

Reported by: htonal Owned by: rspivak
Priority: P2 Milestone: CPS 3.5.7
Component: CPSRemoteController Version: TRUNK
Severity: major Keywords:


Trying to create a member using addMember() causes an error

-> mtool.addMember(user_id, user_password, user_roles, user_domains)
-> acl_users._doAddUser(id, password, roles, domains)
-> dir._createEntry(entry)
-> self._setObject(id, ob)
-> v = self._checkId(id)
-> Folder._checkId(self, id, allow_dup)
> /opt/Zope-2.9.7/lib/python/OFS/ObjectManager.py(74)checkValidId()
-> raise BadRequest, ('Empty or invalid id specified', id) 

Change History

comment:1 Changed 11 years ago by madarche

  • Milestone set to CPS 3.5.0
  • Reporter changed from tracguest to htonal

comment:2 Changed 11 years ago by madarche

  • Severity changed from normal to major

I confirm that I experience the same error.

I also add that I got the same exception when I use the createDocument method, which makes me rise the priority of this ticket.

comment:3 Changed 11 years ago by gracinet

About the error, in the case of member creation, it's really simply that the wished id is transferred as unicode, so I guess a simple str() should fix it. The question is, why is this new ?

On my side I've used createDocument() recently, without this error. Currently working on a kind of sporadic bug, #1943, with this method, though.

Note: See TracTickets for help on using tickets.