Opened 15 years ago
Closed 12 years ago
#1361 closed defect (fixed)
Error after executing SetResource() several times
Reported by: | andymorf | Owned by: | |
---|---|---|---|
Priority: | high | Milestone: | 2.5 |
Component: | Resource Service | Version: | 2.1.0 |
Severity: | major | Keywords: | |
Cc: | External ID: |
Description
While saving all layers of a map to the session repository, the following sequence fails after saving the first few layers:
while () { all map layers ... resourceService.SetResource(ResId, layerContent, null); layer.SetLayerDefinition(newLayerResId, resourceService); throws exception ... }
The command after executing SetResource() (in this case 'SetLayerDefinition' but also tested with 'GetResourceContent') raises an exception after some cycles. It seems as if writing to the repository is not synced correctly. Restarting mgserver is necessary after this error.
Change History (2)
comment:1 by , 12 years ago
Milestone: | → 2.5 |
---|
comment:2 by , 12 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
No ticket activity. Assume fixed in releases since.