Missing value for required field "Password", during Checkin View

Hi all,I am trying to modify a user in a workflow. I checkout and checkin the view. I am getting a Missing value for required field "Password" error when I do this. Here is the problem, I don't want to set a password in Lighthouse for them. Is there someway I can get around this?
[295 byte] By [JimBearda] at [2007-11-27 4:50:38]
# 1
Anyone know?
JimBearda at 2007-7-12 10:04:03 > top of Java-index,Web & Directory Servers,Directory Servers...
# 2

Hi,

Are you invoking a form that has validation for the password field?

This is probably what is causing the error.

Maybe create and empty form and checkout the view

with this emty form:

<Argument name='Form' value='My Empty Form'/>

With regards to not storing the password in Lighthouse,

Do this:

<set name='userView.password.selectAll'>

<s>false</s>

</set>

Then loop over the resources you want to set the password on ($targets):

<set>

<expand>

<s>userView.password.accounts[$(target)].selected</s>

</expand>

<s>true</s>

</set>

John I

johnia at 2007-7-12 10:04:03 > top of Java-index,Web & Directory Servers,Directory Servers...
# 3

Johni,

The form bit is a possiblity. It is pulling the user form using our customized Tabbed User Form. As for the rest.. I'm doing two things, one is trying to set the NoSyncWavesetPassword option on the view checkout, it looks like this:

<Action id='0' name='Checkout View' application='com.waveset.session.WorkflowServices'>

<ReportTitle>

<s>Checkout View</s>

</ReportTitle>

<Argument name='op' value='checkoutView'/>

<Argument name='type' value='User'/>

<Argument name='id'>

<ref>theUser.waveset.accountId</ref>

</Argument>

<Argument name='options'>

<Map>

<MapEntry key='NoSyncWavesetPassword' value='true'/>

</Map>

</Argument>

<Return from='WF_RESULT_ERROR' to='toggleError'/>

<Return from='view' to='theUser'/>

</Action>

The other, is that I am trying to clean up the password section of the view, like this:

<dolist name='name'>

<ref>theUser.password.accounts[*].name</ref>

<set>

<concat>

<s>theUser.password.accounts[</s>

<ref>name</ref>

<s>].selected</s>

</concat>

<s>false</s>

</set>

</dolist>

<set name='theUser.password.required'>

<s>false</s>

</set>

I've also tried nulling out the targets:

<set name='theUser.password.targets'>

<list/>

</set>

or nulling out the whole theUser.password object. No luck with any of it.

I'll look into the form, thanks for you taking the time to look at this.

Jim

JimBearda at 2007-7-12 10:04:03 > top of Java-index,Web & Directory Servers,Directory Servers...
# 4
password.selectAll seems to already be set to false when I look at the object in the debugger.
JimBearda at 2007-7-12 10:04:03 > top of Java-index,Web & Directory Servers,Directory Servers...
# 5
Also, the missing values message is preceded by com.waveset.util.WavesetException, so I'm not sure that it is a field validation issue.
JimBearda at 2007-7-12 10:04:03 > top of Java-index,Web & Directory Servers,Directory Servers...
# 6
Hi JimBeard,Do you have a resource with a password attibute that is marked (with a checkbox in the schema map) as being required?Just guessing here...John I
johnia at 2007-7-12 10:04:03 > top of Java-index,Web & Directory Servers,Directory Servers...
# 7
I have two resources that are mapped to the password. Neither are marked as being required.
JimBearda at 2007-7-12 10:04:03 > top of Java-index,Web & Directory Servers,Directory Servers...
# 8

Why don't you try unchecking the required checkbox for the password attribute?

Going by what you said it dawns upon me that you don't want to set a password........so why keep it as a required field........I suppose this is the reason you are getting the error message you had specified.

Pls let us know if this worked for you.

regards,

Zebra7

Zebra7a at 2007-7-12 10:04:03 > top of Java-index,Web & Directory Servers,Directory Servers...
# 9
It is not (and has not been) checked as being required in the resources schema. Is there somewhere else I am overlooking where it can be checked as required?
JimBearda at 2007-7-12 10:04:03 > top of Java-index,Web & Directory Servers,Directory Servers...
# 10
Do you mean to say that Password is not checked as required but is being displayed as required?
Zebra7a at 2007-7-12 10:04:03 > top of Java-index,Web & Directory Servers,Directory Servers...
# 11
Hi Jim,Just Let me know if you had done any attribute mapping for password in IDM for any resource (like AD) like in case of ActiveSync. Incase you had done just check once whether you had selected password. If so uncheck it and try again.regards,Zebra7
Zebra7a at 2007-7-12 10:04:03 > top of Java-index,Web & Directory Servers,Directory Servers...
# 12
Hey Jim,One more thing. Do check the form which you use to feed the values and if you find the field Password to be checked required (goto the BPE and open the form to view this) , uncheck it. This must solve your problem . Do let us know if it
Zebra7a at 2007-7-12 10:04:03 > top of Java-index,Web & Directory Servers,Directory Servers...
# 13
I don't believe the password is marked as required anywhere. I am using an empty form for the transaction. I started a support ticket, so maybe that will bring something about.
JimBearda at 2007-7-12 10:04:03 > top of Java-index,Web & Directory Servers,Directory Servers...