Hi,<br><br>Thank you for reporting this.<br><br>I created a JIRA for this if you want to follow it. <a href="https://jira.jboss.org/browse/GUVNOR-636">https://jira.jboss.org/browse/GUVNOR-636</a><br><br>Do you still get the Check-in popup every time you click Save? I&#39;m just wondering if this is related to a previous bug we had.<br>
<br>Toni Rikkola<br><br><div class="gmail_quote">2010/9/22 David Shields <span dir="ltr">&lt;<a href="mailto:david.shields@duke.edu">david.shields@duke.edu</a>&gt;</span><br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">

<br><font face="sans-serif" size="2">I have spent several days writing rules
and tests for them in Guvnor, and kept having strange results.  A
test would sometimes fail, repeatedly, and then finally start working after
I would delete and recreate some portion of it, or change a value.</font>
<br>
<br><font face="sans-serif" size="2">After two of us spent many hours trying
to identify the extent of the problem, we concluded the following:</font>
<br><font face="sans-serif" size="2">1.  The problem happens under both
IE and Firefox.</font>
<br><font face="sans-serif" size="2">2.  The problem happens less frequently
under Firefox if we install and turn on a third-party plug-in which disables
Firefox caching web pages.</font>
<br><font face="sans-serif" size="2">3.  Saving a new rule or test will
allow us to work with it (edit - save - test scenarios).  However,
frequently the rule or test will just disappear once we log out.</font>
<br><font face="sans-serif" size="2">4.  A &quot;Save&quot; and &quot;Check-in&quot;
will often work correctly if we cross our fingers and do the following:</font>
<br><font face="sans-serif" size="2">        a.
 Save it once  (the screen updates, and you can check the version
history)</font>
<br><font face="sans-serif" size="2">        b.
 Refresh the browser</font>
<br><font face="sans-serif" size="2">        c.
 Make the change again</font>
<br><font face="sans-serif" size="2">        d.
 Save it a second time</font>
<br><font face="sans-serif" size="2">5.  After doing a &quot;Save&quot;
and &quot;Check-in&quot;, you can immediately do a &quot;view source&quot;
and see your changes in place.  However, if you then close the test
(or rule) and re-open it, you will often find that the change is gone,
and the test or rule looks like it did before you made the change.</font>
<br>
<br><font face="sans-serif" size="2">A sample screenshot appears below.  In
this case, I created the test with the &quot;performedTime&quot; set to
20-Sep-2008.  I ran the test and it failed, because the rule was checking
for greater than or equal to 21-Sep-2008.  I then changed the date
on the test to 21-Sep-2008, did a &quot;save changes&quot; and a &quot;Check-in&quot;,
and then ran the scenario again.</font>
<br>
<br><font face="sans-serif" size="2">As you can see below, the asserted object
contains the date 20-Sep-2008, even though the test clearly shows 21-Sep-2008.</font>
<br>
<br><img src="cid:_1_09A1E1A009A1DAC80005F9E7852577A6">
<br>
<br><font face="sans-serif" size="2">Does anybody have any ideas on this?
 If I copy the above test into a new test, it will often work the
first time, but then it may disappear, once I logout, even though it was
saved and checked-in.</font>
<br>
<br><font face="sans-serif" size="2">It almost seems like there is something
wrong with the imbedded repository, and / or the first running of the test
created fact objects that are persisting and being found the second time
I ran the changed test. ...</font>
<br>
<br><font face="sans-serif" size="2">We are running the Final release of
Drools Guvnor 5.1.1 found in drools-5.1.1-guvnor.zip downloaded on 4-Sep-2010</font>
<br><font face="sans-serif" size="2">We are running under Tomcat 6.0, with
the recommended jar files replaced.</font>
<br>
<br><font face="sans-serif" size="2">Thanks for your help!</font>
<br><font face="sans-serif" size="2"><br>
--------------------------------------------------<br>
David Shields<br>
Division of Clinical Informatics<br>
Department of Community and Family Medicine<br>
Duke University Medical Center<br>
<br>
Phone (864) 787-8551<br>
<br>
</font><br>_______________________________________________<br>
rules-users mailing list<br>
<a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
<br></blockquote></div><br>