mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
1e478a5378
The URL to request the schema representation is the unique identifier. We can't default to $request->getURL() since that's different for form submissions. The schema.schema_url key is redundant, since the identifier is already contained on the top level 'id' key. Keeping schema_url in a schema itself makes it less portable, particularly once we transition into generic schemas which are not reliant on a particular record context (that's only contained in the schema_url) This also fixes the issue of form schemas not refreshing after submit, e.g. when form fields are added or removed. |
||
---|---|---|
.. | ||
AddToCampaignHandler_FormAction.php | ||
AddToCampaignHandler.php | ||
AdminRootController.php | ||
CampaignAdmin.php | ||
CMSBatchAction.php | ||
CMSBatchActionHandler.php | ||
CMSMenu.php | ||
CMSMenuItem.php | ||
CMSPreviewable.php | ||
CMSProfileController.php | ||
GroupImportForm.php | ||
LeftAndMain_HTTPResponse.php | ||
LeftAndMain_SearchFilter.php | ||
LeftAndMain_TreeNode.php | ||
LeftAndMain.php | ||
LeftAndMainExtension.php | ||
MemberImportForm.php | ||
ModelAdmin.php | ||
SecurityAdmin.php |