GeoServer
  1. GeoServer
  2. GEOS-2793

Provide a way to reattach to the catalog xxxInfo objects that have been serialized

    Details

    • Type: Improvement Improvement
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.0.x
    • Component/s: None
    • Labels:
      None
    • Number of attachments :
      0

      Description

      The wicket history handling makes it so that the models are serialized. For xxxInfo objects this means loosing a reference to the Catalog, which is necessary to execute a number of methods, such as getting the feature type, the feature source, the styles.
      Add to Catalog a number of attach(xxxInfo) methods that reconciliate a serialized xxxInfo with its catalog

        Issue Links

          Activity

          Hide
          Andrea Aime added a comment -

          Hi Justin, I finally managed to make stuff work with this approach. For the moment I've added the methods CatalogBuilder, but I can move them to Catalog as well. It's just more work, 3 files instead of one (the interface, the implementation, the secure wrapper)

          Show
          Andrea Aime added a comment - Hi Justin, I finally managed to make stuff work with this approach. For the moment I've added the methods CatalogBuilder, but I can move them to Catalog as well. It's just more work, 3 files instead of one (the interface, the implementation, the secure wrapper)
          Hide
          Andrea Aime added a comment -

          Mass closing all issues that have been in "resolved" state for 2 months or more without any feedback or update

          Show
          Andrea Aime added a comment - Mass closing all issues that have been in "resolved" state for 2 months or more without any feedback or update

            People

            • Assignee:
              Andrea Aime
              Reporter:
              Andrea Aime
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: