Opened 15 years ago
Closed 12 years ago
#1376 closed defect (fixed)
Error with SetResource
Reported by: | andymorf | Owned by: | |
---|---|---|---|
Priority: | high | Milestone: | 2.2 |
Component: | Resource Service | Version: | 2.2.0 |
Severity: | major | Keywords: | |
Cc: | External ID: |
Description
After unpredictable run time of mgserver the following exception is thrown:
A length exception occurred. string too long
- MgLayerBase.GetLayerInfoFromDefinition() line 695 file
d:\development\mgdev_21\common\platformbase\MapLayer/LayerBase.cpp ...
It is thrwon in the followin code sequence at the SetResource command (to store a resource in the session repository):
resourceService.SetResource(newLayerResId, layerDefContent, null); layer.SetLayerDefinition(newLayerResId, resourceService);
And any following application of SetResource-command leads to the same exception!
Note:
See TracTickets
for help on using tickets.
Closing due to inactivity and insufficient information