<div dir="ltr">Hey Pavol, <div><br></div><div>So I managed to update to the latest version, applied to DB patch, and also double checked that adding and removing inducements for roles works now. However, when I try to recompute all members (there's only one member), I get the following error stack:<br><br><div>2016-06-07 18:50:33,834 [] [midPointScheduler_Worker-8] ERROR (com.evolveum.midpoint.model.impl.util.AbstractSearchIterativeTaskHandler): Recompute: Schema error while creating a search filter: Failed to convert query. Reason: No definition for item assignment/targetRef in POD:{.../common/common-3}object {.../common/common-3}ObjectType[1,1],RAM</div><div>com.evolveum.midpoint.util.exception.SchemaException: Failed to convert query. Reason: No definition for item assignment/targetRef in POD:{.../common/common-3}object {.../common/common-3}ObjectType[1,1],RAM</div><div>        at com.evolveum.midpoint.prism.query.QueryJaxbConvertor.createObjectQueryInternal(QueryJaxbConvertor.java:134) ~[prism-3.4-SNAPSHOT.jar:na]</div><div>        at com.evolveum.midpoint.prism.query.QueryJaxbConvertor.createObjectQueryInternal(QueryJaxbConvertor.java:113) ~[prism-3.4-SNAPSHOT.jar:na]</div><div>        at com.evolveum.midpoint.prism.query.QueryJaxbConvertor.createObjectQuery(QueryJaxbConvertor.java:79) ~[prism-3.4-SNAPSHOT.jar:na]</div><div>        at com.evolveum.midpoint.model.impl.util.AbstractSearchIterativeTaskHandler.createQueryFromTask(AbstractSearchIterativeTaskHandler.java:451) [model-impl-3.4-SNAPSHOT.jar:na]</div><div>        at com.evolveum.midpoint.model.impl.sync.RecomputeTaskHandler.createQuery(RecomputeTaskHandler.java:108) ~[model-impl-3.4-SNAPSHOT.jar:na]</div><div>        at com.evolveum.midpoint.model.impl.util.AbstractSearchIterativeTaskHandler.runInternal(AbstractSearchIterativeTaskHandler.java:187) [model-impl-3.4-SNAPSHOT.jar:na]</div><div>        at com.evolveum.midpoint.model.impl.util.AbstractSearchIterativeTaskHandler.run(AbstractSearchIterativeTaskHandler.java:155) [model-impl-3.4-SNAPSHOT.jar:na]</div><div>        at com.evolveum.midpoint.task.quartzimpl.execution.JobExecutor.executeHandler(JobExecutor.java:479) [task-quartz-impl-3.4-SNAPSHOT.jar:na]</div><div>        at com.evolveum.midpoint.task.quartzimpl.execution.JobExecutor.executeSingleTask(JobExecutor.java:300) [task-quartz-impl-3.4-SNAPSHOT.jar:na]</div><div>        at com.evolveum.midpoint.task.quartzimpl.execution.JobExecutor.execute(JobExecutor.java:164) [task-quartz-impl-3.4-SNAPSHOT.jar:na]</div><div>        at org.quartz.core.JobRunShell.run(JobRunShell.java:213) [quartz-2.1.3.jar:na]</div><div>        at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:557) [quartz-2.1.3.jar:na]</div><div>Caused by: com.evolveum.midpoint.util.exception.SchemaException: No definition for item assignment/targetRef in POD:{.../common/common-3}object {.../common/common-3}ObjectType[1,1],RAM</div><div>        at com.evolveum.midpoint.prism.parser.QueryConvertor.parseRefFilter(QueryConvertor.java:423) ~[prism-3.4-SNAPSHOT.jar:na]</div><div>        at com.evolveum.midpoint.prism.parser.QueryConvertor.parseFilterInternal(QueryConvertor.java:178) ~[prism-3.4-SNAPSHOT.jar:na]</div><div>        at com.evolveum.midpoint.prism.parser.QueryConvertor.parseLogicalFilter(QueryConvertor.java:230) ~[prism-3.4-SNAPSHOT.jar:na]</div><div>        at com.evolveum.midpoint.prism.parser.QueryConvertor.parseAndFilter(QueryConvertor.java:209) ~[prism-3.4-SNAPSHOT.jar:na]</div><div>        at com.evolveum.midpoint.prism.parser.QueryConvertor.parseFilterInternal(QueryConvertor.java:188) ~[prism-3.4-SNAPSHOT.jar:na]</div><div>        at com.evolveum.midpoint.prism.parser.QueryConvertor.parseFilterInternal(QueryConvertor.java:151) ~[prism-3.4-SNAPSHOT.jar:na]</div><div>        at com.evolveum.midpoint.prism.parser.QueryConvertor.parseFilter(QueryConvertor.java:125) ~[prism-3.4-SNAPSHOT.jar:na]</div><div>        at com.evolveum.midpoint.prism.query.QueryJaxbConvertor.createObjectQueryInternal(QueryJaxbConvertor.java:124) ~[prism-3.4-SNAPSHOT.jar:na]</div><div>        ... 11 common frames omitted</div></div><div><br></div><div><br></div><div>Any help would be greatly appreciated.</div><div><br></div><div>Thanks, </div><div>-F </div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jun 2, 2016 at 3:40 PM, Florin. Stingaciu <span dir="ltr"><<a href="mailto:fstingaciu@mirantis.com" target="_blank">fstingaciu@mirantis.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Yup, I checked and you can not add an inducement either. Also I believe some of the associations listed under the profile are wrong. I will write up a new email for that as well. <br><br>Meanwhile I reverted back to the original version. I will keep an eye out on the ticket. <div><br></div><div>Have a good night! Thanks for your prompt responses. <br><div><br></div><div>Thanks, </div><span class="HOEnZb"><font color="#888888"><div>-F </div></font></span></div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jun 2, 2016 at 3:37 PM, Pavol Mederly <span dir="ltr"><<a href="mailto:mederly@evolveum.com" target="_blank">mederly@evolveum.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <div bgcolor="#FFFFFF" text="#000000">
    <p>I think it is similar to this one: <a href="https://jira.evolveum.com/browse/MID-3074" target="_blank"></a><a href="https://jira.evolveum.com/browse/MID-3074" target="_blank">https://jira.evolveum.com/browse/MID-3074</a>.
      <br>
    </p>
    <p>And I can see this wrong behavior also in my case. This is
      unpleasant. <br>
    </p>
    <p>We'll fix it soon, hopefully tomorrow. (Now it's after midnight
      here... )<br>
    </p>
    <p>Best regards,</p>
    <p>Pavol<br>
    </p><div><div>
    <br>
    <div>On 03.06.2016 0:27, Florin. Stingaciu
      wrote:<br>
    </div>
    <blockquote type="cite">
      <div dir="ltr">Hello again, 
        <div><br>
        </div>
        <div>I managed to get around this issue by actually applying the
          mysql-upgrade-3.3-3.4.sql patch. Everything came back up just
          fine, however now I'm running into a strange issue where I can
          not remove inducements from a role. </div>
        <div><br>
        </div>
        <div>For example: <a href="http://imgur.com/a/lWoKT" target="_blank">http://imgur.com/a/lWoKT</a><br>
          <br>
          The inducements stay there no matter how much I try to remove
          them. Is this a known issue in the current master?</div>
        <div><br>
        </div>
        <div>Thanks, </div>
        <div>-F </div>
        <div><br>
        </div>
        <div><br>
        </div>
      </div>
      <div class="gmail_extra"><br>
        <div class="gmail_quote">On Thu, Jun 2, 2016 at 2:03 PM, Pavol
          Mederly <span dir="ltr"><<a href="mailto:mederly@evolveum.com" target="_blank">mederly@evolveum.com</a>></span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
            <div bgcolor="#FFFFFF" text="#000000">
              <p>Hello Florin,</p>
              <p>recently we changed the db schema a bit (because of <a href="https://jira.evolveum.com/browse/MID-3061" target="_blank">MID-3061</a>).</p>
              <p>So, please apply the corresponding migration script
(config\sql\midpoint\3.4\<DBNAME>\<DBNAME>-upgrade-3.4-SNAPSHOT-<b>NNN</b>.sql).
                Which one - it depends on how old your existing master
                is. This particular problem is related to the latest one
                (numbered 6).</p>
              <p>An alternative is to set hbm2ddl parameter like this
                (in config.xml file in midpoint.home directory):</p>
              <p><configuration><br>
                    <midpoint><br>
                          <repository><br>
                            <hibernateHbm2ddl><b>update</b></hibernateHbm2ddl><br>
                ...</p>
              <p>(but this is recommended only for testing purposes,
                because some - but only very rare - changes are not
                correctly applied by hibernate itself)</p>
              <p>Best regards,</p>
              <p>Pavol<br>
              </p>
              <div>
                <div> <br>
                  <div>On 02.06.2016 22:56, Florin. Stingaciu wrote:<br>
                  </div>
                  <blockquote type="cite">
                    <div dir="ltr">Hello again, 
                      <div><br>
                      </div>
                      <div>I'm having some troubles when rebuilding the
                        master. Here's the corresponding stack trace: <a href="http://pastebin.com/TVUAKURb" target="_blank"></a><a href="http://pastebin.com/TVUAKURb" target="_blank">http://pastebin.com/TVUAKURb</a><br>
                        <br>
                        Also, I'm using SSO under apache with the
                        following ctx-web-security.xml file: <a href="http://pastebin.com/rvs9cJDj" target="_blank"></a><a href="http://pastebin.com/rvs9cJDj" target="_blank">http://pastebin.com/rvs9cJDj</a><br>
                        <br>
                        Any ideas would be greatly appreciated. </div>
                      <div><br>
                      </div>
                      <div>Thanks, </div>
                      <div>-F </div>
                    </div>
                    <div class="gmail_extra"><br>
                      <div class="gmail_quote">On Thu, Jun 2, 2016 at
                        11:36 AM, Florin. Stingaciu <span dir="ltr"><<a href="mailto:fstingaciu@mirantis.com" target="_blank"></a><a href="mailto:fstingaciu@mirantis.com" target="_blank">fstingaciu@mirantis.com</a>></span>
                        wrote:<br>
                        <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
                          <div dir="ltr">Thanks Pavel! I'll upgrade to
                            the latest and let you know how that works
                            out. 
                            <div><br>
                            </div>
                          </div>
                          <div>
                            <div>
                              <div class="gmail_extra"><br>
                                <div class="gmail_quote">On Wed, Jun 1,
                                  2016 at 10:24 PM, Pavol Mederly <span dir="ltr"><<a href="mailto:mederly@evolveum.com" target="_blank"></a><a href="mailto:mederly@evolveum.com" target="_blank">mederly@evolveum.com</a>></span>
                                  wrote:<br>
                                  <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
                                    <div bgcolor="#FFFFFF" text="#000000">
                                      <p>Hello Florin,</p>
                                      <p>If I remember correctly, we've
                                        been fixing this problem in
                                        master (3.4-SNAPSHOT). It should
                                        be solved in that branch.</p>
                                      <p>(If not, please drop a jira
                                        issue with details how to
                                        reproduce, and we'll certainly
                                        fix that.)</p>
                                      <p>Best regards,</p>
                                      <p>Pavol<br>
                                      </p>
                                      <div>
                                        <div> <br>
                                          <div>On 02.06.2016 1:28,
                                            Florin. Stingaciu wrote:<br>
                                          </div>
                                        </div>
                                      </div>
                                      <blockquote type="cite">
                                        <div>
                                          <div>
                                            <div dir="ltr">Hello, 
                                              <div><br>
                                              </div>
                                              <div>I'm trying to
                                                recompute all members
                                                that are assigned a
                                                particuar role. I tried
                                                using the "Recompute
                                                All" (<a href="http://i.imgur.com/xLXjLwd.png" target="_blank"></a><a href="http://i.imgur.com/xLXjLwd.png" target="_blank">http://i.imgur.com/xLXjLwd.png</a>)
                                                button in the "Members"
                                                section of a role. This
                                                launches a task that is
                                                successful however, it
                                                it does not process any
                                                objects.  </div>
                                              <div><br>
                                              </div>
                                              <div>If I manually select
                                                the members I want and
                                                select "Recompute
                                                members" everything
                                                works just fine. Any
                                                ideas?</div>
                                              <div><br>
                                              </div>
                                              <div>Thanks, </div>
                                              <div>-F </div>
                                            </div>
                                            <br>
                                            <fieldset></fieldset>
                                            <br>
                                          </div>
                                        </div>
                                        <pre>_______________________________________________
midPoint mailing list
<a href="mailto:midPoint@lists.evolveum.com" target="_blank">midPoint@lists.evolveum.com</a>
<a href="http://lists.evolveum.com/mailman/listinfo/midpoint" target="_blank">http://lists.evolveum.com/mailman/listinfo/midpoint</a>
</pre>
                                      </blockquote>
                                      <br>
                                    </div>
                                    <br>
_______________________________________________<br>
                                    midPoint mailing list<br>
                                    <a href="mailto:midPoint@lists.evolveum.com" target="_blank">midPoint@lists.evolveum.com</a><br>
                                    <a href="http://lists.evolveum.com/mailman/listinfo/midpoint" rel="noreferrer" target="_blank">http://lists.evolveum.com/mailman/listinfo/midpoint</a><br>
                                    <br>
                                  </blockquote>
                                </div>
                                <br>
                              </div>
                            </div>
                          </div>
                        </blockquote>
                      </div>
                      <br>
                    </div>
                    <br>
                    <fieldset></fieldset>
                    <br>
                    <pre>_______________________________________________
midPoint mailing list
<a href="mailto:midPoint@lists.evolveum.com" target="_blank">midPoint@lists.evolveum.com</a>
<a href="http://lists.evolveum.com/mailman/listinfo/midpoint" target="_blank">http://lists.evolveum.com/mailman/listinfo/midpoint</a>
</pre>
                  </blockquote>
                  <br>
                </div>
              </div>
            </div>
            <br>
            _______________________________________________<br>
            midPoint mailing list<br>
            <a href="mailto:midPoint@lists.evolveum.com" target="_blank">midPoint@lists.evolveum.com</a><br>
            <a href="http://lists.evolveum.com/mailman/listinfo/midpoint" rel="noreferrer" target="_blank">http://lists.evolveum.com/mailman/listinfo/midpoint</a><br>
            <br>
          </blockquote>
        </div>
        <br>
      </div>
      <br>
      <fieldset></fieldset>
      <br>
      <pre>_______________________________________________
midPoint mailing list
<a href="mailto:midPoint@lists.evolveum.com" target="_blank">midPoint@lists.evolveum.com</a>
<a href="http://lists.evolveum.com/mailman/listinfo/midpoint" target="_blank">http://lists.evolveum.com/mailman/listinfo/midpoint</a>
</pre>
    </blockquote>
    <br>
  </div></div></div>

<br>_______________________________________________<br>
midPoint mailing list<br>
<a href="mailto:midPoint@lists.evolveum.com" target="_blank">midPoint@lists.evolveum.com</a><br>
<a href="http://lists.evolveum.com/mailman/listinfo/midpoint" rel="noreferrer" target="_blank">http://lists.evolveum.com/mailman/listinfo/midpoint</a><br>
<br></blockquote></div><br></div>
</div></div></blockquote></div><br></div>