Revision History

View all the record revision and revert back to the changes on both - the Record Level as well as the Field Level.

Back to Revision History Support

dave22269
dave22269

Hi Saurabh. I've installed the module. I have my revision histories working for the model. When i click on the "Revions" button in the list i get "Object not found! Error 404"

I think there is maybe a problem with the Routes.php ? I have reset my backend url to "backend" but it makes no difference. Do you have any idea how to fix this? I have build 448

Thank-you

dave22269
dave22269

Quick update: It seems the routes.php file is primarily for frontend and API support. In your plugins/saurabhdhariwal/revisionhistory/models/revisionhistory/partials/_content_column.htm' i changed the code to <a href="<?= Backend::url('saurabhdhariwal/revisionhistory/revisionhistory/revisions?id='.$record->id.'&modelName='.get_class($record)) ?>" class="btn btn-default btn-xs">Revisions</a> and this fixed the routing issue.

Last updated

AddWebSolution
AddWebSolution

Hi @dave22269,

I'm unable to replicate the issue. Would you please provide me the screencast of the whole scenario? OR just generate the PR for your changes against my repository [ i.e. https://github.com/saurabhd/octobercms-plugin/tree/master/saurabhdhariwal/revisionhistory]

ivan_g
ivan_g

Hi Saurabh, thanks for the plugin, quick and usefull way to manage the versioning of contents.

I have got the same problem of dave22269 (fixed in the same way for now) and also a most critical one: In the backend if I open the "CMS" section I get a ReflectionException.

Class Saurabhdhariwal\Revisionhistory\Components\MyComponent does not exist /var/opt/www/ideatorio/docs/ideatorio/vendor/laravel/framework/src/Illuminate/Container/Container.php line 752

can you check it out please? Thanks

constlapkin
constlapkin

guglielmana34864 said:

Hi Saurabh, thanks for the plugin, quick and usefull way to manage the versioning of contents.

I have got the same problem of dave22269 (fixed in the same way for now) and also a most critical one: In the backend if I open the "CMS" section I get a ReflectionException.

Class Saurabhdhariwal\Revisionhistory\Components\MyComponent does not exist /var/opt/www/ideatorio/docs/ideatorio/vendor/laravel/framework/src/Illuminate/Container/Container.php line 752

can you check it out please? Thanks

Hi,thank u a lot for this plugin! But I have same problem of dave22269 and fix this too. About error - in Plugin.php we have return [ 'Saurabhdhariwal\Revisionhistory\Components\MyComponent' => 'myComponent', ];

but this plugin don't have Components.

constlapkin
constlapkin

For avoid error on CMS page - u need to comment in Plugin.php this:

return [ 'Saurabhdhariwal\Revisionhistory\Components\MyComponent' => 'myComponent', ];

1-6 of 6