ATContentTypes - Developer report tools: XXX/TODO/BBB comments

Generated on Sun, 20 Mar 2005 15:32:19 CET


Summary

There are currently 54 XXX/TODO/BBB comments.


Listing

  1. File: Archetypes/Extensions/Install.py:113
        # BBB remove these two dummy methods
        manage_addExternalMethod(self,'switchATCT2CMF',
            'DUMMY: Set reenable CMF type',
            PROJECTNAME+'.Install',
    
  2. File: Archetypes/docs/CHANGELOG.txt:2680
    	  up other XXX added security assertions fixed implementation of AT
    	  Event rewrote some doc strings
    
    2004-04-04 23:47  tiran
    
  3. File: Archetypes/docs/.#HISTORY.txt.1.60.4.15.2.29:18
     * Added XXX report tool to ATCT. It's mostly a copy from the Zope3 XXX tools.
       [tiran]
    
     * Fixed [ 1049018 ] url field on Link doesn't allow mailto. Also added an
    
  4. File: Archetypes/docs/HISTORY.txt:28
     * Added XXX report tool to ATCT. It's mostly a copy from the Zope3 XXX tools.
       [tiran]
    
     * Fixed [ 1049018 ] url field on Link doesn't allow mailto. Also added an
    
  5. File: Archetypes/utilities/XXXreport2html.py:14
    """Beautify a XXX report.
    
    Creates a HTML file from a XXXReport file.
    
    
  6. File: Archetypes/utilities/XXXreport2html.py:61

    ATContentTypes - Developer report tools: XXX/TODO/BBB comments

    Generated on %(reporttime)s


    Summary

  7. File: Archetypes/utilities/XXXreport2html.py:66
     There are currently %(commentcount)s XXX/TODO/BBB comments.
    


    Listing

  8. File: Archetypes/migration/ATCTMigrator.py:94
        # XXX can't handle nested topics
        map = {'acquireCriteria' : 'setAcquireCriteria'}
    
        def custom(self):
    
  9. File: Archetypes/migration/ATCTMigrator.py:198
        # XXX atct._fixLargePloneFolder()
        try:
            kwargs['default_language'] = pprop.aq_explicit.site_properties.default_language
        except (AttributeError, KeyError):
    
  10. File: Archetypes/tests/test_atfavorite.py:122
            # XXX more
    
            self.failUnless(migrated.getRemoteUrl() == url, 'URL mismatch: %s / %s' \
                            % (migrated.getRemoteUrl(), url))
    
  11. File: Archetypes/tests/test_attopic.py:429
            # XXX not in the current version
            return
            dummy = self._dummy
            field = dummy.getField('customView')
    
  12. File: Archetypes/tests/test_attopic.py:471
            # XXX not in the current version
            return
            dummy = self._dummy
            field = dummy.getField('customViewFields')
    
  13. File: Archetypes/tests/test_atevent.py:136
            #self.failUnless(old.getXXX() == new.getXXX(), 'XXX mismatch: %s / %s' \
            #                % (old.getXXX(), new.getXXX()))
            self.assertEquals(new.start_date, DT2dt(new.start()))
            self.assertEquals(new.end_date, DT2dt(new.end()))
    
  14. File: Archetypes/tests/test_tool.py:92
            # XXX add a cmf based object before cataloging
    
            result, time, ctime = t._catalogCMFtypes() 
    
    
  15. File: Archetypes/tests/test_atfile.py:59
        #XXX obj.setFormat('text/plain')
    
    tests = []
    
    
  16. File: Archetypes/tests/test_atfile.py:104
            # XXX todo
    
        def test_migration(self):
            old = self._cmf
    
  17. File: Archetypes/tests/test_atfile.py:134
            # XXX more
    
    tests.append(TestSiteATFile)
    
    
  18. File: Archetypes/tests/test_atimage.py:110
            # XXX not a real test
            exif_data = self._ATCT.getEXIF()
            self.failUnless(isinstance(exif_data, dict), type(exif_data))
            
    
  19. File: Archetypes/tests/test_atimage.py:115
            # XXX not a real test
            r, m = self._ATCT.getEXIFOrientation()
            
        def test_transform(self):
            self._ATCT.transformImage(2)
    
        def test_autotransform(self):
            self._ATCT.autoTransformImage()
            
        def test_broken_pil(self):
    
  20. File: Archetypes/tests/test_atlink.py:127
            # XXX more
    
            self.failUnless(migrated.getRemoteUrl() == url, 'URL mismatch: %s / %s' \
                            % (migrated.getRemoteUrl(), url))
    
  21. File: Archetypes/tests/test_atfolder.py:129
            # XXX more
    
    tests.append(TestSiteATFolder)
    
    
  22. File: Archetypes/tests/test_atnewsitem.py:115
            # XXX more
    
    
    tests.append(TestSiteATNewsItem)
    
  23. File: Archetypes/tests/test_constraintypes.py:139
            # XXX this test does't work because it expects a CMF Folder!
            
            # now let's see if inheritance kicks in even thru a non
            # constrained type
    
  24. File: Archetypes/tests/atcttestcase.py:65
    # BBB remove import from PloneLanguageTool later
    try:
        from Products.CMFPlone.interfaces.Translatable import ITranslatable
    except ImportError:
    
  25. File: Archetypes/tests/atcttestcase.py:174
            # XXX more
    
        def compareAfterMigration(self, migrated, mod=None, created=None):
            self.failUnless(isinstance(migrated, self.klass),
    
  26. File: Archetypes/tests/atcttestcase.py:319
            #XXX self.failUnlessEqual(tuple(vocab), ())
    
        def test_layout(self):
            dummy = self._dummy
    
  27. File: Archetypes/types/ATContentType.py:68
    # BBB CMFPlone 2.0.x
    try:
        from Products.CMFPlone.interfaces.Translatable import ITranslatable
    except ImportError:
    
  28. File: Archetypes/types/ATContentType.py:91
    # XXX this should go into LinguaPlone!
    translate_actions = ({
        'id'          : 'translate',
        'name'        : 'Translate',
    
  29. File: Archetypes/types/ATContentType.py:109
        # BBB remove is not None test later
        if ITranslatable is not None and ITranslatable.isImplementedByInstancesOf(class_):
            class_.actions = updateActions(class_, translate_actions)
            
    
  30. File: Archetypes/types/ATContentType.py:303
            # XXX what should be returned if no data is present?
    
        security.declareProtected(CMFCorePermissions.View, 'get_data')
        def get_data(self):
    
  31. File: Archetypes/types/ATContentType.py:491
            # XXX no error catching
            fh, mimetype, filename, size = self.loadFileFromURL(value,
                                               contenttypes=('image',))
            mutator = self.getPrimaryField().getMutator(self)
    
  32. File: Archetypes/types/ATDocument.py:144
            # XXX this is ugly
            # When an object is initialized the first time we have to 
            # set the filename and mimetype.
            # In the case the value is empty/None we must not set the value because
    
  33. File: Archetypes/types/ATEvent.py:192
                    # XXX disabled for now, see
                    # https://sourceforge.net/tracker/index.php?func=detail&aid=974102&group_id=55262&atid=645337
                    #validators = ('isInternationalPhoneNumber',),
                    validators= (),
    
  34. File: Archetypes/types/ATEvent.py:384
                # XXX come up with a nice cmp for types
                return cmp(self.Title(), other)
    
        def __hash__(self):
    
  35. File: Archetypes/types/ATImage.py:183
            XXX check if PIL removes EXIF when rescaling with orig_size
            """
            cache = '_image_exif'
            
    
  36. File: Archetypes/types/ATImage.py:199
                        # XXX bar exception, LOG
                        exif_data = {}
                    # remove some unwanted elements lik thumb nails
                    for key in ('JPEGThumbnail', 'TIFFThumbnail'):
    
  37. File: Archetypes/types/ATImage.py:256
                # XXX except all, LOG
                return None
                    
                
    
  38. File: Archetypes/types/ATLink.py:53
                # XXX description is wrong!
                description=("The address of the location. Prefix is "
                              "optional; if not provided, the link will be relative."),
                description_msgid = "help_url",
    
  39. File: Archetypes/www/imageScales.zpt:11
      

    TODO explain me

  40. File: Archetypes/www/migration.zpt:10
      

    TODO explain me

  41. File: Archetypes/www/overview.zpt:8
      

    TODO explain me

    README

  42. File: Archetypes/www/recatalog.zpt:15
      

    TODO explain me

  43. File: Archetypes/www/recatalog.zpt:22
          

    TODO explain me

    Remove old objects first?
  44. File: Archetypes/www/recatalog.zpt:29
          

    TODO explain me

  45. File: Archetypes/www/recatalog.zpt:36
          

    TODO explain me

    Remove old objects first?
  46. File: Archetypes/ATCTTool.py:270
                # XXX not impelemented
                raise NotImplementedError, "Migrating a subset of types is not implemented"
            if isinstance(portal_types, basestring):
                portal_types = (portal_types,)
    
  47. File: Archetypes/ConstrainTypesMixin.py:55
    # XXX acquire vs. enabled is not implemented
    DISABLED = 0 # use default behavior of PortalFolder which uses the FTI information
    ENABLED  = 1 # allow types from locallyAllowedTypes
    ACQUIRE = -1 # acquire enabled/disabled and locallyAllowedTypes from parent
    
  48. File: Archetypes/ConstrainTypesMixin.py:163
            # XXX maybe we want also to allow other FTIs
            if myfti.filter_content_types:
                possible_ftis = [fti for fti in possible_ftis
                                 if myfti.allowType(fti.getId())]
    
  49. File: Archetypes/HistoryAware.py:95
                    # XXX alan reported it, add logging!
                    continue
                serial = revision['serial']
                # get the revision object and wrap it in a context wrapper
    
  50. File: Archetypes/ftests/test_atfolder.py:42
            # XXX more tests?
            response = self.publish('%s/' % self.obj_path, self.basic_auth)
            self.assertStatusEqual(response.getStatus(), 200) #
    
    
  51. File: Archetypes/ftests/test_atfolder.py:61
            # XXX more tests?
            response = self.publish('%s/' % self.obj_path, self.basic_auth)
            self.assertStatusEqual(response.getStatus(), 200) #
    
    
  52. File: Archetypes/ftests/test_attopic.py:44
            # XXX more tests?
            response = self.publish('%s/' % self.obj_path, self.basic_auth)
            self.assertStatusEqual(response.getStatus(), 200) #
        
    
  53. File: Archetypes/ftests/atctftestcase.py:146
            # XXX more tests?
            response = self.publish('%s/view' % self.obj_path, self.basic_auth)
            self.assertStatusEqual(response.getStatus(), 200) # OK
    
    
  54. File: Archetypes/ftests/atctftestcase.py:152
            # XXX security tests?
            response = self.publish('%s/folder_localrole_form' % self.obj_path, self.basic_auth)
            self.assertStatusEqual(response.getStatus(), 200) # OK