Updating user using asset edit password problem


(Mitch Kerry) #1

**Matrix Version:**5.4.1.3

Hi

I’m trying to edit User assets via an edit form in an asset builder but the form keeps returning ‘The value of password is not valid’ no matter what I put in the password field (%details-F_password%).

Any ideas?

Thanks
Mitch


(Bart Banda) #2

Are you trying to update a different user or your own? If it’s your own, you might want to use an Account Manager instead?


(Mitch Kerry) #3

Hi

No…it’s for a user created by an asset builder.
Essentially we want to be able to create a user via the asset builder, then be able to edit via the asset builder edit form.
Not necessary to update the password but it looks like I can’t edit the metadata on the user without also editing the password?

Appreciate any assistance.


(Bart Banda) #4

As long as you have Admin/Write access to the user you are editing you should be able to edit their metadata/attributes without having to edit the password as well, which you probably don’t want to be including anyway as you don’t want to edit other people’s passwords I assume???

What happens if you just output a keyword for editing a user’s specific metadata field? Are there any errors at all or log entries?


(Mitch Kerry) #5

I’ve taken everything out of the form except %details-F_first_name% and still not submitting. Same issue if I use only a metadata keyword.
Form error is ‘The value of password is not valid’ and logs show that it is still trying to update password:
[asset.attributes.scalar - assetid:60395;] (Asset Attribute Changed) - The value of attribute “password” for asset “John SMith” has been changed from “" to "

<div>
	<label>User Name: %asset_name%</label>
</div>
<div class="form">

<div class="form-group">
        <label for="%metadata-id_F_61539%" class="col-sm-2 control-label">Position Title</label>
        <div class="col-sm-10">
            %metadata-F_61539^replace:sq-form-field:form-control%
        </div>
    </div>
<div class="form-item">
  %commit_button_clean^replace:sq-form-field:btn btn-primary^replace:Save%
</div>
</div>

(Bart Banda) #6

That’s really strange. I can’t replicate it at all in the latest version of 5.4, but I don’t think there have been any changes/fixes to that functionality since your version.

Do you have anything special in your implementation at all? Have you tried creating a brand new asset builder and trying it on that with minimum configuration settings in place?