Re #6000. Show an error message if attribute cannot be set