silverstripe-framework/admin/code
Ingo Schommer 1e478a5378 Consistently set 'id' in FormSchema
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.
2016-10-20 15:33:50 +13:00
..
AddToCampaignHandler_FormAction.php API Namespace all classes 2016-09-08 10:23:17 +12:00
AddToCampaignHandler.php Rename SS_ prefixed classes (#5974) 2016-09-09 18:43:05 +12:00
AdminRootController.php Rename SS_ prefixed classes (#5974) 2016-09-09 18:43:05 +12:00
CampaignAdmin.php Consistently set 'id' in FormSchema 2016-10-20 15:33:50 +13:00
CMSBatchAction.php API Namespace all classes 2016-09-08 10:23:17 +12:00
CMSBatchActionHandler.php Rename SS_ prefixed classes (#5974) 2016-09-09 18:43:05 +12:00
CMSMenu.php API Namespace all classes 2016-09-08 10:23:17 +12:00
CMSMenuItem.php API Namespace all classes 2016-09-08 10:23:17 +12:00
CMSPreviewable.php API Namespace all classes 2016-09-08 10:23:17 +12:00
CMSProfileController.php Fix profile layout 2016-10-11 15:50:35 +13:00
GroupImportForm.php API Namespace all classes 2016-09-08 10:23:17 +12:00
LeftAndMain_HTTPResponse.php Rename SS_ prefixed classes (#5974) 2016-09-09 18:43:05 +12:00
LeftAndMain_SearchFilter.php API Namespace all classes 2016-09-08 10:23:17 +12:00
LeftAndMain_TreeNode.php API Namespace all classes 2016-09-08 10:23:17 +12:00
LeftAndMain.php Consistently set 'id' in FormSchema 2016-10-20 15:33:50 +13:00
LeftAndMainExtension.php API Namespace all classes 2016-09-08 10:23:17 +12:00
MemberImportForm.php BUG Fix invalid import form requirements (#6071) 2016-09-23 16:13:09 +12:00
ModelAdmin.php Fix selected view mode not reflected on button 2016-10-11 13:47:09 +13:00
SecurityAdmin.php Replace Layout with flexbox CSS classes 2016-10-11 13:46:24 +13:00