<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
<channel>
<title>Efficy Overflow Q&amp;A - Recent questions and answers in Bug fixes</title>
<link>https://overflow.efficy.io/?qa=qa/developers/bug-fixes</link>
<description>Powered by Question2Answer</description>
<item>
<title>Answered: 10.2.8930: Bug in globals OpenEdit and ParseDuration due to windowManager introduction</title>
<link>https://overflow.efficy.io/?qa=2232/globals-openedit-parseduration-windowmanager-introduction&amp;show=2255#a2255</link>
<description>&lt;p&gt;Answer from our R&amp;amp;D:&lt;/p&gt;

&lt;p&gt;Actually, the new windowmanager is called in a syncronous manner and returns a window handle if the windowManager module has been placed in the dependency list of your page / main module, therefore when it's already loaded and available before you call any new window opener functions, it is detected and the call occurs in a normal manner, see code at the end of base.js &lt;/p&gt;

&lt;pre&gt;&lt;code&gt;if (requirejs.defined('windowManager')) { 
    return requirejs('windowManager').open(action, options); 
 } 
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;if the module is not declared as dependency of your main module, then requirejs has to first load it, hence the async call. &lt;/p&gt;
</description>
<category>10.2.8930</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=2232/globals-openedit-parseduration-windowmanager-introduction&amp;show=2255#a2255</guid>
<pubDate>Fri, 03 Feb 2017 14:41:34 +0000</pubDate>
</item>
<item>
<title>Answered: Duration of an appo. keeps changing when linking project to action</title>
<link>https://overflow.efficy.io/?qa=2142/duration-of-appo-keeps-changing-when-linking-project-action&amp;show=2143#a2143</link>
<description>&lt;p&gt;The fix is to update this block in the /wwwroot/efficy/scripts/Edit.js file &lt;/p&gt;

&lt;pre&gt;&lt;code&gt;function CebStateAjax(callback, params) { 
    $('#CEB_ACTION').val('CEB_STATE'); 
    if (! BeforeSubmit(false)) 
        return false; 
    if (window.CKEDITOR !== undefined) { 
        $.each(CKEDITOR.instances, function(key, instance) { 
                instance.updateElement(); 
        }); 
    } 
    disableEditEntityGrids(); 

    var 
        $form = $('#edit-form'), 
        action = $form.attr('action'); 

    $.post(action.replace(/bookmark=[-0-9]+/i, 'bookmark=-9'), $form.serialize()) 
        .done(function(data) { 
            if (IsNotEfficyErrorHtml(data) ) { 
                if( $.type(callback) === 'function') { 
                    callback.apply(this, params); 
                } 
                AfterSubmit(false); 
            } 

        }); 
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;It will be fixed in further releases too.&lt;/p&gt;
</description>
<category>Minor bug fixes</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=2142/duration-of-appo-keeps-changing-when-linking-project-action&amp;show=2143#a2143</guid>
<pubDate>Mon, 26 Dec 2016 13:31:50 +0000</pubDate>
</item>
<item>
<title>Answered: R6640 - Actions not displayed in the Agenda</title>
<link>https://overflow.efficy.io/?qa=888/r6640-actions-not-displayed-in-the-agenda&amp;show=2034#a2034</link>
<description>&lt;p&gt;The query for SQL Server is not correct, it will create rounded dates, so actions before noon are today and actions in the afternoon will become tommorow.&lt;/p&gt;

&lt;p&gt;The correct query to generate the delphi value for P&amp;#95;D&amp;#95;BEGIN and P&amp;#95;D&amp;#95;End is :&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;UPDATE au
SET 
    P_D_BEGIN = floor(cast(a.D_BEGIN as float)) + 2, 
    P_D_END =  floor(cast(a.D_END as float)) + 2, 
    ISAGENDA = (SELECT
    CASE 
        WHEN a.PLANNED = '1' AND au.ISACTIVE = '1' AND (au.STATUS IS NULL OR au.STATUS IN ('', '0', '2', '3', '5', '6')) 
        THEN '1' 
        ELSE '0' 
    END)
FROM
 ACTI_USER au
LEFT JOIN 
 ACTIONS a ON a.K_action = au.k_action;
&lt;/code&gt;&lt;/pre&gt;
</description>
<category>2014 - r6640</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=888/r6640-actions-not-displayed-in-the-agenda&amp;show=2034#a2034</guid>
<pubDate>Tue, 22 Nov 2016 10:50:40 +0000</pubDate>
</item>
<item>
<title>Answered: Efficy 10 R7987 - Fetch campaign results return an Error</title>
<link>https://overflow.efficy.io/?qa=1690/efficy-10-r7987-fetch-campaign-results-return-an-error&amp;show=1691#a1691</link>
<description>&lt;p&gt;In serverscripts/ExternalMailing.js, line 269, replace :&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;linkContProf(contactList[0][j], groupId);
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;by&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;linkContProf(contactList[0][j], group.effKey);
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;and in line 286 replace :&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;linkContProf(contactList[0][j], flexGroupId);
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;by&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;linkContProf(contactList[0][j], group.effKey);
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;It will be solved in further releases&lt;/p&gt;

&lt;p&gt;case ref : CFT-2016-67805&lt;/p&gt;

&lt;p&gt;Geoffrey&lt;/p&gt;
</description>
<category>Minor bug fixes</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=1690/efficy-10-r7987-fetch-campaign-results-return-an-error&amp;show=1691#a1691</guid>
<pubDate>Wed, 08 Jun 2016 08:14:48 +0000</pubDate>
</item>
<item>
<title>Answered: IE 11 recent update and Efficy 2012 Summer</title>
<link>https://overflow.efficy.io/?qa=1113/ie-11-recent-update-and-efficy-2012-summer&amp;show=1114#a1114</link>
<description>&lt;p&gt;and don't forget that the best option is to &lt;strong&gt;upgrade to our last Efficy version&lt;/strong&gt; which is compatible with recent technologies !&lt;/p&gt;
</description>
<category>Minor bug fixes</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=1113/ie-11-recent-update-and-efficy-2012-summer&amp;show=1114#a1114</guid>
<pubDate>Wed, 06 Jan 2016 10:09:18 +0000</pubDate>
</item>
<item>
<title>Answered: MSI file (r6684 with no HTTP)</title>
<link>https://overflow.efficy.io/?qa=920/msi-file-r6684-with-no-http&amp;show=921#a921</link>
<description>&lt;p&gt;Setup sidebar and add-ins r6640 NOHHTP.zip&lt;/p&gt;

&lt;p&gt;&lt;a rel=&quot;nofollow&quot; href=&quot;https://ivm.efficy.com/efficy.dll/dialog?page=remote/DialogOperation&amp;amp;action=View(&quot;&gt;https://ivm.efficy.com/efficy.dll/dialog?page=remote/DialogOperation&amp;amp;action=View(&lt;/a&gt;'Docu',156659)&amp;amp;close=T&amp;lt;efficy&lt;em&gt;Docu&lt;/em&gt;156659&lt;em&gt;-1903940559&lt;/em&gt;/&amp;gt;&lt;/p&gt;
</description>
<category>Minor bug fixes</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=920/msi-file-r6684-with-no-http&amp;show=921#a921</guid>
<pubDate>Mon, 16 Nov 2015 12:31:16 +0000</pubDate>
</item>
<item>
<title>Answered: R6640 : Is there a way to import 5min meeting in the timesheet</title>
<link>https://overflow.efficy.io/?qa=848/r6640-is-there-a-way-to-import-5min-meeting-in-the-timesheet&amp;show=914#a914</link>
<description>&lt;p&gt;Hi Stéphane,&lt;/p&gt;

&lt;p&gt;did you check the setting on what amount the timesheets minutes should be rounded? It's set in the SYS_STORAGE value 'TimesheetImportRoundMinutes'.&lt;/p&gt;

&lt;p&gt;And did you also add the 5 minutes values to the Timesheet Duration field? This can be added in time.js which is also mentioned by Anthony.&lt;/p&gt;

&lt;p&gt;Best regards,&lt;br&gt;
Jeroen&lt;/p&gt;
</description>
<category>2014 - r6100 (+ r6099)</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=848/r6640-is-there-a-way-to-import-5min-meeting-in-the-timesheet&amp;show=914#a914</guid>
<pubDate>Wed, 11 Nov 2015 12:37:51 +0000</pubDate>
</item>
<item>
<title>Answered: Touch &quot;Enter&quot; on entity picker in Edit - Chrome &amp; FF - R6640</title>
<link>https://overflow.efficy.io/?qa=852/touch-enter-on-entity-picker-in-edit-chrome-ff-r6640&amp;show=864#a864</link>
<description>&lt;p&gt;Small update to be used instead in MacroEditCustom.txt:&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;DefaultSubmitButton {[&amp;lt;input type=&quot;text&quot; tabindex=&quot;-1&quot; style=&quot;/*Force*/display:none;&quot;&amp;gt;]}
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;Please note this is a temporary fix since this issue will be fixed in the next release.&lt;br&gt;
This MacroEditCustom.txt fix can be removed afterwards.&lt;/p&gt;

&lt;p&gt;Anthony&lt;/p&gt;
</description>
<category>Minor bug fixes</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=852/touch-enter-on-entity-picker-in-edit-chrome-ff-r6640&amp;show=864#a864</guid>
<pubDate>Fri, 16 Oct 2015 14:42:59 +0000</pubDate>
</item>
<item>
<title>Answered: Efficy2014 - How to override lib\js\query script file in a custom</title>
<link>https://overflow.efficy.io/?qa=542/efficy2014-how-to-override-lib-js-query-script-file-in-custom&amp;show=556#a556</link>
<description>&lt;p&gt;Mme Boulangier,&lt;/p&gt;

&lt;p&gt;If you don't feel like doing a custom for this, you can also override the standard select2.js file (located in C:\inetpub\wwwroot\lib\js\jquery\select2.js).&lt;/p&gt;

&lt;p&gt;When you will upgrade to the build of August, this file will be overridden by the Standard (which will also contain the fix, plus eventually some other features).&lt;/p&gt;

&lt;p&gt;Geoffrey&lt;/p&gt;
</description>
<category>Minor bug fixes</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=542/efficy2014-how-to-override-lib-js-query-script-file-in-custom&amp;show=556#a556</guid>
<pubDate>Fri, 24 Jul 2015 13:22:33 +0000</pubDate>
</item>
<item>
<title>Conficy : Add Language and Add External Key (all 2014 versions &lt;= R6100)</title>
<link>https://overflow.efficy.io/?qa=522/conficy-add-language-and-add-external-key-2014-versions-r6100</link>
<description>&lt;p&gt;Dear Efficy Developers,&lt;/p&gt;

&lt;p&gt;In every Efficy versions &amp;lt;=R6100, the option &quot;Add External Key Fields&quot; and &quot;Add Language Field&quot; in Conficy are bugged.&lt;/p&gt;

&lt;p&gt;This is a major issue as the process is not ending correctly and sometimes create duplicates objects in the database (so you wouldn't be able do do a Database Upgrade if this happend).&lt;/p&gt;

&lt;p&gt;Here is the fix :&lt;/p&gt;

&lt;p&gt;in conficy/pages/LookupEdit.htm, replace the functions AddLanguageField() and AddExternalKeyField by :&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;function AddLanguageField() {
   var LangSel = document.getElementById(&quot;LangFields&quot;)
   if (LangSel.style.display == &quot;none&quot;) {
                   LangSel.style.display = &quot;inline&quot;
                   return
   }
   var NewLanguageField = LangSel.options[LangSel.selectedIndex].value
   if (confirm(msgAddLanguageField + &quot;\n&quot; + NewLanguageField)) {
                   var URL = &quot;commitlookup?table=&amp;lt;%GetArgument('Table')%&amp;gt;&amp;amp;page=pages/DatabaseProgress.htm&quot; +
                          &quot;&amp;amp;finishbookmark=&amp;lt;%GetBookmark(ftext='')%&amp;gt;&amp;amp;action=addlanguagefield&amp;amp;field=&quot; + NewLanguageField;
                   location.href = URL;
   }
}
function AddExternalKeyField() {
   if (confirm(msgAddExternalKeyField)) {
                   var URL = &quot;commitlookup?table=&amp;lt;%GetArgument('Table')%&amp;gt;&amp;amp;page=pages/DatabaseProgress.htm&quot; +
                            &quot;&amp;amp;finishbookmark=&amp;lt;%GetBookmark(ftext='')%&amp;gt;&amp;amp;action=addexternalkeyfield&quot;;
                   location.href = URL;
   }
}
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;Geoffrey&lt;/p&gt;
</description>
<category>2014 - r6100 (+ r6099)</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=522/conficy-add-language-and-add-external-key-2014-versions-r6100</guid>
<pubDate>Fri, 17 Jul 2015 13:35:51 +0000</pubDate>
</item>
<item>
<title>R6100 - Import from Timesheet not working</title>
<link>https://overflow.efficy.io/?qa=520/r6100-import-from-timesheet-not-working</link>
<description>&lt;p&gt;Dear fellow Efficy Developers,&lt;/p&gt;

&lt;p&gt;The request Agenda: Self has been optimized in order to lower the response time when displaying the Agenda, but causes troubles when importing actions from the agenda (so not for tasks) in the Timesheet (it just doesn’t work anymore because one value is not gathered).&lt;/p&gt;

&lt;p&gt;So we need to modify in the table SYS&lt;em&gt;QUERIES the SQLTEXT value for the record K&lt;/em&gt;MASTER=35 and K_DETAIL=1, and put the following value :&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;[Select]
ACTIONS.K_ACTION
ACTIONS.DONE
ACTIONS.D_BEGIN
ACTIONS.D_END
ACTIONS.PLANNED hidden
ACTIONS.SUBJECT
ACTIONS.D_CHANGE
ACTIONS.MODE
ACTIONS.NATURE
ACTIONS.TRAVELBEFORE
ACTIONS.TRAVELAFTER
ACTIONS.TIMEZONE
ACTIONS.TIMEZONE [TZMODIFIED]
ACTIONS.LOCATION
ACTIONS.USERS
ACTIONS.ALLDAYEVENT
ACTIONS.P_D_BEGIN hidden
ACTIONS.P_D_END hidden
ACTI_PROJ.K_PROJECT
ACTI_PROJ.MAIN hidden

[From]
ACTIONS
ACTIONS ACTI_PROJ complete

[Where]
ACTIONS.P_D_END &amp;gt;= &quot;1/1/2000&quot;
ACTIONS.P_D_BEGIN &amp;lt; &quot;2/1/2000&quot;
&amp;lt;#USERLINK table=&quot;ACTIONS&quot; usertable=&quot;ACTI_USER&quot; key=&quot;K_ACTION&quot; isactiveparam=&quot;true&quot; actionstatus=&quot;true&quot;&amp;gt;
ACTIONS.PLANNED = 1 [fixed]
ACTI_PROJ.MAIN = 1 [fixed]

[Orderby]

[Columns]
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;Be aware that in the next release there will be changes in the import from the Timesheet, so the field ISCUSTOM=1 should be changed to ISCUSTOM=0 just before the next Database Upgrade.&lt;/p&gt;

&lt;p&gt;Geoffrey&lt;/p&gt;
</description>
<category>2014 - r6100 (+ r6099)</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=520/r6100-import-from-timesheet-not-working</guid>
<pubDate>Fri, 17 Jul 2015 13:05:43 +0000</pubDate>
</item>
<item>
<title>Bug on Relation Edit with IE 11 on R6099 and R6100</title>
<link>https://overflow.efficy.io/?qa=497/bug-on-relation-edit-with-ie-11-on-r6099-and-r6100</link>
<description>&lt;p&gt;Dear Efficy Developers/Partners,&lt;/p&gt;

&lt;p&gt;I post this on the Overflow to inform the Efficy Developers that on the build R6099 and R6100 there is a bug on IE that make impossible to edit a relation.&lt;/p&gt;

&lt;p&gt;Here is the fix :&lt;/p&gt;

&lt;p&gt;Add in custom.js :&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;/* FIX - TO BE DELETED ON A BUILD &amp;gt; R6100 */ 
function EditRelation(Page, Entity, Key, Detail, DetailKey) {
                var URL = &quot;edit?page=&quot; + Page + &quot;&amp;amp;action=RefreshOpener()&amp;amp;entity=&quot; + Entity + &quot;&amp;amp;key=&quot; + Key + &quot;&amp;amp;detail=&quot; + Detail + &quot;&amp;amp;detailkey=&quot; + DetailKey
                var Test = IsSearchWindow || Relocating;
                var Opener = (Test &amp;amp;&amp;amp; OpenerExists()) ? top.opener : window;
                var wnd = Opener.OpenNewWindow(Entity + Detail + &quot;Edit&quot;, URL, 600, 400, &quot;Edit&quot; + Entity + Key + Detail + DetailKey, true)
                if (Test)
                               CloseTopWindow()
}

/* END FIX*/
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;NB : this does NOT applies to ASP customers as this fix has been modified directly in the standard file (Efficy.js) on ASP.&lt;/p&gt;

&lt;p&gt;Geoffrey&lt;/p&gt;
</description>
<category>2014 - r6100 (+ r6099)</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=497/bug-on-relation-edit-with-ie-11-on-r6099-and-r6100</guid>
<pubDate>Tue, 07 Jul 2015 09:46:56 +0000</pubDate>
</item>
</channel>
</rss>