Hi Daniel,
The latest versions of the modules ImageServer, IiifServer and IiifSearch have an integrated, tabbed menu for configuration of the three modules. That is very nice. I like it.
However, I am unable to save the page whenever I have changed a setting. Instead, the page is reloaded and the previous, unmodified settings are shown again.
The problem
The screenshots below illustrate my problem.
- Initial values
- Change any value and press Submit (here I have changed 4 settings)
- After pressing Submit, the settings have reverted instead of being saved.
Further remarks
- I have tested on the Omeka versions
- I have tested with the following module versions
- ImageServer 3.6.25
- IiifServer 3.6.32
- IiifSearch 3.4.12
- It is not specific to the 4 settings I show above. It happens with all of them, also for the IiifServer and IiifSearch module.
- It is not specific for my environment, as I can reproduce the issue in other environments. For example, using the blueprint below and loading that in the Omeka S Playground (credits to @erseco ! )
Check this Playground URL which injects a base64-encoded version of the blueprint below into the sandbox application.
{
"$schema": "./blueprint-schema.json",
"meta": {
"title": "Default Omeka S Playground Blueprint",
"author": "omeka-s-playground",
"description": "Baseline browser blueprint for Omeka S Playground."
},
"preferredVersions": {
"php": "8.3",
"omeka": "4.2.0"
},
"debug": {
"enabled": false
},
"landingPage": "/admin",
"siteOptions": {
"title": "Omeka S Playground",
"locale": "en_US",
"timezone": "UTC"
},
"login": {
"email": "admin@example.com",
"password": "password"
},
"users": [
{
"username": "admin",
"email": "admin@example.com",
"password": "password",
"role": "global_admin",
"isActive": true
}
],
"themes": [],
"modules": [
{
"name": "Common",
"state": "activate",
"source": {
"type": "omeka.org",
"slug": "Common"
}
},
{
"name": "IiifSearch",
"state": "activate",
"source": {
"type": "url",
"url": "https://github.com/Daniel-KM/Omeka-S-module-IiifSearch/releases/download/3.4.12/IiifSearch-3.4.12.zip"
}
},
{
"name": "IiifServer",
"state": "activate",
"source": {
"type": "url",
"url": "https://github.com/Daniel-KM/Omeka-S-module-IiifServer/releases/download/3.6.32/IiifServer-3.6.32.zip"
}
},
{
"name": "ImageServer",
"state": "activate",
"source": {
"type": "url",
"url": "https://github.com/Daniel-KM/Omeka-S-module-ImageServer/releases/download/3.6.25/ImageServer-3.6.25.zip"
}
}
],
"itemSets": [
{
"title": "Playground Collection",
"description": "Default collection created from the browser blueprint."
}
],
"items": [
{
"title": "The Garden of Earthly Delights",
"description": "Public domain sample item created automatically from the default blueprint.",
"creator": "Hieronymus Bosch",
"itemSets": ["Playground Collection"],
"media": [
{
"type": "url",
"url": "./assets/samples/garden-of-earthly-delights.png",
"title": "The Garden of Earthly Delights"
}
]
},
{
"title": "Thomas Carlyle Oil Painting 1868",
"description": "Public domain sample item bundled with the default blueprint.",
"creator": "George Frederic Watts",
"itemSets": ["Playground Collection"],
"media": [
{
"type": "url",
"url": "./assets/samples/thomas-carlyle-oil-painting-1868.jpg",
"title": "Thomas Carlyle Oil Painting 1868"
}
]
},
{
"title": "Beethoven Sample Audio",
"description": "Public domain Beethoven recording bundled with the playground sample blueprint.",
"creator": "Ludwig van Beethoven",
"itemSets": ["Playground Collection"],
"media": [
{
"type": "url",
"url": "./assets/samples/beethoven-public-domain.ogg",
"title": "Public domain Beethoven recording"
}
]
}
],
"site": {
"title": "Omeka S Playground Site",
"slug": "playground",
"theme": "default",
"summary": "Default public site created from the browser blueprint.",
"isPublic": true,
"setAsDefault": true
}
}
Best regards,
Maarten Coonen
Hi Daniel,
The latest versions of the modules ImageServer, IiifServer and IiifSearch have an integrated, tabbed menu for configuration of the three modules. That is very nice. I like it.
However, I am unable to save the page whenever I have changed a setting. Instead, the page is reloaded and the previous, unmodified settings are shown again.
The problem
The screenshots below illustrate my problem.
Further remarks
Check this Playground URL which injects a base64-encoded version of the blueprint below into the sandbox application.
{ "$schema": "./blueprint-schema.json", "meta": { "title": "Default Omeka S Playground Blueprint", "author": "omeka-s-playground", "description": "Baseline browser blueprint for Omeka S Playground." }, "preferredVersions": { "php": "8.3", "omeka": "4.2.0" }, "debug": { "enabled": false }, "landingPage": "/admin", "siteOptions": { "title": "Omeka S Playground", "locale": "en_US", "timezone": "UTC" }, "login": { "email": "admin@example.com", "password": "password" }, "users": [ { "username": "admin", "email": "admin@example.com", "password": "password", "role": "global_admin", "isActive": true } ], "themes": [], "modules": [ { "name": "Common", "state": "activate", "source": { "type": "omeka.org", "slug": "Common" } }, { "name": "IiifSearch", "state": "activate", "source": { "type": "url", "url": "https://github.com/Daniel-KM/Omeka-S-module-IiifSearch/releases/download/3.4.12/IiifSearch-3.4.12.zip" } }, { "name": "IiifServer", "state": "activate", "source": { "type": "url", "url": "https://github.com/Daniel-KM/Omeka-S-module-IiifServer/releases/download/3.6.32/IiifServer-3.6.32.zip" } }, { "name": "ImageServer", "state": "activate", "source": { "type": "url", "url": "https://github.com/Daniel-KM/Omeka-S-module-ImageServer/releases/download/3.6.25/ImageServer-3.6.25.zip" } } ], "itemSets": [ { "title": "Playground Collection", "description": "Default collection created from the browser blueprint." } ], "items": [ { "title": "The Garden of Earthly Delights", "description": "Public domain sample item created automatically from the default blueprint.", "creator": "Hieronymus Bosch", "itemSets": ["Playground Collection"], "media": [ { "type": "url", "url": "./assets/samples/garden-of-earthly-delights.png", "title": "The Garden of Earthly Delights" } ] }, { "title": "Thomas Carlyle Oil Painting 1868", "description": "Public domain sample item bundled with the default blueprint.", "creator": "George Frederic Watts", "itemSets": ["Playground Collection"], "media": [ { "type": "url", "url": "./assets/samples/thomas-carlyle-oil-painting-1868.jpg", "title": "Thomas Carlyle Oil Painting 1868" } ] }, { "title": "Beethoven Sample Audio", "description": "Public domain Beethoven recording bundled with the playground sample blueprint.", "creator": "Ludwig van Beethoven", "itemSets": ["Playground Collection"], "media": [ { "type": "url", "url": "./assets/samples/beethoven-public-domain.ogg", "title": "Public domain Beethoven recording" } ] } ], "site": { "title": "Omeka S Playground Site", "slug": "playground", "theme": "default", "summary": "Default public site created from the browser blueprint.", "isPublic": true, "setAsDefault": true } }Best regards,
Maarten Coonen