setUserId Records to Custom Dimension

We set up Piwik with two features that seem to be conflicting:

  • setUserId
  • custom dimensions

The setUserId function is called after the customer logs in and records the user ID.

Then there was supposed to be a new custom dimension called Login that recorded the time of login. However, when I view the Login action, all the setUserId events are also listed with “Value not defined”.

Why is the setUserId function call causing a custom dimension to be recorded? Isn’t that a bug?

I made a screenshot that shows the actions I am talking about.

I am actually experiencing a similar problem. Don’t know if someone could already solve it