From bugzilla-daemon at bugzilla.maptools.org Wed Mar 1 05:22:30 2006 From: bugzilla-daemon at bugzilla.maptools.org (bugzilla-daemon@bugzilla.maptools.org) Date: Wed Mar 1 05:22:33 2006 Subject: [Cartoweb-dev] [Bug 1311] New: broken toolbar in the case only one tool is activated Message-ID: <200603011022.k21AMUht023771@duke.maptools.org> http://bugzilla.maptools.org/show_bug.cgi?id=1311 Summary: broken toolbar in the case only one tool is activated Product: CartoWeb Version: unspecified Platform: PC OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: DHTML Interface AssignedTo: cartoweb-dev@lists.maptools.org ReportedBy: pierre.giraud@camptocamp.com --- Reported by Emmanuel Belo : In the case you have only one tool activated, the array with the tool has a comma at the end and isn't closed by a parenthesis. I think we should modify the template like this: {if $toolbar_rendering != 'radio'} {/if} {counter start=-1 print=false name=tindex} {foreach from=$tools item=tool} {if !$group || $group == $tool->group} {if $toolbar_rendering == 'radio'}   {/if} {/if} {/foreach} --- But, it should probably be better to have a new parameter toolsList fetched in the php code with an implode function that would give the comma separated list. Moreover, the smarty template would be lighter. ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. Please do NOT reply to this email, use the link above instead to login to bugzilla and submit your comment. Any email reply to this address will be lost. From bugzilla-daemon at bugzilla.maptools.org Thu Mar 2 03:20:14 2006 From: bugzilla-daemon at bugzilla.maptools.org (bugzilla-daemon@bugzilla.maptools.org) Date: Thu Mar 2 03:20:17 2006 Subject: [Cartoweb-dev] [Bug 1316] New: outline point fallback broken Message-ID: <200603020820.k228KEvG011170@duke.maptools.org> http://bugzilla.maptools.org/show_bug.cgi?id=1316 Summary: outline point fallback broken Product: CartoWeb Version: unspecified Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2 Component: Plugins AssignedTo: cartoweb-dev@lists.maptools.org ReportedBy: oliver.christen@camptocamp.com If there is no layer specified for outline_point, there is a mecanism of fallback that will use the outline_polygone layer name instead. But this seems to be broken, the generated msMapObj seems to be invalid from mapserver point of view. See attached file, which contain dump of msMapObj. First case is the fallback case, second case is the normal case. There seems to be some missing parts in case of fallback, something to do with mapoverlay? I havent investigated the flow in that plugin yet. ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. Please do NOT reply to this email, use the link above instead to login to bugzilla and submit your comment. Any email reply to this address will be lost. From bugzilla-daemon at bugzilla.maptools.org Thu Mar 2 03:21:42 2006 From: bugzilla-daemon at bugzilla.maptools.org (bugzilla-daemon@bugzilla.maptools.org) Date: Thu Mar 2 03:21:45 2006 Subject: [Cartoweb-dev] [Bug 1316] outline point fallback broken Message-ID: <200603020821.k228LgTY011196@duke.maptools.org> http://bugzilla.maptools.org/show_bug.cgi?id=1316 ------- Additional Comments From oliver.christen@camptocamp.com 2006-03-02 03:21 ------- Created an attachment (id=107) --> (http://bugzilla.maptools.org/attachment.cgi?id=107&action=view) msMapObj dump of the outline layer in case of fallback and normal case ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. Please do NOT reply to this email, use the link above instead to login to bugzilla and submit your comment. Any email reply to this address will be lost. From bugzilla-daemon at bugzilla.maptools.org Thu Mar 2 03:25:43 2006 From: bugzilla-daemon at bugzilla.maptools.org (bugzilla-daemon@bugzilla.maptools.org) Date: Thu Mar 2 03:25:45 2006 Subject: [Cartoweb-dev] [Bug 1316] outline point fallback broken Message-ID: <200603020825.k228PhE1011260@duke.maptools.org> http://bugzilla.maptools.org/show_bug.cgi?id=1316 ------- Additional Comments From oliver.christen@camptocamp.com 2006-03-02 03:25 ------- Created an attachment (id=108) --> (http://bugzilla.maptools.org/attachment.cgi?id=108&action=view) error reported in case of fallback ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. Please do NOT reply to this email, use the link above instead to login to bugzilla and submit your comment. Any email reply to this address will be lost. From bugzilla-daemon at bugzilla.maptools.org Thu Mar 2 09:03:48 2006 From: bugzilla-daemon at bugzilla.maptools.org (bugzilla-daemon@bugzilla.maptools.org) Date: Thu Mar 2 09:03:50 2006 Subject: [Cartoweb-dev] [Bug 1318] New: Caching issue: under heavy load, a cache entry may be computed several times Message-ID: <200603021403.k22E3l0j023836@duke.maptools.org> http://bugzilla.maptools.org/show_bug.cgi?id=1318 Summary: Caching issue: under heavy load, a cache entry may be computed several times Product: CartoWeb Version: unspecified Platform: PC OS/Version: Linux Status: NEW Severity: enhancement Priority: P2 Component: Core AssignedTo: cartoweb-dev@lists.maptools.org ReportedBy: sylvain.pasche@camptocamp.com What happens actually is the following: 1 Client makes request 2 Server sees it needs to cache request 3 Mapserver is called to generate the map 4 The map is put in the cache. There is a small window during which a request may be put twice in the cache: with client A and B: A 1 make request A 2 Server sees it needs to cache request B 1 Client makes request B 2 Server sees it needs to cache request A 3 Mapserver is called to generate the map A 4 The map is put in the cache. B 3 Mapserver is called to generate the map B 4 The map is put in the cache. A 4 The map is put in the cache. B 4 The map is put in the cache. This is not a problem, because the cache writing operation is atomic. However, the enhancement would be to block client B which A is caching the result, so that it can reply with a cached result instead of computing it again. ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. Please do NOT reply to this email, use the link above instead to login to bugzilla and submit your comment. Any email reply to this address will be lost. From bugzilla-daemon at bugzilla.maptools.org Thu Mar 2 09:06:45 2006 From: bugzilla-daemon at bugzilla.maptools.org (bugzilla-daemon@bugzilla.maptools.org) Date: Thu Mar 2 09:06:49 2006 Subject: [Cartoweb-dev] [Bug 1318] Caching issue: under heavy load, a cache entry may be computed several times Message-ID: <200603021406.k22E6jO6024152@duke.maptools.org> http://bugzilla.maptools.org/show_bug.cgi?id=1318 ------- Additional Comments From sylvain.pasche@camptocamp.com 2006-03-02 09:06 ------- Small mistake, it should rather be: A 1 make request A 2 Server sees it needs to cache request B 1 Client makes request B 2 Server sees it needs to cache request A 3 Mapserver is called to generate the map B 3 Mapserver is called to generate the map A 4 The map is put in the cache. B 4 The map is put in the cache. ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. Please do NOT reply to this email, use the link above instead to login to bugzilla and submit your comment. Any email reply to this address will be lost. From bugzilla-daemon at bugzilla.maptools.org Mon Mar 6 05:05:20 2006 From: bugzilla-daemon at bugzilla.maptools.org (bugzilla-daemon@bugzilla.maptools.org) Date: Mon Mar 6 05:05:24 2006 Subject: [Cartoweb-dev] [Bug 1321] New: persistant queries and layers display Message-ID: <200603061005.k26A5KtH022173@duke.maptools.org> http://bugzilla.maptools.org/show_bug.cgi?id=1321 Summary: persistant queries and layers display Product: CartoWeb Version: unspecified Platform: PC OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: Core AssignedTo: cartoweb-dev@lists.maptools.org ReportedBy: pierre.giraud@camptocamp.com When querying a layer using persistant queries, and turning off the considered layer in the legend tree, it is still visible on refresh. ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. Please do NOT reply to this email, use the link above instead to login to bugzilla and submit your comment. Any email reply to this address will be lost. From bugzilla-daemon at bugzilla.maptools.org Mon Mar 6 05:29:37 2006 From: bugzilla-daemon at bugzilla.maptools.org (bugzilla-daemon@bugzilla.maptools.org) Date: Mon Mar 6 05:29:39 2006 Subject: [Cartoweb-dev] [Bug 1321] persistant queries and layers display Message-ID: <200603061029.k26ATbVM023990@duke.maptools.org> http://bugzilla.maptools.org/show_bug.cgi?id=1321 ------- Additional Comments From sylvain.pasche@camptocamp.com 2006-03-06 05:29 ------- Actually, once the persisted query is stored in the query plugin, it does not look at the current layer selection to check if it should be removed or not. An additional check against the current layer selection would have to be made to see if the persitent query has to be invalided. Care should be taken when dealing with search for instance. In this case, we want the query to be shown (result of the search in hilight), but the layer corresponding to the searched object might not be selected. ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. Please do NOT reply to this email, use the link above instead to login to bugzilla and submit your comment. Any email reply to this address will be lost. From bugzilla-daemon at bugzilla.maptools.org Tue Mar 7 04:37:19 2006 From: bugzilla-daemon at bugzilla.maptools.org (bugzilla-daemon@bugzilla.maptools.org) Date: Tue Mar 7 04:37:21 2006 Subject: [Cartoweb-dev] [Bug 1325] New: Edit plugin crashes when using children switching and/or layers security filters Message-ID: <200603070937.k279bJG7020198@duke.maptools.org> http://bugzilla.maptools.org/show_bug.cgi?id=1325 Summary: Edit plugin crashes when using children switching and/or layers security filters Product: CartoWeb Version: unspecified Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2 Component: Plugins AssignedTo: cartoweb-dev@lists.maptools.org ReportedBy: yves.bolognini@camptocamp.com To fill its list of editable layers, plugin Edit uses MapInfo's layers list. It crashes when some editable layers are not available due to children switching or layers security filters (i.e. Auth plugin). ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. Please do NOT reply to this email, use the link above instead to login to bugzilla and submit your comment. Any email reply to this address will be lost. From bugzilla-daemon at bugzilla.maptools.org Thu Mar 9 10:36:29 2006 From: bugzilla-daemon at bugzilla.maptools.org (bugzilla-daemon@bugzilla.maptools.org) Date: Thu Mar 9 10:36:31 2006 Subject: [Cartoweb-dev] [Bug 1336] New: AJAX Integration Message-ID: <200603091536.k29FaTTi027131@duke.maptools.org> http://bugzilla.maptools.org/show_bug.cgi?id=1336 Summary: AJAX Integration Product: CartoWeb Version: unspecified Platform: All OS/Version: All Status: NEW Severity: enhancement Priority: P2 Component: Core AssignedTo: cartoweb-dev@lists.maptools.org ReportedBy: damien.corpataux@camptocamp.com This bug is used to track AJAX integration patch. It is also used to keep a dependency on AJAX bugs introduced. ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. Please do NOT reply to this email, use the link above instead to login to bugzilla and submit your comment. Any email reply to this address will be lost. From bugzilla-daemon at bugzilla.maptools.org Thu Mar 9 10:37:56 2006 From: bugzilla-daemon at bugzilla.maptools.org (bugzilla-daemon@bugzilla.maptools.org) Date: Thu Mar 9 10:37:58 2006 Subject: [Cartoweb-dev] [Bug 1336] AJAX Integration Message-ID: <200603091537.k29FbuNK027158@duke.maptools.org> http://bugzilla.maptools.org/show_bug.cgi?id=1336 ------- Additional Comments From damien.corpataux@camptocamp.com 2006-03-09 10:37 ------- Created an attachment (id=115) --> (http://bugzilla.maptools.org/attachment.cgi?id=115&action=view) Ajax full patch, 2006-03-09 15:46 Patch the cvs trunk with this patch to enable AJAX ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. Please do NOT reply to this email, use the link above instead to login to bugzilla and submit your comment. Any email reply to this address will be lost. From bugzilla-daemon at bugzilla.maptools.org Fri Mar 10 06:29:30 2006 From: bugzilla-daemon at bugzilla.maptools.org (bugzilla-daemon@bugzilla.maptools.org) Date: Fri Mar 10 06:29:32 2006 Subject: [Cartoweb-dev] [Bug 1339] New: Layers: clicking on an "out of scale" icon doesn't act as expected Message-ID: <200603101129.k2ABTUAW015219@duke.maptools.org> http://bugzilla.maptools.org/show_bug.cgi?id=1339 Summary: Layers: clicking on an "out of scale" icon doesn't act as expected Product: CartoWeb Version: unspecified Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2 Component: Plugins AssignedTo: cartoweb-dev@lists.maptools.org ReportedBy: damien.corpataux@camptocamp.com Clicking on an "out of scale" icon in the layer tree does adjust the scale to make the specified layer visible, does show the layer on the map, but *does NOT* hide the "out of scale" icon. ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. Please do NOT reply to this email, use the link above instead to login to bugzilla and submit your comment. Any email reply to this address will be lost. From bugzilla-daemon at bugzilla.maptools.org Fri Mar 10 06:36:33 2006 From: bugzilla-daemon at bugzilla.maptools.org (bugzilla-daemon@bugzilla.maptools.org) Date: Fri Mar 10 06:36:36 2006 Subject: [Cartoweb-dev] [Bug 1339] Layers: clicking on an "out of scale" icon doesn't act as expected Message-ID: <200603101136.k2ABaXqA015312@duke.maptools.org> http://bugzilla.maptools.org/show_bug.cgi?id=1339 ------- Additional Comments From alexandre.saunier@camptocamp.com 2006-03-10 06:36 ------- This bug does not occur with CartoWeb 3.2.0, only in recent CVS versions. ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. Please do NOT reply to this email, use the link above instead to login to bugzilla and submit your comment. Any email reply to this address will be lost. From bugzilla-daemon at bugzilla.maptools.org Fri Mar 10 06:38:04 2006 From: bugzilla-daemon at bugzilla.maptools.org (bugzilla-daemon@bugzilla.maptools.org) Date: Fri Mar 10 06:38:07 2006 Subject: [Cartoweb-dev] [Bug 1224] extended coreplugin and ajax incompatibility Message-ID: <200603101138.k2ABc4oL015350@duke.maptools.org> http://bugzilla.maptools.org/show_bug.cgi?id=1224 damien.corpataux@camptocamp.com changed: What |Removed |Added ---------------------------------------------------------------------------- OtherBugsDependingO| |1336 nThis| | Platform|PC |All ------- Additional Comments From damien.corpataux@camptocamp.com 2006-03-10 06:38 ------- In AJAX mode, the Pluginmanager::replacePlugin() has no effect: the cartoclient calls the plugin itself instead of the extended plugin. ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. Please do NOT reply to this email, use the link above instead to login to bugzilla and submit your comment. Any email reply to this address will be lost. From bugzilla-daemon at bugzilla.maptools.org Fri Mar 10 06:38:09 2006 From: bugzilla-daemon at bugzilla.maptools.org (bugzilla-daemon@bugzilla.maptools.org) Date: Fri Mar 10 06:38:11 2006 Subject: [Cartoweb-dev] [Bug 1336] AJAX Integration Message-ID: <200603101138.k2ABc9YO015369@duke.maptools.org> http://bugzilla.maptools.org/show_bug.cgi?id=1336 damien.corpataux@camptocamp.com changed: What |Removed |Added ---------------------------------------------------------------------------- BugsThisDependsOn| |1224 ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. Please do NOT reply to this email, use the link above instead to login to bugzilla and submit your comment. Any email reply to this address will be lost. From bugzilla-daemon at bugzilla.maptools.org Fri Mar 10 06:47:39 2006 From: bugzilla-daemon at bugzilla.maptools.org (bugzilla-daemon@bugzilla.maptools.org) Date: Fri Mar 10 06:47:41 2006 Subject: [Cartoweb-dev] [Bug 1340] New: Layers: In AJAX mode, clicking on an out-of-scale icon in the layertree should also display the corresponding layer. Message-ID: <200603101147.k2ABldsB015495@duke.maptools.org> http://bugzilla.maptools.org/show_bug.cgi?id=1340 Summary: Layers: In AJAX mode, clicking on an out-of-scale icon in the layertree should also display the corresponding layer. Product: CartoWeb Version: unspecified Platform: All OS/Version: All Status: NEW Severity: enhancement Priority: P2 Component: Plugins AssignedTo: cartoweb-dev@lists.maptools.org ReportedBy: damien.corpataux@camptocamp.com In AJAX mode, clicking on an out-of-scale icon in the layertree should display the corresponding layer (i.e. check the corresponding ckeckbox) - in addition to setting the appropriate scale. The purpose of this enhancement is to reduce the nuber of clicks needed to show a out-of-scale layer, and therefore reducing the server load. ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. Please do NOT reply to this email, use the link above instead to login to bugzilla and submit your comment. Any email reply to this address will be lost. From bugzilla-daemon at bugzilla.maptools.org Fri Mar 10 06:48:53 2006 From: bugzilla-daemon at bugzilla.maptools.org (bugzilla-daemon@bugzilla.maptools.org) Date: Fri Mar 10 06:48:55 2006 Subject: [Cartoweb-dev] [Bug 1340] Layers: In AJAX mode, clicking on an out-of-scale icon in the layertree should also display the corresponding layer. Message-ID: <200603101148.k2ABmrxj015525@duke.maptools.org> http://bugzilla.maptools.org/show_bug.cgi?id=1340 damien.corpataux@camptocamp.com changed: What |Removed |Added ---------------------------------------------------------------------------- OtherBugsDependingO| |1336 nThis| | ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. Please do NOT reply to this email, use the link above instead to login to bugzilla and submit your comment. Any email reply to this address will be lost. From bugzilla-daemon at bugzilla.maptools.org Fri Mar 10 06:48:58 2006 From: bugzilla-daemon at bugzilla.maptools.org (bugzilla-daemon@bugzilla.maptools.org) Date: Fri Mar 10 06:49:00 2006 Subject: [Cartoweb-dev] [Bug 1336] AJAX Integration Message-ID: <200603101148.k2ABmwvp015540@duke.maptools.org> http://bugzilla.maptools.org/show_bug.cgi?id=1336 damien.corpataux@camptocamp.com changed: What |Removed |Added ---------------------------------------------------------------------------- BugsThisDependsOn| |1340 ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. Please do NOT reply to this email, use the link above instead to login to bugzilla and submit your comment. Any email reply to this address will be lost. From bugzilla-daemon at bugzilla.maptools.org Fri Mar 10 06:53:42 2006 From: bugzilla-daemon at bugzilla.maptools.org (bugzilla-daemon@bugzilla.maptools.org) Date: Fri Mar 10 06:53:45 2006 Subject: [Cartoweb-dev] [Bug 1341] New: In AJAX mode, submitting a sqare outline causes problems Message-ID: <200603101153.k2ABrgZB015603@duke.maptools.org> http://bugzilla.maptools.org/show_bug.cgi?id=1341 Summary: In AJAX mode, submitting a sqare outline causes problems Product: CartoWeb Version: unspecified Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2 Component: DHTML Interface AssignedTo: cartoweb-dev@lists.maptools.org ReportedBy: damien.corpataux@camptocamp.com In AJAX mode, submitting a sqare outline causes problems: (1) pan crashes and (2) recangle outlines are not drawn anymore. The problem disappears on page reload because of dhtml reinitialisation. ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. Please do NOT reply to this email, use the link above instead to login to bugzilla and submit your comment. Any email reply to this address will be lost. From bugzilla-daemon at bugzilla.maptools.org Fri Mar 10 06:54:00 2006 From: bugzilla-daemon at bugzilla.maptools.org (bugzilla-daemon@bugzilla.maptools.org) Date: Fri Mar 10 06:54:04 2006 Subject: [Cartoweb-dev] [Bug 1341] In AJAX mode, submitting a sqare outline causes problems Message-ID: <200603101154.k2ABs0SI015623@duke.maptools.org> http://bugzilla.maptools.org/show_bug.cgi?id=1341 damien.corpataux@camptocamp.com changed: What |Removed |Added ---------------------------------------------------------------------------- OtherBugsDependingO| |1336 nThis| | ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. Please do NOT reply to this email, use the link above instead to login to bugzilla and submit your comment. Any email reply to this address will be lost. From bugzilla-daemon at bugzilla.maptools.org Fri Mar 10 06:54:06 2006 From: bugzilla-daemon at bugzilla.maptools.org (bugzilla-daemon@bugzilla.maptools.org) Date: Fri Mar 10 06:54:07 2006 Subject: [Cartoweb-dev] [Bug 1336] AJAX Integration Message-ID: <200603101154.k2ABs6hM015640@duke.maptools.org> http://bugzilla.maptools.org/show_bug.cgi?id=1336 damien.corpataux@camptocamp.com changed: What |Removed |Added ---------------------------------------------------------------------------- BugsThisDependsOn| |1341 ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. Please do NOT reply to this email, use the link above instead to login to bugzilla and submit your comment. Any email reply to this address will be lost. From bugzilla-daemon at bugzilla.maptools.org Fri Mar 10 08:00:20 2006 From: bugzilla-daemon at bugzilla.maptools.org (bugzilla-daemon@bugzilla.maptools.org) Date: Fri Mar 10 08:00:23 2006 Subject: [Cartoweb-dev] [Bug 1342] New: Pure AJAX messages to be internationalized Message-ID: <200603101300.k2AD0KAk018013@duke.maptools.org> http://bugzilla.maptools.org/show_bug.cgi?id=1342 Summary: Pure AJAX messages to be internationalized Product: CartoWeb Version: unspecified Platform: All OS/Version: All Status: NEW Severity: enhancement Priority: P2 Component: Core AssignedTo: cartoweb-dev@lists.maptools.org ReportedBy: damien.corpataux@camptocamp.com Pure AJAX messages to be internationalized (i.e. on Cartoclient errors [aka. XML errors]) ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. Please do NOT reply to this email, use the link above instead to login to bugzilla and submit your comment. Any email reply to this address will be lost. From bugzilla-daemon at bugzilla.maptools.org Fri Mar 10 08:00:35 2006 From: bugzilla-daemon at bugzilla.maptools.org (bugzilla-daemon@bugzilla.maptools.org) Date: Fri Mar 10 08:00:37 2006 Subject: [Cartoweb-dev] [Bug 1342] Pure AJAX messages to be internationalized Message-ID: <200603101300.k2AD0Z3K018031@duke.maptools.org> http://bugzilla.maptools.org/show_bug.cgi?id=1342 damien.corpataux@camptocamp.com changed: What |Removed |Added ---------------------------------------------------------------------------- OtherBugsDependingO| |1336 nThis| | ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. Please do NOT reply to this email, use the link above instead to login to bugzilla and submit your comment. Any email reply to this address will be lost. From bugzilla-daemon at bugzilla.maptools.org Fri Mar 10 08:00:40 2006 From: bugzilla-daemon at bugzilla.maptools.org (bugzilla-daemon@bugzilla.maptools.org) Date: Fri Mar 10 08:00:42 2006 Subject: [Cartoweb-dev] [Bug 1336] AJAX Integration Message-ID: <200603101300.k2AD0eoB018046@duke.maptools.org> http://bugzilla.maptools.org/show_bug.cgi?id=1336 damien.corpataux@camptocamp.com changed: What |Removed |Added ---------------------------------------------------------------------------- BugsThisDependsOn| |1342 ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. Please do NOT reply to this email, use the link above instead to login to bugzilla and submit your comment. Any email reply to this address will be lost. From bugzilla-daemon at bugzilla.maptools.org Fri Mar 10 08:19:52 2006 From: bugzilla-daemon at bugzilla.maptools.org (bugzilla-daemon@bugzilla.maptools.org) Date: Fri Mar 10 08:19:55 2006 Subject: [Cartoweb-dev] [Bug 1336] AJAX Integration Message-ID: <200603101319.k2ADJqXZ019620@duke.maptools.org> http://bugzilla.maptools.org/show_bug.cgi?id=1336 damien.corpataux@camptocamp.com changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #115 is|0 |1 obsolete| | ------- Additional Comments From damien.corpataux@camptocamp.com 2006-03-10 08:19 ------- Created an attachment (id=116) --> (http://bugzilla.maptools.org/attachment.cgi?id=116&action=view) Patch the HEAD to enable AJAX ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. Please do NOT reply to this email, use the link above instead to login to bugzilla and submit your comment. Any email reply to this address will be lost. From bugzilla-daemon at bugzilla.maptools.org Fri Mar 10 08:39:24 2006 From: bugzilla-daemon at bugzilla.maptools.org (bugzilla-daemon@bugzilla.maptools.org) Date: Fri Mar 10 08:39:26 2006 Subject: [Cartoweb-dev] [Bug 1336] AJAX Integration Message-ID: <200603101339.k2ADdOEl020467@duke.maptools.org> http://bugzilla.maptools.org/show_bug.cgi?id=1336 damien.corpataux@camptocamp.com changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #116|Patch the HEAD to enable |Ajax full patch, 2006-03-10 description|AJAX |14:00 ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. Please do NOT reply to this email, use the link above instead to login to bugzilla and submit your comment. Any email reply to this address will be lost. From bugzilla-daemon at bugzilla.maptools.org Fri Mar 10 11:09:51 2006 From: bugzilla-daemon at bugzilla.maptools.org (bugzilla-daemon@bugzilla.maptools.org) Date: Fri Mar 10 11:09:54 2006 Subject: [Cartoweb-dev] [Bug 1344] New: Store in accounting if the request is made with Ajax Message-ID: <200603101609.k2AG9pam027444@duke.maptools.org> http://bugzilla.maptools.org/show_bug.cgi?id=1344 Summary: Store in accounting if the request is made with Ajax Product: CartoWeb Version: unspecified Platform: PC OS/Version: All Status: NEW Severity: enhancement Priority: P3 Component: Core AssignedTo: cartoweb-dev@lists.maptools.org ReportedBy: sylvain.pasche@camptocamp.com Use a parameter like general.ajaxMode, and update general.version accordingly. ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. Please do NOT reply to this email, use the link above instead to login to bugzilla and submit your comment. Any email reply to this address will be lost. From bugzilla-daemon at bugzilla.maptools.org Fri Mar 10 11:10:28 2006 From: bugzilla-daemon at bugzilla.maptools.org (bugzilla-daemon@bugzilla.maptools.org) Date: Fri Mar 10 11:10:32 2006 Subject: [Cartoweb-dev] [Bug 1344] Store in accounting if the request is made with Ajax Message-ID: <200603101610.k2AGASl1027587@duke.maptools.org> http://bugzilla.maptools.org/show_bug.cgi?id=1344 sylvain.pasche@camptocamp.com changed: What |Removed |Added ---------------------------------------------------------------------------- OtherBugsDependingO| |1336 nThis| | ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. Please do NOT reply to this email, use the link above instead to login to bugzilla and submit your comment. Any email reply to this address will be lost. From bugzilla-daemon at bugzilla.maptools.org Fri Mar 10 11:10:36 2006 From: bugzilla-daemon at bugzilla.maptools.org (bugzilla-daemon@bugzilla.maptools.org) Date: Fri Mar 10 11:10:39 2006 Subject: [Cartoweb-dev] [Bug 1336] AJAX Integration Message-ID: <200603101610.k2AGAaSI027623@duke.maptools.org> http://bugzilla.maptools.org/show_bug.cgi?id=1336 sylvain.pasche@camptocamp.com changed: What |Removed |Added ---------------------------------------------------------------------------- BugsThisDependsOn| |1344 ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. Please do NOT reply to this email, use the link above instead to login to bugzilla and submit your comment. Any email reply to this address will be lost. From bugzilla-daemon at bugzilla.maptools.org Fri Mar 10 11:21:34 2006 From: bugzilla-daemon at bugzilla.maptools.org (bugzilla-daemon@bugzilla.maptools.org) Date: Fri Mar 10 11:21:36 2006 Subject: [Cartoweb-dev] [Bug 1345] New: Factor FormRenderer::getUserMessages() and FormRenderer::getDeveloperMessages() Message-ID: <200603101621.k2AGLYv6028908@duke.maptools.org> http://bugzilla.maptools.org/show_bug.cgi?id=1345 Summary: Factor FormRenderer::getUserMessages() and FormRenderer::getDeveloperMessages() Product: CartoWeb Version: unspecified Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2 Component: Core AssignedTo: cartoweb-dev@lists.maptools.org ReportedBy: damien.corpataux@camptocamp.com ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. Please do NOT reply to this email, use the link above instead to login to bugzilla and submit your comment. Any email reply to this address will be lost. From bugzilla-daemon at bugzilla.maptools.org Fri Mar 10 11:37:21 2006 From: bugzilla-daemon at bugzilla.maptools.org (bugzilla-daemon@bugzilla.maptools.org) Date: Fri Mar 10 11:37:24 2006 Subject: [Cartoweb-dev] [Bug 1346] New: Implement automatic plugin JS script inclusion Message-ID: <200603101637.k2AGbLti029099@duke.maptools.org> http://bugzilla.maptools.org/show_bug.cgi?id=1346 Summary: Implement automatic plugin JS script inclusion Product: CartoWeb Version: unspecified Platform: All OS/Version: All Status: NEW Severity: enhancement Priority: P2 Component: Core AssignedTo: cartoweb-dev@lists.maptools.org ReportedBy: damien.corpataux@camptocamp.com Implement a mecanism that automatically includes JS files for loaded plugins that are Ajaxable. ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. Please do NOT reply to this email, use the link above instead to login to bugzilla and submit your comment. Any email reply to this address will be lost. From bugzilla-daemon at bugzilla.maptools.org Fri Mar 10 11:37:34 2006 From: bugzilla-daemon at bugzilla.maptools.org (bugzilla-daemon@bugzilla.maptools.org) Date: Fri Mar 10 11:37:38 2006 Subject: [Cartoweb-dev] [Bug 1346] Implement automatic plugin JS script inclusion Message-ID: <200603101637.k2AGbYjN029116@duke.maptools.org> http://bugzilla.maptools.org/show_bug.cgi?id=1346 damien.corpataux@camptocamp.com changed: What |Removed |Added ---------------------------------------------------------------------------- OtherBugsDependingO| |1336 nThis| | ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. Please do NOT reply to this email, use the link above instead to login to bugzilla and submit your comment. Any email reply to this address will be lost. From bugzilla-daemon at bugzilla.maptools.org Fri Mar 10 11:37:38 2006 From: bugzilla-daemon at bugzilla.maptools.org (bugzilla-daemon@bugzilla.maptools.org) Date: Fri Mar 10 11:37:41 2006 Subject: [Cartoweb-dev] [Bug 1336] AJAX Integration Message-ID: <200603101637.k2AGbcx6029122@duke.maptools.org> http://bugzilla.maptools.org/show_bug.cgi?id=1336 damien.corpataux@camptocamp.com changed: What |Removed |Added ---------------------------------------------------------------------------- BugsThisDependsOn| |1346 ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. Please do NOT reply to this email, use the link above instead to login to bugzilla and submit your comment. Any email reply to this address will be lost. From bugzilla-daemon at bugzilla.maptools.org Fri Mar 10 11:38:26 2006 From: bugzilla-daemon at bugzilla.maptools.org (bugzilla-daemon@bugzilla.maptools.org) Date: Fri Mar 10 11:38:29 2006 Subject: [Cartoweb-dev] [Bug 1345] Factor FormRenderer::getUserMessages() and FormRenderer::getDeveloperMessages() Message-ID: <200603101638.k2AGcQQ3029161@duke.maptools.org> http://bugzilla.maptools.org/show_bug.cgi?id=1345 damien.corpataux@camptocamp.com changed: What |Removed |Added ---------------------------------------------------------------------------- OtherBugsDependingO| |1336 nThis| | Severity|normal |enhancement ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. Please do NOT reply to this email, use the link above instead to login to bugzilla and submit your comment. Any email reply to this address will be lost. From bugzilla-daemon at bugzilla.maptools.org Fri Mar 10 11:38:31 2006 From: bugzilla-daemon at bugzilla.maptools.org (bugzilla-daemon@bugzilla.maptools.org) Date: Fri Mar 10 11:38:34 2006 Subject: [Cartoweb-dev] [Bug 1336] AJAX Integration Message-ID: <200603101638.k2AGcVDI029176@duke.maptools.org> http://bugzilla.maptools.org/show_bug.cgi?id=1336 damien.corpataux@camptocamp.com changed: What |Removed |Added ---------------------------------------------------------------------------- BugsThisDependsOn| |1345 ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. Please do NOT reply to this email, use the link above instead to login to bugzilla and submit your comment. Any email reply to this address will be lost. From bugzilla-daemon at bugzilla.maptools.org Fri Mar 10 12:09:46 2006 From: bugzilla-daemon at bugzilla.maptools.org (bugzilla-daemon@bugzilla.maptools.org) Date: Fri Mar 10 12:09:50 2006 Subject: [Cartoweb-dev] [Bug 1347] New: AJAX: Issues with queries other than query_by_bbox Message-ID: <200603101709.k2AH9kTB030459@duke.maptools.org> http://bugzilla.maptools.org/show_bug.cgi?id=1347 Summary: AJAX: Issues with queries other than query_by_bbox Product: CartoWeb Version: unspecified Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2 Component: DHTML Interface AssignedTo: cartoweb-dev@lists.maptools.org ReportedBy: damien.corpataux@camptocamp.com The ajaxActionRequest sent is not the right one. ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. Please do NOT reply to this email, use the link above instead to login to bugzilla and submit your comment. Any email reply to this address will be lost. From bugzilla-daemon at bugzilla.maptools.org Fri Mar 10 12:10:08 2006 From: bugzilla-daemon at bugzilla.maptools.org (bugzilla-daemon@bugzilla.maptools.org) Date: Fri Mar 10 12:10:12 2006 Subject: [Cartoweb-dev] [Bug 1347] AJAX: Issues with queries other than query_by_bbox Message-ID: <200603101710.k2AHA7i1030533@duke.maptools.org> http://bugzilla.maptools.org/show_bug.cgi?id=1347 damien.corpataux@camptocamp.com changed: What |Removed |Added ---------------------------------------------------------------------------- OtherBugsDependingO| |1336 nThis| | ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. Please do NOT reply to this email, use the link above instead to login to bugzilla and submit your comment. Any email reply to this address will be lost. From bugzilla-daemon at bugzilla.maptools.org Fri Mar 10 12:10:17 2006 From: bugzilla-daemon at bugzilla.maptools.org (bugzilla-daemon@bugzilla.maptools.org) Date: Fri Mar 10 12:10:21 2006 Subject: [Cartoweb-dev] [Bug 1336] AJAX Integration Message-ID: <200603101710.k2AHAHv6030561@duke.maptools.org> http://bugzilla.maptools.org/show_bug.cgi?id=1336 damien.corpataux@camptocamp.com changed: What |Removed |Added ---------------------------------------------------------------------------- BugsThisDependsOn| |1347 ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. Please do NOT reply to this email, use the link above instead to login to bugzilla and submit your comment. Any email reply to this address will be lost. From bugzilla-daemon at bugzilla.maptools.org Fri Mar 10 12:25:46 2006 From: bugzilla-daemon at bugzilla.maptools.org (bugzilla-daemon@bugzilla.maptools.org) Date: Fri Mar 10 12:25:48 2006 Subject: [Cartoweb-dev] [Bug 1347] AJAX: Issues with queries other than query_by_bbox Message-ID: <200603101725.k2AHPkgW031919@duke.maptools.org> http://bugzilla.maptools.org/show_bug.cgi?id=1347 damien.corpataux@camptocamp.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED ------- Additional Comments From damien.corpataux@camptocamp.com 2006-03-10 12:25 ------- OK, works! ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. Please do NOT reply to this email, use the link above instead to login to bugzilla and submit your comment. Any email reply to this address will be lost. From bugzilla-daemon at bugzilla.maptools.org Fri Mar 10 12:25:50 2006 From: bugzilla-daemon at bugzilla.maptools.org (bugzilla-daemon@bugzilla.maptools.org) Date: Fri Mar 10 12:25:52 2006 Subject: [Cartoweb-dev] [Bug 1336] AJAX Integration Message-ID: <200603101725.k2AHPoU3031934@duke.maptools.org> http://bugzilla.maptools.org/show_bug.cgi?id=1336 Bug 1336 depends on bug 1347, which changed state. Bug 1347 Summary: AJAX: Issues with queries other than query_by_bbox http://bugzilla.maptools.org/show_bug.cgi?id=1347 What |Old Value |New Value ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. Please do NOT reply to this email, use the link above instead to login to bugzilla and submit your comment. Any email reply to this address will be lost. From bugzilla-daemon at bugzilla.maptools.org Fri Mar 10 14:25:04 2006 From: bugzilla-daemon at bugzilla.maptools.org (bugzilla-daemon@bugzilla.maptools.org) Date: Fri Mar 10 14:25:07 2006 Subject: [Cartoweb-dev] [Bug 1348] New: Unify the AjaxHandler.doAction() calls in templates Message-ID: <200603101925.k2AJP42R004487@duke.maptools.org> http://bugzilla.maptools.org/show_bug.cgi?id=1348 Summary: Unify the AjaxHandler.doAction() calls in templates Product: CartoWeb Version: unspecified Platform: All OS/Version: All Status: NEW Severity: enhancement Priority: P2 Component: Core AssignedTo: cartoweb-dev@lists.maptools.org ReportedBy: damien.corpataux@camptocamp.com Currently: if (typeof(AjaxHandler) != undefined) { AjaxHandler.doAction(...) } else { doSubmit() } => Create a mecanism to simplify this, in exemple: Cartoweb.triggerAction(actionName, { argObject: {}, onNoAjax: customFunction }); ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. Please do NOT reply to this email, use the link above instead to login to bugzilla and submit your comment. Any email reply to this address will be lost. From bugzilla-daemon at bugzilla.maptools.org Fri Mar 10 14:25:49 2006 From: bugzilla-daemon at bugzilla.maptools.org (bugzilla-daemon@bugzilla.maptools.org) Date: Fri Mar 10 14:25:52 2006 Subject: [Cartoweb-dev] [Bug 1348] Unify the AjaxHandler.doAction() calls in templates Message-ID: <200603101925.k2AJPnib004542@duke.maptools.org> http://bugzilla.maptools.org/show_bug.cgi?id=1348 damien.corpataux@camptocamp.com changed: What |Removed |Added ---------------------------------------------------------------------------- OtherBugsDependingO| |1336 nThis| | ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. Please do NOT reply to this email, use the link above instead to login to bugzilla and submit your comment. Any email reply to this address will be lost. From bugzilla-daemon at bugzilla.maptools.org Fri Mar 10 14:25:51 2006 From: bugzilla-daemon at bugzilla.maptools.org (bugzilla-daemon@bugzilla.maptools.org) Date: Fri Mar 10 14:25:55 2006 Subject: [Cartoweb-dev] [Bug 1336] AJAX Integration Message-ID: <200603101925.k2AJPps9004548@duke.maptools.org> http://bugzilla.maptools.org/show_bug.cgi?id=1336 damien.corpataux@camptocamp.com changed: What |Removed |Added ---------------------------------------------------------------------------- BugsThisDependsOn| |1348 ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. Please do NOT reply to this email, use the link above instead to login to bugzilla and submit your comment. Any email reply to this address will be lost. From bugzilla-daemon at bugzilla.maptools.org Mon Mar 13 04:16:43 2006 From: bugzilla-daemon at bugzilla.maptools.org (bugzilla-daemon@bugzilla.maptools.org) Date: Mon Mar 13 04:16:47 2006 Subject: [Cartoweb-dev] [Bug 1353] New: trhow exception if no refMarks parameter set Message-ID: <200603130916.k2D9GhdY024462@duke.maptools.org> http://bugzilla.maptools.org/show_bug.cgi?id=1353 Summary: trhow exception if no refMarks parameter set Product: CartoWeb Version: unspecified Platform: PC OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: Core AssignedTo: cartoweb-dev@lists.maptools.org ReportedBy: pierre.giraud@camptocamp.com Index: ServerLocation.php =================================================================== RCS file: /var/lib/cvs/projects/cw3/cartoweb3/coreplugins/location/server/ServerLocation.php,v retrieving revision 1.57 diff -u -r1.57 ServerLocation.php --- ServerLocation.php 21 Feb 2006 13:14:21 -0000 1.57 +++ ServerLocation.php 13 Mar 2006 09:10:57 -0000 @@ -883,6 +883,9 @@ $origin = $this->getConfig()->refMarksOrigin; if (!is_null($origin)) { list($originx, $originy) = explode(',', $origin); + } else { + throw new CartoserverException('no parameters set for ' . + 'refMarks in location.ini'); } $intervals = ConfigParser::parseObjectArray($this->getConfig(), 'refMarksInterval', ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. Please do NOT reply to this email, use the link above instead to login to bugzilla and submit your comment. Any email reply to this address will be lost. From bugzilla-daemon at bugzilla.maptools.org Mon Mar 13 05:00:44 2006 From: bugzilla-daemon at bugzilla.maptools.org (bugzilla-daemon@bugzilla.maptools.org) Date: Mon Mar 13 05:00:46 2006 Subject: [Cartoweb-dev] [Bug 1348] Unify the AjaxHandler.doAction() calls in templates Message-ID: <200603131000.k2DA0ip8025470@duke.maptools.org> http://bugzilla.maptools.org/show_bug.cgi?id=1348 damien.corpataux@camptocamp.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED ------- Additional Comments From damien.corpataux@camptocamp.com 2006-03-13 05:00 ------- carto.js now defines a CartoWeb object offering the trigger() method that cleans the Javascript AJAX calls in templates: CartoWeb.trigger('MyPlugin.MyAction', 'myOptionalNonAjaxInstructions', { myOptionalAjaxCustomProp: 'myValue', ...} ); ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. Please do NOT reply to this email, use the link above instead to login to bugzilla and submit your comment. Any email reply to this address will be lost. From bugzilla-daemon at bugzilla.maptools.org Mon Mar 13 05:00:49 2006 From: bugzilla-daemon at bugzilla.maptools.org (bugzilla-daemon@bugzilla.maptools.org) Date: Mon Mar 13 05:00:51 2006 Subject: [Cartoweb-dev] [Bug 1336] AJAX Integration Message-ID: <200603131000.k2DA0n3R025485@duke.maptools.org> http://bugzilla.maptools.org/show_bug.cgi?id=1336 Bug 1336 depends on bug 1348, which changed state. Bug 1348 Summary: Unify the AjaxHandler.doAction() calls in templates http://bugzilla.maptools.org/show_bug.cgi?id=1348 What |Old Value |New Value ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. Please do NOT reply to this email, use the link above instead to login to bugzilla and submit your comment. Any email reply to this address will be lost. From bugzilla-daemon at bugzilla.maptools.org Mon Mar 13 05:33:46 2006 From: bugzilla-daemon at bugzilla.maptools.org (bugzilla-daemon@bugzilla.maptools.org) Date: Mon Mar 13 05:33:49 2006 Subject: [Cartoweb-dev] [Bug 1336] AJAX Integration Message-ID: <200603131033.k2DAXkNF027861@duke.maptools.org> http://bugzilla.maptools.org/show_bug.cgi?id=1336 ------- Additional Comments From damien.corpataux@camptocamp.com 2006-03-13 05:33 ------- Created an attachment (id=117) --> (http://bugzilla.maptools.org/attachment.cgi?id=117&action=view) Ajax full patch, 2006-03-13 11:18 ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. Please do NOT reply to this email, use the link above instead to login to bugzilla and submit your comment. Any email reply to this address will be lost. From bugzilla-daemon at bugzilla.maptools.org Mon Mar 13 08:18:44 2006 From: bugzilla-daemon at bugzilla.maptools.org (bugzilla-daemon@bugzilla.maptools.org) Date: Mon Mar 13 08:18:47 2006 Subject: [Cartoweb-dev] [Bug 1354] New: Unify GuiProvider::renderForm() and Ajaxable::ajaxGetPluginResponse() Message-ID: <200603131318.k2DDIi3D002294@duke.maptools.org> http://bugzilla.maptools.org/show_bug.cgi?id=1354 Summary: Unify GuiProvider::renderForm() and Ajaxable::ajaxGetPluginResponse() Product: CartoWeb Version: unspecified Platform: All OS/Version: All Status: NEW Severity: enhancement Priority: P2 Component: Core AssignedTo: cartoweb-dev@lists.maptools.org ReportedBy: damien.corpataux@camptocamp.com As renderFrom() and ajaxGetPluginResponse() uses the same informations to produce their output, it should be possible to automate their output from a common source, implicitely - and explicitely produce different outputs. Key concept: interface helper. ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. Please do NOT reply to this email, use the link above instead to login to bugzilla and submit your comment. Any email reply to this address will be lost. From bugzilla-daemon at bugzilla.maptools.org Mon Mar 13 08:20:11 2006 From: bugzilla-daemon at bugzilla.maptools.org (bugzilla-daemon@bugzilla.maptools.org) Date: Mon Mar 13 08:20:15 2006 Subject: [Cartoweb-dev] [Bug 1336] AJAX Integration Message-ID: <200603131320.k2DDKB3g002457@duke.maptools.org> http://bugzilla.maptools.org/show_bug.cgi?id=1336 ------- Additional Comments From sylvain.pasche@camptocamp.com 2006-03-13 08:20 ------- Created an attachment (id=119) --> (http://bugzilla.maptools.org/attachment.cgi?id=119&action=view) remarks about patch Comments about last patch ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. Please do NOT reply to this email, use the link above instead to login to bugzilla and submit your comment. Any email reply to this address will be lost. From bugzilla-daemon at bugzilla.maptools.org Mon Mar 13 08:25:30 2006 From: bugzilla-daemon at bugzilla.maptools.org (bugzilla-daemon@bugzilla.maptools.org) Date: Mon Mar 13 08:25:32 2006 Subject: [Cartoweb-dev] [Bug 1354] Unify GuiProvider::renderForm() and Ajaxable::ajaxGetPluginResponse() Message-ID: <200603131325.k2DDPUNC002692@duke.maptools.org> http://bugzilla.maptools.org/show_bug.cgi?id=1354 damien.corpataux@camptocamp.com changed: What |Removed |Added ---------------------------------------------------------------------------- OtherBugsDependingO| |1336 nThis| | ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. Please do NOT reply to this email, use the link above instead to login to bugzilla and submit your comment. Any email reply to this address will be lost. From bugzilla-daemon at bugzilla.maptools.org Mon Mar 13 08:25:35 2006 From: bugzilla-daemon at bugzilla.maptools.org (bugzilla-daemon@bugzilla.maptools.org) Date: Mon Mar 13 08:25:37 2006 Subject: [Cartoweb-dev] [Bug 1336] AJAX Integration Message-ID: <200603131325.k2DDPZId002708@duke.maptools.org> http://bugzilla.maptools.org/show_bug.cgi?id=1336 damien.corpataux@camptocamp.com changed: What |Removed |Added ---------------------------------------------------------------------------- BugsThisDependsOn| |1354 ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. Please do NOT reply to this email, use the link above instead to login to bugzilla and submit your comment. Any email reply to this address will be lost. From bugzilla-daemon at bugzilla.maptools.org Mon Mar 13 10:25:12 2006 From: bugzilla-daemon at bugzilla.maptools.org (bugzilla-daemon@bugzilla.maptools.org) Date: Mon Mar 13 10:25:16 2006 Subject: [Cartoweb-dev] [Bug 1355] New: Calling PluginManager::getPlugin() inside a PluginManager::callPluginsImplementing() call causes problems Message-ID: <200603131525.k2DFPCoW007540@duke.maptools.org> http://bugzilla.maptools.org/show_bug.cgi?id=1355 Summary: Calling PluginManager::getPlugin() inside a PluginManager::callPluginsImplementing() call causes problems Product: CartoWeb Version: unspecified Platform: All OS/Version: All Status: NEW Severity: major Priority: P2 Component: Core AssignedTo: cartoweb-dev@lists.maptools.org ReportedBy: damien.corpataux@camptocamp.com ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. Please do NOT reply to this email, use the link above instead to login to bugzilla and submit your comment. Any email reply to this address will be lost. From bugzilla-daemon at bugzilla.maptools.org Mon Mar 13 10:25:26 2006 From: bugzilla-daemon at bugzilla.maptools.org (bugzilla-daemon@bugzilla.maptools.org) Date: Mon Mar 13 10:25:29 2006 Subject: [Cartoweb-dev] [Bug 1355] Calling PluginManager::getPlugin() inside a PluginManager::callPluginsImplementing() call causes problems Message-ID: <200603131525.k2DFPQsK007558@duke.maptools.org> http://bugzilla.maptools.org/show_bug.cgi?id=1355 damien.corpataux@camptocamp.com changed: What |Removed |Added ---------------------------------------------------------------------------- OtherBugsDependingO| |1336 nThis| | ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. Please do NOT reply to this email, use the link above instead to login to bugzilla and submit your comment. Any email reply to this address will be lost. From bugzilla-daemon at bugzilla.maptools.org Mon Mar 13 10:25:32 2006 From: bugzilla-daemon at bugzilla.maptools.org (bugzilla-daemon@bugzilla.maptools.org) Date: Mon Mar 13 10:25:35 2006 Subject: [Cartoweb-dev] [Bug 1336] AJAX Integration Message-ID: <200603131525.k2DFPW9h007574@duke.maptools.org> http://bugzilla.maptools.org/show_bug.cgi?id=1336 damien.corpataux@camptocamp.com changed: What |Removed |Added ---------------------------------------------------------------------------- BugsThisDependsOn| |1355 ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. Please do NOT reply to this email, use the link above instead to login to bugzilla and submit your comment. Any email reply to this address will be lost. From bugzilla-daemon at bugzilla.maptools.org Mon Mar 13 12:00:43 2006 From: bugzilla-daemon at bugzilla.maptools.org (bugzilla-daemon@bugzilla.maptools.org) Date: Mon Mar 13 12:00:48 2006 Subject: [Cartoweb-dev] [Bug 1355] Calling PluginManager::getPlugin() inside a PluginManager::callPluginsImplementing() call causes problems Message-ID: <200603131700.k2DH0hp3011314@duke.maptools.org> http://bugzilla.maptools.org/show_bug.cgi?id=1355 damien.corpataux@camptocamp.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |INVALID ------- Additional Comments From damien.corpataux@camptocamp.com 2006-03-13 12:00 ------- This is not a bug: this is due to PHP issues in calling objects' properties iteratively. ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. Please do NOT reply to this email, use the link above instead to login to bugzilla and submit your comment. Any email reply to this address will be lost. From bugzilla-daemon at bugzilla.maptools.org Mon Mar 13 12:00:52 2006 From: bugzilla-daemon at bugzilla.maptools.org (bugzilla-daemon@bugzilla.maptools.org) Date: Mon Mar 13 12:00:56 2006 Subject: [Cartoweb-dev] [Bug 1336] AJAX Integration Message-ID: <200603131700.k2DH0q6A011451@duke.maptools.org> http://bugzilla.maptools.org/show_bug.cgi?id=1336 Bug 1336 depends on bug 1355, which changed state. Bug 1355 Summary: Calling PluginManager::getPlugin() inside a PluginManager::callPluginsImplementing() call causes problems http://bugzilla.maptools.org/show_bug.cgi?id=1355 What |Old Value |New Value ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |INVALID ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. Please do NOT reply to this email, use the link above instead to login to bugzilla and submit your comment. Any email reply to this address will be lost. From bugzilla-daemon at bugzilla.maptools.org Mon Mar 13 12:08:44 2006 From: bugzilla-daemon at bugzilla.maptools.org (bugzilla-daemon@bugzilla.maptools.org) Date: Mon Mar 13 12:08:47 2006 Subject: [Cartoweb-dev] [Bug 1336] AJAX Integration Message-ID: <200603131708.k2DH8iV8012083@duke.maptools.org> http://bugzilla.maptools.org/show_bug.cgi?id=1336 damien.corpataux@camptocamp.com changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #117 is|0 |1 obsolete| | Attachment #118 is|0 |1 obsolete| | Attachment #119 is|0 |1 obsolete| | ------- Additional Comments From damien.corpataux@camptocamp.com 2006-03-13 12:08 ------- Created an attachment (id=120) --> (http://bugzilla.maptools.org/attachment.cgi?id=120&action=view) Ajax full patch, 2006-03-13 18:06 ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. Please do NOT reply to this email, use the link above instead to login to bugzilla and submit your comment. Any email reply to this address will be lost. From bugzilla-daemon at bugzilla.maptools.org Mon Mar 13 12:50:20 2006 From: bugzilla-daemon at bugzilla.maptools.org (bugzilla-daemon@bugzilla.maptools.org) Date: Mon Mar 13 12:50:22 2006 Subject: [Cartoweb-dev] [Bug 1336] AJAX Integration Message-ID: <200603131750.k2DHoKtu014193@duke.maptools.org> http://bugzilla.maptools.org/show_bug.cgi?id=1336 ------- Additional Comments From sylvain.pasche@camptocamp.com 2006-03-13 12:50 ------- (From update of attachment 120) >+ /** >+ * Sets the enable level of the given plugin name >+ * to the given enable level value. >+ * to ClientPlugin::ENABLE_LEVEL_LOAD. >+ * @param string name of the plugin to enable >+ * @param int value of the enable level to set >+ * @see ClientPlugin >+ */ >+ public function setEnableLevel($pluginName, $enableLevelValue) { >+ if (!$this->isLoaded($pluginName)) >+ throw new AjaxException("Plugin '.$pluginName.'is not loaded. " . >+ "You can only set enable level on loaded plugins."); Rather "Plugin '$pluginName' is not loaded. " ? >+ $plugin = $this->getPlugin($pluginName); >+ $plugin->setEnableLevel($enableLevelValue); >+ } >+ >+} >+ >+ >+/** [...] >+ /** >+ * Sets the current AJAX action >+ * @return string Requested AJAX action, or null if no AJAX action requested >+ */ >+ public function setAjaxAction($ajaxAction) { >+ if (!ereg("^.+\..+$", $ajaxAction)) { >+ throw new AjaxException( >+ "ajaxActionRequest parameter\'s value is not correctly " . >+ 'formatted. It should look like: PluginName.ActionName ' . >+ '(current value: '.$ajaxAction.')'); spaces around . >+ } >+ >+ list($requestedPluginName, $requestedActionName) = >+ explode('.', $ajaxAction, 2); >+ >+ $requestedPluginName = strtolower($requestedPluginName{0}) >+ [...] > >+ /** >+ * Sets the enable level (to be used with the AJAX mode). >+ * @param int >+ */ >+ public function setEnableLevel($enableLevel) { >+ // TODO: Check if enableLevel exists, if not >+ // throw new AjaxException ("ClientPlugin::$level is not defined"); I mentionned to remove this in a previous comment. Can you check again my comments ? And pay attention to spaces around operators. I saw some i http://bugzilla.maptools.org/show_bug.cgi?id=1358 Summary: scale management in legend tree Product: CartoWeb Version: unspecified Platform: PC OS/Version: Linux Status: NEW Severity: major Priority: P2 Component: Core AssignedTo: cartoweb-dev@lists.maptools.org ReportedBy: pierre.giraud@camptocamp.com In current CVS version, the layers that have a scale visibility limit always stay labelled in grey in the legend tree as if they cannot be displayed at any scale. In the test_main project for example, the 'more_points' layer is correctly displayed in the map at scale 1/10 but is shown in grey in the legend tree. ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. Please do NOT reply to this email, use the link above instead to login to bugzilla and submit your comment. Any email reply to this address will be lost. From bugzilla-daemon at bugzilla.maptools.org Tue Mar 14 05:35:18 2006 From: bugzilla-daemon at bugzilla.maptools.org (bugzilla-daemon@bugzilla.maptools.org) Date: Tue Mar 14 05:35:21 2006 Subject: [Cartoweb-dev] [Bug 1339] Layers: clicking on an "out of scale" icon doesn't act as expected Message-ID: <200603141035.k2EAZISv021600@duke.maptools.org> http://bugzilla.maptools.org/show_bug.cgi?id=1339 pierre.giraud@camptocamp.com changed: What |Removed |Added ---------------------------------------------------------------------------- BugsThisDependsOn| |1358 ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. Please do NOT reply to this email, use the link above instead to login to bugzilla and submit your comment. Any email reply to this address will be lost. From bugzilla-daemon at bugzilla.maptools.org Tue Mar 14 05:35:24 2006 From: bugzilla-daemon at bugzilla.maptools.org (bugzilla-daemon@bugzilla.maptools.org) Date: Tue Mar 14 05:35:27 2006 Subject: [Cartoweb-dev] [Bug 1358] scale management in legend tree Message-ID: <200603141035.k2EAZOEO021619@duke.maptools.org> http://bugzilla.maptools.org/show_bug.cgi?id=1358 pierre.giraud@camptocamp.com changed: What |Removed |Added ---------------------------------------------------------------------------- OtherBugsDependingO| |1339 nThis| | ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. Please do NOT reply to this email, use the link above instead to login to bugzilla and submit your comment. Any email reply to this address will be lost. From bugzilla-daemon at bugzilla.maptools.org Wed Mar 15 09:42:52 2006 From: bugzilla-daemon at bugzilla.maptools.org (bugzilla-daemon@bugzilla.maptools.org) Date: Wed Mar 15 09:42:54 2006 Subject: [Cartoweb-dev] [Bug 1336] AJAX Integration Message-ID: <200603151442.k2FEgqPV023199@duke.maptools.org> http://bugzilla.maptools.org/show_bug.cgi?id=1336 damien.corpataux@camptocamp.com changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #120 is|0 |1 obsolete| | ------- Additional Comments From damien.corpataux@camptocamp.com 2006-03-15 09:42 ------- Created an attachment (id=124) --> (http://bugzilla.maptools.org/attachment.cgi?id=124&action=view) Ajax full patch, 2005-03-13 15:40 ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. Please do NOT reply to this email, use the link above instead to login to bugzilla and submit your comment. Any email reply to this address will be lost. From bugzilla-daemon at bugzilla.maptools.org Thu Mar 16 09:30:51 2006 From: bugzilla-daemon at bugzilla.maptools.org (bugzilla-daemon@bugzilla.maptools.org) Date: Thu Mar 16 09:30:53 2006 Subject: [Cartoweb-dev] [Bug 1336] AJAX Integration Message-ID: <200603161430.k2GEUpVd016632@duke.maptools.org> http://bugzilla.maptools.org/show_bug.cgi?id=1336 damien.corpataux@camptocamp.com changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #124 is|0 |1 obsolete| | ------- Additional Comments From damien.corpataux@camptocamp.com 2006-03-16 09:30 ------- Created an attachment (id=125) --> (http://bugzilla.maptools.org/attachment.cgi?id=125&action=view) Ajax full patch, 2005-03-13 15:15 ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. Please do NOT reply to this email, use the link above instead to login to bugzilla and submit your comment. Any email reply to this address will be lost. From bugzilla-daemon at bugzilla.maptools.org Thu Mar 16 10:55:54 2006 From: bugzilla-daemon at bugzilla.maptools.org (bugzilla-daemon@bugzilla.maptools.org) Date: Thu Mar 16 10:55:56 2006 Subject: [Cartoweb-dev] [Bug 1336] AJAX Integration Message-ID: <200603161555.k2GFtsH9020667@duke.maptools.org> http://bugzilla.maptools.org/show_bug.cgi?id=1336 ------- Additional Comments From damien.corpataux@camptocamp.com 2006-03-16 10:55 ------- Created an attachment (id=126) --> (http://bugzilla.maptools.org/attachment.cgi?id=126&action=view) Ajax patch for templates, 2005-03-16 15:15 ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. Please do NOT reply to this email, use the link above instead to login to bugzilla and submit your comment. Any email reply to this address will be lost. From bugzilla-daemon at bugzilla.maptools.org Thu Mar 16 10:56:28 2006 From: bugzilla-daemon at bugzilla.maptools.org (bugzilla-daemon@bugzilla.maptools.org) Date: Thu Mar 16 10:56:30 2006 Subject: [Cartoweb-dev] [Bug 1336] AJAX Integration Message-ID: <200603161556.k2GFuSCo020698@duke.maptools.org> http://bugzilla.maptools.org/show_bug.cgi?id=1336 damien.corpataux@camptocamp.com changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #125|Ajax full patch, 2005-03-13 |Ajax full patch, 2005-03-16 description|15:15 |15:15 ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. Please do NOT reply to this email, use the link above instead to login to bugzilla and submit your comment. Any email reply to this address will be lost. From bugzilla-daemon at bugzilla.maptools.org Fri Mar 17 03:42:11 2006 From: bugzilla-daemon at bugzilla.maptools.org (bugzilla-daemon@bugzilla.maptools.org) Date: Fri Mar 17 03:42:13 2006 Subject: [Cartoweb-dev] [Bug 1224] extended coreplugin and ajax incompatibility Message-ID: <200603170842.k2H8gBDt029172@duke.maptools.org> http://bugzilla.maptools.org/show_bug.cgi?id=1224 damien.corpataux@camptocamp.com changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|major |normal Status|NEW |RESOLVED Resolution| |WORKSFORME ------- Additional Comments From damien.corpataux@camptocamp.com 2006-03-17 03:42 ------- This bug happened on calling a parent method from a child object, and could not be reproduced. It might be a side effect of the plugin heritance itself. ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. Please do NOT reply to this email, use the link above instead to login to bugzilla and submit your comment. Any email reply to this address will be lost. From bugzilla-daemon at bugzilla.maptools.org Fri Mar 17 03:42:16 2006 From: bugzilla-daemon at bugzilla.maptools.org (bugzilla-daemon@bugzilla.maptools.org) Date: Fri Mar 17 03:42:18 2006 Subject: [Cartoweb-dev] [Bug 1336] AJAX Integration Message-ID: <200603170842.k2H8gGJa029189@duke.maptools.org> http://bugzilla.maptools.org/show_bug.cgi?id=1336 Bug 1336 depends on bug 1224, which changed state. Bug 1224 Summary: extended coreplugin and ajax incompatibility http://bugzilla.maptools.org/show_bug.cgi?id=1224 What |Old Value |New Value ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |WORKSFORME ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. Please do NOT reply to this email, use the link above instead to login to bugzilla and submit your comment. Any email reply to this address will be lost. From bugzilla-daemon at bugzilla.maptools.org Tue Mar 21 09:41:08 2006 From: bugzilla-daemon at bugzilla.maptools.org (bugzilla-daemon@bugzilla.maptools.org) Date: Tue Mar 21 09:41:11 2006 Subject: [Cartoweb-dev] [Bug 1339] Layers: clicking on an "out of scale" icon doesn't act as expected Message-ID: <200603211441.k2LEf8Zq026020@duke.maptools.org> http://bugzilla.maptools.org/show_bug.cgi?id=1339 ------- Additional Comments From florent.giraud@camptocamp.com 2006-03-21 09:41 ------- Created an attachment (id=127) --> (http://bugzilla.maptools.org/attachment.cgi?id=127&action=view) clone layersInit->layers object This patch correct the problem ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. Please do NOT reply to this email, use the link above instead to login to bugzilla and submit your comment. Any email reply to this address will be lost. From bugzilla-daemon at bugzilla.maptools.org Tue Mar 21 09:48:10 2006 From: bugzilla-daemon at bugzilla.maptools.org (bugzilla-daemon@bugzilla.maptools.org) Date: Tue Mar 21 09:48:13 2006 Subject: [Cartoweb-dev] [Bug 1339] Layers: clicking on an "out of scale" icon doesn't act as expected Message-ID: <200603211448.k2LEmAsY026184@duke.maptools.org> http://bugzilla.maptools.org/show_bug.cgi?id=1339 florent.giraud@camptocamp.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED ------- Additional Comments From florent.giraud@camptocamp.com 2006-03-21 09:48 ------- The patch retablishes expected behavior ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. Please do NOT reply to this email, use the link above instead to login to bugzilla and submit your comment. Any email reply to this address will be lost. From bugzilla-daemon at bugzilla.maptools.org Tue Mar 21 10:02:03 2006 From: bugzilla-daemon at bugzilla.maptools.org (bugzilla-daemon@bugzilla.maptools.org) Date: Tue Mar 21 10:02:05 2006 Subject: [Cartoweb-dev] [Bug 1358] scale management in legend tree Message-ID: <200603211502.k2LF239u026439@duke.maptools.org> http://bugzilla.maptools.org/show_bug.cgi?id=1358 ------- Additional Comments From florent.giraud@camptocamp.com 2006-03-21 10:01 ------- Created an attachment (id=128) --> (http://bugzilla.maptools.org/attachment.cgi?id=128&action=view) Coreplugin layers: clone layersInit->layers ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. Please do NOT reply to this email, use the link above instead to login to bugzilla and submit your comment. Any email reply to this address will be lost. From bugzilla-daemon at bugzilla.maptools.org Tue Mar 21 10:03:53 2006 From: bugzilla-daemon at bugzilla.maptools.org (bugzilla-daemon@bugzilla.maptools.org) Date: Tue Mar 21 10:03:55 2006 Subject: [Cartoweb-dev] [Bug 1358] scale management in legend tree Message-ID: <200603211503.k2LF3rgj026465@duke.maptools.org> http://bugzilla.maptools.org/show_bug.cgi?id=1358 florent.giraud@camptocamp.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED ------- Additional Comments From florent.giraud@camptocamp.com 2006-03-21 10:03 ------- The patch restablishes expected behavior ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. Please do NOT reply to this email, use the link above instead to login to bugzilla and submit your comment. Any email reply to this address will be lost. From bugzilla-daemon at bugzilla.maptools.org Tue Mar 21 10:03:58 2006 From: bugzilla-daemon at bugzilla.maptools.org (bugzilla-daemon@bugzilla.maptools.org) Date: Tue Mar 21 10:04:00 2006 Subject: [Cartoweb-dev] [Bug 1339] Layers: clicking on an "out of scale" icon doesn't act as expected Message-ID: <200603211503.k2LF3wTJ026482@duke.maptools.org> http://bugzilla.maptools.org/show_bug.cgi?id=1339 Bug 1339 depends on bug 1358, which changed state. Bug 1358 Summary: scale management in legend tree http://bugzilla.maptools.org/show_bug.cgi?id=1358 What |Old Value |New Value ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. Please do NOT reply to this email, use the link above instead to login to bugzilla and submit your comment. Any email reply to this address will be lost. From mahi_ewu at yahoo.com Wed Mar 22 00:58:37 2006 From: mahi_ewu at yahoo.com (mahi uddin) Date: Wed Mar 22 00:58:42 2006 Subject: [Cartoweb-dev] ------------Cartoweb Install-------------------- Message-ID: <20060322055838.92828.qmail@web32813.mail.mud.yahoo.com> hi, i want to be a new user of CartoWeb. But i cannot install Cartoweb. I need a proper guide so that i can install that one in my Ubuntu5.1 environment. Bye Mahi --------------------------------- Yahoo! Mail Bring photos to life! New PhotoMail makes sharing a breeze. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.maptools.org/pipermail/cartoweb-dev/attachments/20060321/7e8a83ae/attachment.html From alexandre.saunier at camptocamp.com Wed Mar 22 08:25:00 2006 From: alexandre.saunier at camptocamp.com (Alexandre Saunier) Date: Wed Mar 22 08:24:09 2006 Subject: [Cartoweb-dev] ------------Cartoweb Install-------------------- In-Reply-To: <20060322055838.92828.qmail@web32813.mail.mud.yahoo.com> References: <20060322055838.92828.qmail@web32813.mail.mud.yahoo.com> Message-ID: <4421502C.7030002@camptocamp.com> Hello, installing CartoWeb is explained in the manual. See http://cartoweb.org/doc/cw3.2/xhtml/user.install.html AS mahi uddin wrote: > hi, > i want to be a new user of CartoWeb. But i cannot install Cartoweb. > I need a proper guide so that i can install that one in my Ubuntu5.1 > environment. > Bye > Mahi From bugzilla-daemon at bugzilla.maptools.org Wed Mar 22 14:40:35 2006 From: bugzilla-daemon at bugzilla.maptools.org (bugzilla-daemon@bugzilla.maptools.org) Date: Wed Mar 22 14:40:38 2006 Subject: [Cartoweb-dev] [Bug 1376] New: ini files failed with escaped quotes Message-ID: <200603221940.k2MJeZfv005014@duke.maptools.org> http://bugzilla.maptools.org/show_bug.cgi?id=1376 Summary: ini files failed with escaped quotes Product: CartoWeb Version: unspecified Platform: PC OS/Version: All Status: NEW Severity: blocker Priority: P1 Component: Core AssignedTo: cartoweb-dev@lists.maptools.org ReportedBy: daniel.faivre@camptocamp.com For many reasons, we need to store quoted strings with nested quotes in .ini files. As cw use the buggy php built-in parse_ini_file function, it's IMPOSSIBLE to use such strings. For some features, like db auth, it's a blocking issue. Here's a sample: dbSecurityQueryRoles = "SELECT rid FROM roles INNER JOIN "rel_roles-users" using(rid) INNER JOIN users using(uid) where uid='%s'" ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. Please do NOT reply to this email, use the link above instead to login to bugzilla and submit your comment. Any email reply to this address will be lost. From bugzilla-daemon at bugzilla.maptools.org Thu Mar 23 04:11:52 2006 From: bugzilla-daemon at bugzilla.maptools.org (bugzilla-daemon@bugzilla.maptools.org) Date: Thu Mar 23 04:11:55 2006 Subject: [Cartoweb-dev] [Bug 1376] ini files failed with escaped quotes Message-ID: <200603230911.k2N9BqKG003626@duke.maptools.org> http://bugzilla.maptools.org/show_bug.cgi?id=1376 sylvain.pasche@camptocamp.com changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|blocker |normal Summary|ini files failed with |ini files failed with |escaped quotes |escaped quotes ------- Additional Comments From sylvain.pasche@camptocamp.com 2006-03-23 04:11 ------- lowered severity. This will not block development. ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. Please do NOT reply to this email, use the link above instead to login to bugzilla and submit your comment. Any email reply to this address will be lost. From bugzilla-daemon at bugzilla.maptools.org Thu Mar 23 10:07:40 2006 From: bugzilla-daemon at bugzilla.maptools.org (bugzilla-daemon@bugzilla.maptools.org) Date: Thu Mar 23 10:07:43 2006 Subject: [Cartoweb-dev] [Bug 1380] New: label size in outline features depends on resolution when printing Message-ID: <200603231507.k2NF7eQl018859@duke.maptools.org> http://bugzilla.maptools.org/show_bug.cgi?id=1380 Summary: label size in outline features depends on resolution when printing Product: CartoWeb Version: unspecified Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2 Component: Plugins AssignedTo: cartoweb-dev@lists.maptools.org ReportedBy: alexandre.fellay@camptocamp.com In the pdf output, the label size of outline features (points, lines or polygons) is not adapted to the resolution. This results in much smaller, close to non-readable, labels for high-resolution (~300dpi) outputs. ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. Please do NOT reply to this email, use the link above instead to login to bugzilla and submit your comment. Any email reply to this address will be lost. From bugzilla-daemon at bugzilla.maptools.org Thu Mar 23 11:24:56 2006 From: bugzilla-daemon at bugzilla.maptools.org (bugzilla-daemon@bugzilla.maptools.org) Date: Thu Mar 23 11:24:59 2006 Subject: [Cartoweb-dev] [Bug 1381] New: Add ability to cache connectivity data to pgdijkstra Message-ID: <200603231624.k2NGOume023040@duke.maptools.org> http://bugzilla.maptools.org/show_bug.cgi?id=1381 Summary: Add ability to cache connectivity data to pgdijkstra Product: CartoWeb Version: unspecified Platform: PC OS/Version: All Status: NEW Severity: enhancement Priority: P2 Component: Plugins AssignedTo: cartoweb-dev@lists.maptools.org ReportedBy: bytter@gmail.com When using large connectivity tables (arround 1 million rows), postgresql is too slow fetching data from that table into pgdijkstra. One solution (prototype follows) is to cache that same data to disk, and then tell pgdijkstra to use it. The following patch attempts to implement that, though it lacks heavy reviewing and some code love (it has 'only' been tested under Windows and PostgreSQL 8.1). Performance-wise, we've been able to decrease the time from 33seconds on a 700k routing table down to 3seconds (10x fold increase in performance). Please consider this technique (though probably not the code per-se) to be made up-stream: Index: boost_wrapper.cpp =================================================================== RCS file: /var/lib/cvs/public/cartoweb3/contrib/pgdijkstra/boost_wrapper.cpp,v retrieving revision 1.6 diff -u -r1.6 boost_wrapper.cpp --- boost_wrapper.cpp 17 Oct 2005 07:12:27 -0000 1.6 +++ boost_wrapper.cpp 3 Mar 2006 20:38:34 -0000 @@ -73,6 +73,20 @@ graph[e].id = id; } +int serialize(char* filename, edge_t *edges, unsigned int count) { + ofstream myFile (filename, ios::out | ios::binary | ios::trunc); + myFile.write ((char*) edges, count * sizeof(edge_t)); + myFile.close(); + return 0; +} + +int deserialize(char* filename, edge_t *edges, unsigned int count) { + ifstream myFile (filename, ios::in | ios::binary); + myFile.read((char*) edges, count * sizeof(edge_t)); + myFile.close(); + return 0; +} + int boost_dijkstra(edge_t *edges, unsigned int count, int source_vertex_id, int target_vertex_id, bool directed, bool has_reverse_cost, @@ -115,7 +129,7 @@ edges[j].source, cost); } } - + std::vector predecessors(num_vertices(graph)); vertex_descriptor source_vertex = vertex(source_vertex_id, graph); @@ -231,6 +245,7 @@ int final_edges = NUM_EDGES - 1; ret = boost_dijkstra(e, NUM_EDGES, 0, final_edges, 1, 0, &path, &path_count, &err_msg); + ret = deserialize(e, NUM_EDGES); if (ret < 0) { Index: dijkstra.c =================================================================== RCS file: /var/lib/cvs/public/cartoweb3/contrib/pgdijkstra/dijkstra.c,v retrieving revision 1.6 diff -u -r1.6 dijkstra.c --- dijkstra.c 29 Aug 2005 15:02:38 -0000 1.6 +++ dijkstra.c 3 Mar 2006 20:38:09 -0000 @@ -60,6 +60,8 @@ // -------------------------------------------------------------------------------- Datum shortest_path(PG_FUNCTION_ARGS); +Datum fshortest_path(PG_FUNCTION_ARGS); +Datum serialize_to_file(PG_FUNCTION_ARGS); #undef DEBUG //#define DEBUG 1 @@ -180,6 +182,36 @@ } } +static int compute_shortest_path_from_file(char* filename, int ntuples, int source_vertex_id, int target_vertex_id, bool directed, bool has_reverse_cost, + path_element_t **path, int *path_count) { + edge_t *edges = NULL; + char *err_msg; + int ret = -1; + + DBG("start shortest_path\n"); + + edges = palloc(ntuples * sizeof(edge_t)); + deserialize(filename, edges, (unsigned int) ntuples); + + DBG("Calling boost_dijkstra\n"); + + profstop("extract", prof_extract); + profstart(prof_dijkstra); + + ret = boost_dijkstra(edges, ntuples, source_vertex_id, target_vertex_id, + directed, has_reverse_cost, + path, path_count, &err_msg); + + profstop("dijkstra", prof_dijkstra); + profstart(prof_store); + + if (ret < 0) + { + elog(ERROR, "Error computing path: %s", err_msg); + } + + return ret; +} static int compute_shortest_path(char* sql, int source_vertex_id, int target_vertex_id, bool directed, bool has_reverse_cost, path_element_t **path, int *path_count) @@ -289,6 +321,107 @@ return ret; } +static int calculate_serialize_to_file(char* sql, char* filename, bool directed, bool has_reverse_cost) +{ + + int SPIcode; + void *SPIplan; + Portal SPIportal; + bool moredata = TRUE; + int ntuples; + edge_t *edges = NULL; + int total_tuples = 0; + edge_columns_t edge_columns = {id: -1, source: -1, target: -1, + cost: -1, reverse_cost: -1}; + char *err_msg; + int ret = -1; + + DBG("start shortest_path\n"); + + SPIcode = SPI_connect(); + if (SPIcode != SPI_OK_CONNECT) + { + elog(ERROR, "shortest_path: couldn't open a connection to SPI"); + return -1; + } + + SPIplan = SPI_prepare(sql, 0, NULL); + if (SPIplan == NULL) + { + elog(ERROR, "shortest_path: couldn't create query plan via SPI"); + return -1; + } + + if ((SPIportal = SPI_cursor_open(NULL, SPIplan, NULL, NULL, true)) == NULL) + { + elog(ERROR, "shortest_path: SPI_cursor_open('%s') returns NULL", sql); + return -1; + } + + while (moredata == TRUE) + { + SPI_cursor_fetch(SPIportal, TRUE, TUPLIMIT); + + if (edge_columns.id == -1) + { + if (fetch_edge_columns(SPI_tuptable, &edge_columns, has_reverse_cost) == -1) + goto out; + } + + ntuples = SPI_processed; + total_tuples += ntuples; + if (!edges) + edges = palloc(total_tuples * sizeof(edge_t)); + else + edges = repalloc(edges, total_tuples * sizeof(edge_t)); + + if (edges == NULL) + { + elog(ERROR, "Out of memory"); + goto out; + } + + if (ntuples > 0) + { + int t; + SPITupleTable *tuptable = SPI_tuptable; + TupleDesc tupdesc = SPI_tuptable->tupdesc; + + for (t = 0; t < ntuples; t++) + { + HeapTuple tuple = tuptable->vals[t]; + fetch_edge(&tuple, &tupdesc, &edge_columns, &edges[total_tuples - ntuples + t]); + } + SPI_freetuptable(tuptable); + } + else + { + moredata = FALSE; + } + } + + ret = serialize(filename, edges, total_tuples); + +out: + SPIcode = SPI_finish(); + if (SPIcode != SPI_OK_FINISH ) + { + elog(ERROR,"couldn't disconnect from SPI"); + return -1 ; + } + + return ret; +} + +PG_FUNCTION_INFO_V1(serialize_to_file); +Datum +serialize_to_file(PG_FUNCTION_ARGS) +{ + calculate_serialize_to_file(text2char(PG_GETARG_TEXT_P(0)), text2char(PG_GETARG_TEXT_P(1)), + PG_GETARG_BOOL(2), PG_GETARG_BOOL(3)); + + PG_RETURN_BOOL(true); +} PG_FUNCTION_INFO_V1(shortest_path); Datum @@ -395,3 +528,109 @@ SRF_RETURN_DONE(funcctx); } } + +PG_FUNCTION_INFO_V1(fshortest_path); +Datum +fshortest_path(PG_FUNCTION_ARGS) +{ + FuncCallContext *funcctx; + int call_cntr; + int max_calls; + TupleDesc tuple_desc; + path_element_t *path; + + /* stuff done only on the first call of the function */ + if (SRF_IS_FIRSTCALL()) + { + MemoryContext oldcontext; + int path_count; + int ret; + + // XXX profiling messages are not thread safe + profstart(prof_total); + profstart(prof_extract); + + /* create a function context for cross-call persistence */ + funcctx = SRF_FIRSTCALL_INIT(); + + /* switch to memory context appropriate for multiple function calls */ + oldcontext = MemoryContextSwitchTo(funcctx->multi_call_memory_ctx); + + + ret = compute_shortest_path_from_file(text2char(PG_GETARG_TEXT_P(0)), PG_GETARG_INT32(1), + PG_GETARG_INT32(2), + PG_GETARG_INT32(3), + PG_GETARG_BOOL(4), + PG_GETARG_BOOL(5), &path, &path_count); + +#ifdef DEBUG + DBG("Ret is %i", ret); + if (ret >= 0) + { + int i; + for (i = 0; i < path_count; i++) + { + DBG("Step %i vertex_id %i ", i, path[i].vertex_id); + DBG(" edge_id %i ", path[i].edge_id); + DBG(" cost %f ", path[i].cost); + } + } +#endif + + /* total number of tuples to be returned */ + funcctx->max_calls = path_count; + funcctx->user_fctx = path; + + funcctx->tuple_desc = BlessTupleDesc(RelationNameGetTupleDesc("path_result")); + + MemoryContextSwitchTo(oldcontext); + } + + /* stuff done on every call of the function */ + funcctx = SRF_PERCALL_SETUP(); + + call_cntr = funcctx->call_cntr; + max_calls = funcctx->max_calls; + tuple_desc = funcctx->tuple_desc; + path = (path_element_t*) funcctx->user_fctx; + + if (call_cntr < max_calls) /* do when there is more left to send */ + { + HeapTuple tuple; + Datum result; + Datum *values; + char* nulls; + + values = palloc(4 * sizeof(Datum)); + nulls = palloc(4 * sizeof(char)); + + values[0] = Int32GetDatum(call_cntr); + nulls[0] = ' '; + values[1] = Int32GetDatum(path[call_cntr].vertex_id); + nulls[1] = ' '; + values[2] = Int32GetDatum(path[call_cntr].edge_id); + nulls[2] = ' '; + values[3] = Float8GetDatum(path[call_cntr].cost); + nulls[3] = ' '; + + tuple = heap_formtuple(tuple_desc, values, nulls); + + /* make the tuple into a datum */ + result = HeapTupleGetDatum(tuple); + + /* clean up (this is not really necessary) */ + pfree(values); + pfree(nulls); + + SRF_RETURN_NEXT(funcctx, result); + } + else /* do when there is no more left */ + { + profstop("store", prof_store); + profstop("total", prof_total); +#ifdef PROFILE + elog(NOTICE, "_________"); +#endif + SRF_RETURN_DONE(funcctx); + } +} Index: dijkstra.h =================================================================== RCS file: /var/lib/cvs/public/cartoweb3/contrib/pgdijkstra/dijkstra.h,v retrieving revision 1.4 diff -u -r1.4 dijkstra.h --- dijkstra.h 29 Aug 2005 15:02:38 -0000 1.4 +++ dijkstra.h 3 Mar 2006 20:26:02 -0000 @@ -46,5 +46,12 @@ int boost_dijkstra(edge_t *edges, unsigned int count, int source_vertex_id, int target_vertex_id, bool directed, bool has_reverse_cost, path_element_t **path, int *path_count, char **err_msg); - +#ifdef __cplusplus +extern "C" +#endif +int serialize(char* filename, edge_t *edges, unsigned int count); +#ifdef __cplusplus +extern "C" +#endif +int deserialize(char* filename, edge_t *edges, unsigned int count); #endif Index: dijkstra.sql.in =================================================================== RCS file: /var/lib/cvs/public/cartoweb3/contrib/pgdijkstra/dijkstra.sql.in,v retrieving revision 1.5 diff -u -r1.5 dijkstra.sql.in --- dijkstra.sql.in 12 Oct 2005 08:43:54 -0000 1.5 +++ dijkstra.sql.in 23 Mar 2006 16:17:13 -0000 @@ -31,6 +31,25 @@ AS 'MODULE_PATHNAME' LANGUAGE 'C' IMMUTABLE STRICT; +----------------------------------------------------------------------- +-- Core function for shortest_path computation using cached data +----------------------------------------------------------------------- + +CREATE OR REPLACE FUNCTION fshortest_path(filename text, count int4, source_id int4, + target_id int4, directed bool, has_reverse_cost bool) + RETURNS SETOF path_result + AS 'MODULE_PATHNAME' + LANGUAGE 'C' IMMUTABLE STRICT; + +----------------------------------------------------------------------- +-- Create cached data for fshortest_path function +----------------------------------------------------------------------- + +CREATE OR REPLACE FUNCTION serialize_to_file(sql text, filename text, directed bool, + has_reverse_cost bool) + RETURNS bool + AS 'MODULE_PATHNAME' + LANGUAGE 'c' VOLATILE; ----------------------------------------------------------------------- -- Drops the vertices and edges tables related to the given geom_table ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. Please do NOT reply to this email, use the link above instead to login to bugzilla and submit your comment. Any email reply to this address will be lost. From bugzilla-daemon at bugzilla.maptools.org Thu Mar 23 11:29:58 2006 From: bugzilla-daemon at bugzilla.maptools.org (bugzilla-daemon@bugzilla.maptools.org) Date: Thu Mar 23 11:30:01 2006 Subject: [Cartoweb-dev] [Bug 1205] pgdijkstra - the same (source, target) vertex Message-ID: <200603231629.k2NGTwHc023157@duke.maptools.org> http://bugzilla.maptools.org/show_bug.cgi?id=1205 ------- Additional Comments From bytter@gmail.com 2006-03-23 11:29 ------- It is not exactly that way. Try, for example, to reorder the query so that the shortest edge comes first. It can possibly return you different results. This should be considered a major bug, since in real data (e.g. streets of a country) this situation happens a lot (e.g. service stations in high-ways). ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. Please do NOT reply to this email, use the link above instead to login to bugzilla and submit your comment. Any email reply to this address will be lost. From bugzilla-daemon at bugzilla.maptools.org Thu Mar 23 11:36:38 2006 From: bugzilla-daemon at bugzilla.maptools.org (bugzilla-daemon@bugzilla.maptools.org) Date: Thu Mar 23 11:36:40 2006 Subject: [Cartoweb-dev] [Bug 1381] Add ability to cache connectivity data to pgdijkstra Message-ID: <200603231636.k2NGac2x023320@duke.maptools.org> http://bugzilla.maptools.org/show_bug.cgi?id=1381 ------- Additional Comments From bytter@gmail.com 2006-03-23 11:36 ------- Created an attachment (id=130) --> (http://bugzilla.maptools.org/attachment.cgi?id=130&action=view) Prototype for file caching of connectivity data This is the same patch as in the original summary. Sorry for pasting the patch there. ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. Please do NOT reply to this email, use the link above instead to login to bugzilla and submit your comment. Any email reply to this address will be lost. From bugzilla-daemon at bugzilla.maptools.org Fri Mar 31 11:19:00 2006 From: bugzilla-daemon at bugzilla.maptools.org (bugzilla-daemon@bugzilla.maptools.org) Date: Fri Mar 31 11:19:03 2006 Subject: [Cartoweb-dev] [Bug 1391] New: demoPlugins: searching geographic object crashes when using query string with quotes Message-ID: <200603311619.k2VGJ0i1009473@duke.maptools.org> http://bugzilla.maptools.org/show_bug.cgi?id=1391 Summary: demoPlugins: searching geographic object crashes when using query string with quotes Product: CartoWeb Version: unspecified Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2 Component: Demo AssignedTo: cartoweb-dev@lists.maptools.org ReportedBy: alexandre.saunier@camptocamp.com App : demoPlugins Feature : geographic object searchbox A failure occurs when using querystrings including quotes (') => SQL syntax error. It's quite likely there is some addslash missing somewhere. ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. Please do NOT reply to this email, use the link above instead to login to bugzilla and submit your comment. Any email reply to this address will be lost.