Information générale
Catégorie:
The Mere Mortals Framework
We haven't found the solution to the problem yet, but we have found where the problem occurs. In csecurityrulesbase.setcontrolaccess(), if you are going from full to no access, a record is added to mmcntrls and the iid is updated in the id table. Then if you return to full, that record is located and then deleted. The LOCATE is incrementing the iid and causing the "Another user error".
We think it's because we are deleting a record that hasn't been saved.
This also occurs in the sample app.
The ice cream is melting!
>Randy,
>
>>We are adding the security stuff to our app and we ran into a problem. We default to new users having full access. On the groups form, when we change one of the controls to Read Only or None, everything is fine. Then, if we leave that record and come back to it and change the listbox back to Full, we get "Another user has changed this data. Do you wish to overwrite ?" If we say yes, it still doesn't change it. It only happens when we go back to Full. What's up with that?>
>
>Have you figured this one out yet? If not, does this work properly in the sample application?
>
>Regards,
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement