<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
<channel>
<title>Efficy Overflow Q&amp;A - Recent questions and answers in Major bug fixes</title>
<link>https://overflow.efficy.io/?qa=qa/developers/bug-fixes/major-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: 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: 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>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>