Opened 14 years ago

Closed 11 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 jng, 11 years ago

Milestone: 2.5

comment:2 by jng, 11 years ago

Resolution: fixed
Status: newclosed

No ticket activity. Assume fixed in releases since.

Note: See TracTickets for help on using tickets.