Re: [mapguide-users] MapGuide 4.0 Beta 1

2024-04-30 Thread Patrik Johansson via mapguide-users
Hi again,

I don't know how this slipped through during my previous round of tests,
but there's a third get_magic_quotes_gpc in
fusion\widgets\Search\Search.php that breaks the Search widget.
The attached patch fixes that one as well.

Best regards,
Patrik Johansson

On Fri, Apr 7, 2023 at 12:25 PM Patrik Johansson  wrote:

> Hi,
>
> Two of the Fusion php scripts also fail because of get_magic_quotes_gpc:
> * Web\www\fusion\layers\MapGuide\php\GetSelectionProperties.php
> * Web\www\fusion\layers\MapGuide\php\SaveSelection.php
> The attached patch removes the call from both of them.
>
> Best regards,
> Patrik Johansson
>
> On Thu, Apr 6, 2023 at 5:15 PM Jackie Ng  wrote:
>
>> Hi Dan,
>>
>> Thanks for the heads up.
>>
>> A fixed version of serverdatafunctions.php is available in the
>> post-release section of the 4.0 Beta 1 release notes.
>>
>>
>> https://trac.osgeo.org/mapguide/wiki/Release/4.0.0/Beta1/Notes#Post-releasepatches
>>
>> - Jackie
>>
>> You wrote:
>>
>> Hi!
>>
>> I have just installed MapGuide OpenSource on my virtual machine (Windows 11 
>> x64).
>> Configured with IIS and using .Net.
>>
>> When I open "http://localhost/mapguide/mapadmin/logproperties.php; (click 
>> the link after I have logged in to MapGuide Site Administrator) and try to 
>> uncheck "logging enabled" for Admin.log. I click on the Save button, and 
>> then i get this:
>>
>> [cid:fd712dc9-56f8-4e75-b371-bbcf3c2cdde3]
>>
>> I must edit serverconfig.ini with an editor to change the value, and then 
>> restart the service.
>>
>>
>> Med vänlig hälsning
>>
>> Dan Nilsson
>> Projektledare
>>
>>
>>
>> --
>> *Please Note: I no longer create new posts or post replies to any OSGeo
>> mailing list through nabble. As a result, you most likely won't see this
>> message appear on nabble's view of any OSGeo mailing list and may only see
>> this message through mailing list archives or depending on your mailing
>> list subscription settings, through daily message digests or automated
>> notifications from the mailing lists.*
>> ___
>> mapguide-users mailing list
>> mapguide-users@lists.osgeo.org
>> https://lists.osgeo.org/mailman/listinfo/mapguide-users
>>
>


search_magic_quotes_gpc.patch
Description: Binary data
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapguide-users


Re: [mapguide-users] MapGuide 4.0 Beta 1

2023-04-10 Thread Jackie Ng
Thanks for the patches Patrik. I have applied both patches to fusion trunk.

I have uploaded a new build of Fusion with these patches applied as a
post-release fix:

https://trac.osgeo.org/mapguide/wiki/Release/4.0.0/Beta1/Notes#Post-releasepatches

I've also put a link to the updated fusion buildtools in the release notes
so anyone can re-generate their production fusion bundles with whatever
fixes/changes you have made locally.

- Jackie

You wrote:

Hi,

Two of the Fusion php scripts also fail because of get_magic_quotes_gpc:
* Web\www\fusion\layers\MapGuide\php\GetSelectionProperties.php
* Web\www\fusion\layers\MapGuide\php\SaveSelection.php
The attached patch removes the call from both of them.

Best regards,
Patrik Johansson
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapguide-users


Re: [mapguide-users] MapGuide 4.0 Beta 1

2023-04-07 Thread Dan Nilsson
Hi!

Thanks a lot for your help, Patrik!

After the change of Legend.js and and creating a updated 
fusionSF-compressed.js, I'm able to load the full map with 1033 layers withot 
any error!



Med vänlig hälsning

Dan Nilsson
Projektledare

[http://www.tyrens.se/media/2521/tyrens_tm.png]

Box 27
291 21 Kristianstad
Besök: Östra Boulevarden 56
Tel vx 010 452 20 00
Direkt 010-452 27 18 Mob 070-750 17 01
www.tyrens.se<http://www.tyrens.se/>

[http://www.tyrens.se/media/2021/facebook.png]<http://www.facebook.com/tyrensab>
  [http://www.tyrens.se/media/2019/twitter.png] <https://twitter.com/tyrens_ab> 
  [http://www.tyrens.se/media/2020/linkedin.png] 
<http://www.linkedin.com/company/tyrens-ab>   
[http://www.tyrens.se/media/2022/instagram.png] 
<https://www.instagram.com/tyrens_ab/>

Från: mapguide-users  för Patrik 
Johansson 
Skickat: den 7 april 2023 13:57
Till: MapGuide Users Mail List 
Ämne: Re: [mapguide-users] MapGuide 4.0 Beta 1

CAUTION: This email originated from outside of the organization. Do not click 
links or open attachments unless you recognize the sender. Report if suspicious.

Hi,

This problem occurs when there are layers in the map with Show In Legend = 
false. It tries to hide the layers in the legend but fails when there's nothing 
to hide.

A patch for Web\www\fusion\widgets\Legend.js is attached.

After applying the change, I rebuilt fusionSF-compressed.js using the tools and 
instructions from here:  
https://trac.osgeo.org/mapguide/wiki/Release/3.1.2/Notes#Fusionbuildtools
The generated file looks right to me, so it seems like those scripts still work 
for this version.

Best regards,
Patrik Johansson

On Fri, Apr 7, 2023 at 1:01 PM Dan Nilsson 
mailto:dan.nils...@tyrens.se>> wrote:

Hi!


Test with MapGuide OpenSource 4.0 Beta 1 on my virtual machine (Windows 11 x64).

Configured with IIS and using .Net.


MapGuide version: 4.0.0.10048

I get this error when I open my map.

Number of layers: 1033 (and it's growing...)


If I reduce number of layers it works fine without any error:



Med vänlig hälsning

Dan Nilsson
Projektledare

[X]

Box 27
291 21 Kristianstad
Besök: Östra Boulevarden 56
Tel vx 010 452 20 00
Direkt 010-452 27 18 Mob 070-750 17 01
www.tyrens.se<http://www.tyrens.se/>

[X]<http://www.facebook.com/tyrensab>  [X] <https://twitter.com/tyrens_ab>   
[X] <http://www.linkedin.com/company/tyrens-ab>   [X] 
<https://www.instagram.com/tyrens_ab/>
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org<mailto:mapguide-users@lists.osgeo.org>
https://lists.osgeo.org/mailman/listinfo/mapguide-users
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapguide-users


Re: [mapguide-users] MapGuide 4.0 Beta 1

2023-04-07 Thread Patrik Johansson
 Hi,

This problem occurs when there are layers in the map with Show In Legend =
false. It tries to hide the layers in the legend but fails when there's
nothing to hide.

A patch for Web\www\fusion\widgets\Legend.js is attached.

After applying the change, I rebuilt fusionSF-compressed.js using the tools
and instructions from here:
https://trac.osgeo.org/mapguide/wiki/Release/3.1.2/Notes#Fusionbuildtools
The generated file looks right to me, so it seems like those scripts still
work for this version.

Best regards,
Patrik Johansson

On Fri, Apr 7, 2023 at 1:01 PM Dan Nilsson  wrote:

> Hi!
>
>
> Test with MapGuide OpenSource 4.0 Beta 1 on my virtual machine (Windows 11 
> x64).
>
> Configured with IIS and using .Net.
>
>
> MapGuide version: 4.0.0.10048
>
> I get this error when I open my map.
>
> Number of layers: 1033 (and it's growing...)
>
>
>
> If I reduce number of layers it works fine without any error:
>
>
>
> Med vänlig hälsning
>
> *Dan Nilsson *
> Projektledare
> --
>
>
> Box 27
> 291 21 Kristianstad
> Besök: Östra Boulevarden 56
> Tel vx 010 452 20 00
> Direkt 010-452 27 18 Mob 070-750 17 01
> www.tyrens.se
>
>   
> 
> 
> ___
> mapguide-users mailing list
> mapguide-users@lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/mapguide-users
>


fusion_legend_hideemptygroup.patch
Description: Binary data
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapguide-users


Re: [mapguide-users] MapGuide 4.0 Beta 1

2023-04-07 Thread Patrik Johansson
Hi,

Two of the Fusion php scripts also fail because of get_magic_quotes_gpc:
* Web\www\fusion\layers\MapGuide\php\GetSelectionProperties.php
* Web\www\fusion\layers\MapGuide\php\SaveSelection.php
The attached patch removes the call from both of them.

Best regards,
Patrik Johansson

On Thu, Apr 6, 2023 at 5:15 PM Jackie Ng  wrote:

> Hi Dan,
>
> Thanks for the heads up.
>
> A fixed version of serverdatafunctions.php is available in the
> post-release section of the 4.0 Beta 1 release notes.
>
>
> https://trac.osgeo.org/mapguide/wiki/Release/4.0.0/Beta1/Notes#Post-releasepatches
>
> - Jackie
>
> You wrote:
>
> Hi!
>
> I have just installed MapGuide OpenSource on my virtual machine (Windows 11 
> x64).
> Configured with IIS and using .Net.
>
> When I open "http://localhost/mapguide/mapadmin/logproperties.php; (click the 
> link after I have logged in to MapGuide Site Administrator) and try to 
> uncheck "logging enabled" for Admin.log. I click on the Save button, and then 
> i get this:
>
> [cid:fd712dc9-56f8-4e75-b371-bbcf3c2cdde3]
>
> I must edit serverconfig.ini with an editor to change the value, and then 
> restart the service.
>
>
> Med vänlig hälsning
>
> Dan Nilsson
> Projektledare
>
>
>
> --
> *Please Note: I no longer create new posts or post replies to any OSGeo
> mailing list through nabble. As a result, you most likely won't see this
> message appear on nabble's view of any OSGeo mailing list and may only see
> this message through mailing list archives or depending on your mailing
> list subscription settings, through daily message digests or automated
> notifications from the mailing lists.*
> ___
> mapguide-users mailing list
> mapguide-users@lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/mapguide-users
>


fusion_magic_quotes.patch
Description: Binary data
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapguide-users


[mapguide-users] MapGuide 4.0 Beta 1

2023-04-07 Thread Dan Nilsson
Hi!


Test with MapGuide OpenSource 4.0 Beta 1 on my virtual machine (Windows 11 x64).

Configured with IIS and using .Net.


I have noticed that layergroup with layers that are not visible in the legend 
not work the same in Fusion viewer (ApplicationDefinition) as in MapGuide 
3.1.0.9064.

Example:
If I have a layergroup with 21 layers that are visible, but not visible in the 
legend, the layergroup not show up in Fusion viewer. It shows for a little 
while, then it disappear.

If I change so the layer is visible in legend then the layergroup show in the 
legend, and not disappering.



Med vänlig hälsning

Dan Nilsson
Projektledare

[http://www.tyrens.se/media/2521/tyrens_tm.png]

Box 27
291 21 Kristianstad
Besök: Östra Boulevarden 56
Tel vx 010 452 20 00
Direkt 010-452 27 18 Mob 070-750 17 01
www.tyrens.se

[http://www.tyrens.se/media/2021/facebook.png]
  [http://www.tyrens.se/media/2019/twitter.png]  
  [http://www.tyrens.se/media/2020/linkedin.png] 
   
[http://www.tyrens.se/media/2022/instagram.png] 

___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapguide-users


Re: [mapguide-users] MapGuide 4.0 Beta 1

2023-04-06 Thread Jackie Ng
Hi Dan,

Thanks for the heads up.

A fixed version of serverdatafunctions.php is available in the post-release
section of the 4.0 Beta 1 release notes.

https://trac.osgeo.org/mapguide/wiki/Release/4.0.0/Beta1/Notes#Post-releasepatches

- Jackie

You wrote:

Hi!

I have just installed MapGuide OpenSource on my virtual machine
(Windows 11 x64).
Configured with IIS and using .Net.

When I open "http://localhost/mapguide/mapadmin/logproperties.php;
(click the link after I have logged in to MapGuide Site Administrator)
and try to uncheck "logging enabled" for Admin.log. I click on the
Save button, and then i get this:

[cid:fd712dc9-56f8-4e75-b371-bbcf3c2cdde3]

I must edit serverconfig.ini with an editor to change the value, and
then restart the service.


Med vänlig hälsning

Dan Nilsson
Projektledare



-- 
*Please Note: I no longer create new posts or post replies to any OSGeo
mailing list through nabble. As a result, you most likely won't see this
message appear on nabble's view of any OSGeo mailing list and may only see
this message through mailing list archives or depending on your mailing
list subscription settings, through daily message digests or automated
notifications from the mailing lists.*
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapguide-users


[mapguide-users] MapGuide 4.0 Beta 1

2023-04-05 Thread Dan Nilsson
Hi!

I have just installed MapGuide OpenSource on my virtual machine (Windows 11 
x64).
Configured with IIS and using .Net.

When I open "http://localhost/mapguide/mapadmin/logproperties.php; (click the 
link after I have logged in to MapGuide Site Administrator) and try to uncheck 
"logging enabled" for Admin.log. I click on the Save button, and then i get 
this:

[cid:fd712dc9-56f8-4e75-b371-bbcf3c2cdde3]

I must edit serverconfig.ini with an editor to change the value, and then 
restart the service.


Med vänlig hälsning

Dan Nilsson
Projektledare

[http://www.tyrens.se/media/2521/tyrens_tm.png]

Box 27
291 21 Kristianstad
Besök: Östra Boulevarden 56
Tel vx 010 452 20 00
Direkt 010-452 27 18 Mob 070-750 17 01
www.tyrens.se

[http://www.tyrens.se/media/2021/facebook.png]
  [http://www.tyrens.se/media/2019/twitter.png]  
  [http://www.tyrens.se/media/2020/linkedin.png] 
   
[http://www.tyrens.se/media/2022/instagram.png] 

___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapguide-users