Re: [web2py] after_update

2014-11-25 Thread Alex Glaros
answering my own question, I mistakenly reversed table names. Here is correct, working version: # Update objectDisplayName in db.SuperObject whenever db.Suggestion.suggestionTitle is updated def update_SuggestionDisplayName(set, ufields): table = 'Suggestion' if ('suggestionTitle' in ufiel

Re: [web2py] after_update

2014-11-24 Thread Alex Glaros
improved but now get this error: Traceback 1. 2. 3. 4. 5. 6. 7. 8. 9. 10. 11. 12. 13. 14. 15. 16. Traceback (most recent call last): File "gluon/restricted.py", line 224, in restricted File "C:/alex/web2py/web2py/web2py/applications/ES1/controllers/default.py"

Re: [web2py] after_update

2014-11-24 Thread Roberto Perdomo
I dont ser the displayName field in you SuperObject table. Try change this: ThisSuperObject.update_record(displayName=displayName) For this: ThisSuperObject.update_record(ObjectDisplayName=displayName) El nov. 24, 2014 3:17 AM, "Alex Glaros" escribió: > anyone see what the error is with this a