incubator-bloodhound-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Apache Bloodhound" <bloodhound-...@incubator.apache.org>
Subject Re: [Apache Bloodhound] #336: bhdashboard.model.ModelBase insert method fails if no unique fields specified
Date Fri, 04 Jan 2013 17:03:16 GMT
#336: bhdashboard.model.ModelBase insert method fails if no unique fields
specified
---------------------------+--------------------
  Reporter:  franco        |      Owner:  nobody
      Type:  defect        |     Status:  new
  Priority:  critical      |  Milestone:
 Component:  multiproduct  |    Version:  0.3.0
Resolution:                |   Keywords:
---------------------------+--------------------

Comment (by franco):

 This
 [https://issues.apache.org/bloodhound/attachment/ticket/336/bloodhound_t336
 attachment] is a patch that adds a test case to multiproduct.test.model
 module, reproducing the error

 Sorry not submitting a solution patch.. I have some code related to
 ModelBase that is not quite finished yet... in my local copy I added a
 first condition like this:[[BR]]

 {{{
     elif len(self._meta['unique_fields']) \
                        and len(self.select(self._env, where = ...
 }}}


 Best regards,

-- 
Ticket URL: <https://issues.apache.org/bloodhound/ticket/336#comment:1>
Apache Bloodhound <https://issues.apache.org/bloodhound/>
The Apache Bloodhound (incubating) issue tracker

Mime
View raw message