Changeset 12365


Ignore:
Timestamp:
2 Jan 2015, 10:09:50 (10 years ago)
Author:
Henrik Bettermann
Message:

Revert changes from rr12360.

Location:
main/waeup.ikoba/trunk/src/waeup/ikoba/documents
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.ikoba/trunk/src/waeup/ikoba/documents/browser.py

    r12360 r12365  
    175175    def form_fields(self):
    176176        return grok.AutoFields(self.context.form_fields_interface).omit(
    177             'html_multilingual')
     177            'html_dict', 'html_multilingual')
    178178
    179179    @property
  • main/waeup.ikoba/trunk/src/waeup/ikoba/documents/export.py

    r12360 r12365  
    4444                  'formatted_transition_date',
    4545                  'translated_class_name',
    46                   'html_dict',
    4746                  'connected_files',   # Could be used to export file URLs
    4847                  ]
  • main/waeup.ikoba/trunk/src/waeup/ikoba/documents/tests/test_export.py

    r12360 r12365  
    114114        result = open(self.outfile, 'rb').read()
    115115        self.assertMatches(
    116             'class_name,description,document_id,history,'
     116            'class_name,description,document_id,history,html_dict,'
    117117            'html_multilingual,state,title,users_with_local_roles\r\n'
    118118            'HTMLDocument,,DOC2,'
    119119            '[u\'2014-12-21 16:50:28 UTC - Document created by system\'],'
    120             ',created,,"[{\'user_name\': u\'john\', \'local_role\': u\'johnsrole\'}]"',
     120            '{},,created,,"[{\'user_name\': u\'john\', \'local_role\': u\'johnsrole\'}]"',
    121121            result
    122122            )
     
    129129        result = open(self.outfile, 'rb').read()
    130130        self.assertMatches(
    131             'class_name,description,document_id,history,'
     131            'class_name,description,document_id,history,html_dict,'
    132132            'html_multilingual,state,title,users_with_local_roles\r\n'
    133133            'HTMLDocument,,DOC2,'
    134134            '[u\'2014-12-21 16:50:28 UTC - Document created by system\'],'
    135             ',created,,"[{\'user_name\': u\'john\', \'local_role\': u\'johnsrole\'}]"',
     135            '{},,created,,"[{\'user_name\': u\'john\', \'local_role\': u\'johnsrole\'}]"',
    136136            result
    137137            )
Note: See TracChangeset for help on using the changeset viewer.