Create User > Uncaught TypeError: Cannot read property 'contactno' of undefined

Infos:

  • Used Zammad version: 3.2
  • Used Zammad installation source: docker-compose
  • Operating system: debian
  • Browser + version: Chrome 79.0.3945.117

Expected behavior:

  • Click on “Create User” should open the dialog to create a new user

Actual behavior:

  • Error in browser console:
    application-6978f295d5cd3b6aea585c65faa93022c4becd06d0fb37bb48b255ec2a7a192c.js:26 Uncaught TypeError: Cannot read property ‘contactno’ of undefined
    at s.formGenItem (application-6978f295d5cd3b6aea585c65faa93022c4becd06d0fb37bb48b255ec2a7a192c.js:26)
    at s.formGen (application-6978f295d5cd3b6aea585c65faa93022c4becd06d0fb37bb48b255ec2a7a192c.js:26)
    at s.formGen (application-6978f295d5cd3b6aea585c65faa93022c4becd06d0fb37bb48b255ec2a7a192c.js:26)
    at new s (application-6978f295d5cd3b6aea585c65faa93022c4becd06d0fb37bb48b255ec2a7a192c.js:26)
    at e.content (application-6978f295d5cd3b6aea585c65faa93022c4becd06d0fb37bb48b255ec2a7a192c.js:26)
    at e.content (application-6978f295d5cd3b6aea585c65faa93022c4becd06d0fb37bb48b255ec2a7a192c.js:26)
    at e.update (application-6978f295d5cd3b6aea585c65faa93022c4becd06d0fb37bb48b255ec2a7a192c.js:26)
    at e.update (application-6978f295d5cd3b6aea585c65faa93022c4becd06d0fb37bb48b255ec2a7a192c.js:25)
    at e.render (application-6978f295d5cd3b6aea585c65faa93022c4becd06d0fb37bb48b255ec2a7a192c.js:26)
    at e.render (application-6978f295d5cd3b6aea585c65faa93022c4becd06d0fb37bb48b255ec2a7a192c.js:25)
    s.formGenItem @ application-6978f295d5cd3b6aea585c65faa93022c4becd06d0fb37bb48b255ec2a7a192c.js:26
    s.formGen @ application-6978f295d5cd3b6aea585c65faa93022c4becd06d0fb37bb48b255ec2a7a192c.js:26
    (anonymous) @ application-6978f295d5cd3b6aea585c65faa93022c4becd06d0fb37bb48b255ec2a7a192c.js:26
    s @ application-6978f295d5cd3b6aea585c65faa93022c4becd06d0fb37bb48b255ec2a7a192c.js:26
    e.content @ application-6978f295d5cd3b6aea585c65faa93022c4becd06d0fb37bb48b255ec2a7a192c.js:26
    (anonymous) @ application-6978f295d5cd3b6aea585c65faa93022c4becd06d0fb37bb48b255ec2a7a192c.js:26
    e.update @ application-6978f295d5cd3b6aea585c65faa93022c4becd06d0fb37bb48b255ec2a7a192c.js:26
    (anonymous) @ application-6978f295d5cd3b6aea585c65faa93022c4becd06d0fb37bb48b255ec2a7a192c.js:25
    e.render @ application-6978f295d5cd3b6aea585c65faa93022c4becd06d0fb37bb48b255ec2a7a192c.js:26
    (anonymous) @ application-6978f295d5cd3b6aea585c65faa93022c4becd06d0fb37bb48b255ec2a7a192c.js:25
    e @ application-6978f295d5cd3b6aea585c65faa93022c4becd06d0fb37bb48b255ec2a7a192c.js:26
    e @ application-6978f295d5cd3b6aea585c65faa93022c4becd06d0fb37bb48b255ec2a7a192c.js:26
    e.new @ application-6978f295d5cd3b6aea585c65faa93022c4becd06d0fb37bb48b255ec2a7a192c.js:53
    (anonymous) @ application-6978f295d5cd3b6aea585c65faa93022c4becd06d0fb37bb48b255ec2a7a192c.js:8
    dispatch @ application-6978f295d5cd3b6aea585c65faa93022c4becd06d0fb37bb48b255ec2a7a192c.js:2
    g.handle @ application-6978f295d5cd3b6aea585c65faa93022c4becd06d0fb37bb48b255ec2a7a192c.js:2

Steps to reproduce the behavior:

  • Create custom attribute called “contactno”
  • Update DB schema
  • Restart
  • Try to create a new user

Updating existing users works (and attribute contactno is displayed)

Sorry but I’m not able to reproduce this behaviour at all.

Please provide the type of the added object, it’s permissions, the permissions of the user you’re trying to create a new user with and last but not least if this is a mandatory field or not. :slight_smile:

This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.