This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.
g.frenken54258
When I try to put a sensitive field in the fields.yaml file of my plugin following this documentation, I get a "The partial '_field_sensitive.htm' is not found. [root path]\modules\system\traits\ViewMaker.php line 91" error.
I tested it on October CMS v2.1.6 and the issue is not present in this version.
Full stack trace:
# Called Code Document Line
79 Backend\Classes\WidgetBase->makePartial(…) ~/modules/backend/widgets/Form.php 275
78 Backend\Widgets\Form->renderFieldElement(…) ~/modules/backend/widgets/form/partials/_field.htm 22
77 include(…) ~/modules/system/traits/ViewMaker.php 247
76 Backend\Classes\WidgetBase->makeFileContents(…) ~/modules/system/traits/ViewMaker.php 97
75 Backend\Classes\WidgetBase->makePartial(…) ~/modules/backend/widgets/form/partials/_field-container.htm 8
74 include(…) ~/modules/system/traits/ViewMaker.php 247
73 Backend\Classes\WidgetBase->makeFileContents(…) ~/modules/system/traits/ViewMaker.php 97
72 Backend\Classes\WidgetBase->makePartial(…) ~/modules/backend/widgets/form/partials/_form_fields.htm 2
71 include(…) ~/modules/system/traits/ViewMaker.php 247
70 Backend\Classes\WidgetBase->makeFileContents(…) ~/modules/system/traits/ViewMaker.php 97
69 Backend\Classes\WidgetBase->makePartial(…) ~/modules/backend/widgets/form/partials/_section.htm 17
68 include(…) ~/modules/system/traits/ViewMaker.php 247
67 Backend\Classes\WidgetBase->makeFileContents(…) ~/modules/system/traits/ViewMaker.php 97
66 Backend\Classes\WidgetBase->makePartial(…) ~/modules/backend/widgets/form/partials/_form.htm 3
65 include(…) ~/modules/system/traits/ViewMaker.php 247
64 Backend\Classes\WidgetBase->makeFileContents(…) ~/modules/system/traits/ViewMaker.php 97
63 Backend\Classes\WidgetBase->makePartial(…) ~/modules/backend/widgets/form/partials/_form-container.htm 8
62 include(…) ~/modules/system/traits/ViewMaker.php 247
61 Backend\Classes\WidgetBase->makeFileContents(…) ~/modules/system/traits/ViewMaker.php 97
60 Backend\Classes\WidgetBase->makePartial(…) ~/modules/backend/widgets/Form.php 228
59 Backend\Widgets\Form->render(…) ~/modules/system/controllers/Settings.php 139
58 System\Controllers\Settings->formRender() ~/modules/system/controllers/settings/update.htm 6
57 include(…) ~/modules/system/traits/ViewMaker.php 247
56 Backend\Classes\Controller->makeFileContents(…) ~/modules/system/traits/ViewMaker.php 109
55 Backend\Classes\Controller->makeView(…) ~/modules/backend/classes/Controller.php 419
54 Backend\Classes\Controller->execPageAction(…) ~/modules/backend/classes/Controller.php 296
53 Backend\Classes\Controller->run(…) ~/modules/backend/classes/BackendController.php 165
52 Backend\Classes\BackendController->run(…)
51 call_user_func_array(…) ~/vendor/laravel/framework/src/Illuminate/Routing/Controller.php 54
50 Illuminate\Routing\Controller->callAction(…) ~/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php 45
49 Illuminate\Routing\ControllerDispatcher->dispatch(…) ~/vendor/laravel/framework/src/Illuminate/Routing/Route.php 212
48 Illuminate\Routing\Route->runController() ~/vendor/laravel/framework/src/Illuminate/Routing/Route.php 169
47 Illuminate\Routing\Route->run() ~/vendor/laravel/framework/src/Illuminate/Routing/Router.php 658
46 Illuminate\Routing\Router->Illuminate\Routing\{closure}(…) ~/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php 30
45 Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}(…) ~/modules/backend/classes/BackendController.php 68
44 Backend\Classes\BackendController->Backend\Classes\{closure}(…) ~/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php 131
43 Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(…) ~/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php 53
42 Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}(…) ~/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php 41
41 Illuminate\Routing\Middleware\SubstituteBindings->handle(…) ~/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php 149
40 Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(…) ~/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php 53
39 Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}(…) ~/vendor/laravel/framework/src/Illuminate/View/Middleware/ShareErrorsFromSession.php 49
38 Illuminate\View\Middleware\ShareErrorsFromSession->handle(…) ~/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php 149
37 Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(…) ~/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php 53
36 Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}(…) ~/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php 63
35 Illuminate\Session\Middleware\StartSession->handle(…) ~/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php 149
34 Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(…) ~/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php 53
33 Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}(…) ~/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php 37
32 Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse->handle(…) ~/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php 149
31 Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(…) ~/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php 53
30 Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}(…) ~/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php 68
29 Illuminate\Cookie\Middleware\EncryptCookies->handle(…) ~/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php 149
28 Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(…) ~/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php 53
27 Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}(…) ~/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php 102
26 Illuminate\Pipeline\Pipeline->then(…) ~/vendor/laravel/framework/src/Illuminate/Routing/Router.php 660
25 Illuminate\Routing\Router->runRouteWithinStack(…) ~/vendor/laravel/framework/src/Illuminate/Routing/Router.php 635
24 Illuminate\Routing\Router->runRoute(…) ~/vendor/laravel/framework/src/Illuminate/Routing/Router.php 601
23 Illuminate\Routing\Router->dispatchToRoute(…) ~/vendor/october/rain/src/Router/CoreRouter.php 20
22 October\Rain\Router\CoreRouter->dispatch(…) ~/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php 176
21 Illuminate\Foundation\Http\Kernel->Illuminate\Foundation\Http\{closure}(…) ~/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php 30
20 Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}(…) ~/plugins/offline/speedy/classes/middleware/CDNMiddleware.php 40
19 OFFLINE\Speedy\Classes\Middleware\CDNMiddleware->handle(…) ~/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php 149
18 Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(…) ~/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php 53
17 Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}(…) ~/plugins/offline/speedy/classes/middleware/Http2Middleware.php 38
16 OFFLINE\Speedy\Classes\Middleware\Http2Middleware->handle(…) ~/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php 149
15 Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(…) ~/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php 53
14 Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}(…) ~/plugins/offline/csp/classes/CSPMiddleware.php 32
13 OFFLINE\CSP\Classes\CSPMiddleware->handle(…) ~/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php 149
12 Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(…) ~/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php 53
11 Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}(…) ~/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/CheckForMaintenanceMode.php 46
10 Illuminate\Foundation\Http\Middleware\CheckForMaintenanceMode->handle(…) ~/vendor/october/rain/src/Foundation/Http/Middleware/CheckForMaintenanceMode.php 25
9 October\Rain\Foundation\Http\Middleware\CheckForMaintenanceMode->handle(…) ~/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php 149
8 Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(…) ~/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php 53
7 Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}(…) ~/vendor/october/rain/src/Http/Middleware/TrustHosts.php 46
6 October\Rain\Http\Middleware\TrustHosts->handle(…) ~/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php 149
5 Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(…) ~/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php 53
4 Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}(…) ~/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php 102
3 Illuminate\Pipeline\Pipeline->then(…) ~/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php 151
2 Illuminate\Foundation\Http\Kernel->sendRequestThroughRouter(…) ~/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php 116
1 Illuminate\Foundation\Http\Kernel->handle(…) ~/index.php 43
Last updated
Eoler
g.frenken54258 said: I tested it on October CMS v2.1.6 and the issue is not present in this version.
It was added in Laravel 6 / OctoberCMS 1.1 branch: https://github.com/octobercms/october/pull/5201
1-3 of 3