Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0030922Openbravo ERPB. User interfacepublic2015-09-24 13:072022-02-01 08:08
yogaskarnik 
Triage Platform Base 
normalmajoralways
acknowledgedopen 
5
 
 
Core
No
0030922: isc.Calendar.overlapSortSpecifiers property has no effect
According to SmartClient documentation [1], isc.Calendar.overlapSortSpecifiers should define the sorting of overlapped events within a Calendar.

This property though seems not to have any effect when used within Openbravo.

[1] http://www.smartclient.com/docs/release/a/b/c/go.html#attr..Calendar.overlapSortSpecifiers [^]
1. Register a View Implementation named OBTEST_Test
2. Include attached calendar-overlap.js as staticResource
3. Add this view to the menu
4. rebuild
5. Open the view, there are 2 calendars in that view (see how they are visualized in attached ob-calendar.png image)
     *1st one is expected to sort overlapped elements by their name ascending -> Looks fine
     *2nd one is expected to sort overlapped elements by their name descending -> Looks like 1st one (it should look like sc-examples.png image)

Correct visualization can be seen by pasting calendar-overlap.js in [1] and executing it


[1] http://www.smartclient.com/docs/10.0/a/system/reference/SmartClient_Explorer.html#eventOverlapping [^]

No tags attached.
? YO_Test.js (3,828) 2015-09-24 13:07
https://issues.openbravo.com/file_download.php?file_id=8481&type=bug
? calendar-overlap.js (2,530) 2015-09-28 15:51
https://issues.openbravo.com/file_download.php?file_id=8484&type=bug
png ob-calendar.png (37,644) 2015-09-28 15:54
https://issues.openbravo.com/file_download.php?file_id=8485&type=bug
png

png sc-examples.png (39,456) 2015-09-28 15:54
https://issues.openbravo.com/file_download.php?file_id=8486&type=bug
png
Issue History
2015-09-24 13:07yogaskarnikNew Issue
2015-09-24 13:07yogaskarnikAssigned To => platform
2015-09-24 13:07yogaskarnikFile Added: YO_Test.js
2015-09-24 13:07yogaskarnikModules => Core
2015-09-24 13:07yogaskarnikResolution time => 1443564000
2015-09-24 13:07yogaskarnikTriggers an Emergency Pack => No
2015-09-24 13:31yogaskarnikSummaryoverlapSortSpecifiers property does not work in smartclient implementation => Sorting of events in the Calendar view does not work as expected
2015-09-24 13:31yogaskarnikDescription Updatedbug_revision_view_page.php?rev_id=9476#r9476
2015-09-24 13:31yogaskarnikSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=9478#r9478
2015-09-24 15:10alostaleNote Added: 0080621
2015-09-24 15:10alostaleAssigned Toplatform => yogaskarnik
2015-09-24 15:10alostaleStatusnew => feedback
2015-09-25 08:13yogaskarnikAssigned Toyogaskarnik => alostale
2015-09-25 08:13yogaskarnikSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=9479#r9479
2015-09-25 08:13yogaskarnikStatusfeedback => new
2015-09-25 08:14yogaskarnikSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=9480#r9480
2015-09-28 15:49alostaleSummarySorting of events in the Calendar view does not work as expected => isc.Calendar.overlapSortSpecifiers property has no effect
2015-09-28 15:49alostaleDescription Updatedbug_revision_view_page.php?rev_id=9495#r9495
2015-09-28 15:51alostaleFile Added: calendar-overlap.js
2015-09-28 15:54alostaleFile Added: ob-calendar.png
2015-09-28 15:54alostaleFile Added: sc-examples.png
2015-09-28 16:00alostaleSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=9496#r9496
2015-09-28 16:00alostaleSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=9497#r9497
2015-09-28 17:28alostaleNote Added: 0080672
2015-09-29 12:28alostaleResolution time1443564000 =>
2015-09-29 12:28alostaleNote Added: 0080695
2015-09-29 12:28alostaleStatusnew => acknowledged
2015-09-29 12:28alostaleTypedefect => design defect
2017-04-10 14:35alostaleAssigned Toalostale => platform
2022-02-01 08:08alostaleAssigned Toplatform => Triage Platform Base

Notes
(0080621)
alostale   
2015-09-24 15:10   
Please provide clearer steps to reproduce.

1.Login to Client
2.Click on the Menu created
3.Observe that the events defined remains the same and does not change the sort order.

What does step 3 mean? I'm dragging and dropping the events and they remain in the position they were moved to.
(0080672)
alostale   
2015-09-28 17:28   
This problem is due the implementation of Calendar in the version Openbravo uses (v10.0d_2014-02-13) which is fixed in current one (v10.0p_2015-09-26)
(0080695)
alostale   
2015-09-29 12:28   
Moved to design defect due the estimated effort to fix it: being a feature implemented in a newer SmartClient version it will require to find the patch in SC sources, apply it in current version's one and generate a ISC_Combined.js including it.