Greetings all together,

I tried to port the Entity reference autofill module from D7 using the "Coder upgrader".

It doesn't throw any errors after installation and activation but also does not anything and the necessary option is not appearing.

I am pretty sure that I did all correct according to the instructions.

 

The use case is: A certain field should be filled with a value (number) which is given by the chosen referenced entity. Is there any other way to achieve this?

 

Can anyone help me or estimate the approximate efford?

Thanks!

Comments

Hi ToniOni.

Thanks for porting this! Would you be able to put this port on your github, to allow people to check that everything looks good? 

Also, you may want to post the status of this ported module and apply to join the contributors team at 

https://github.com/backdrop-ops/contrib/issues

This will also allow you to join the team of Backdrop contributors, so that you can post the module in the backdrop-contrib repos.   

More information about how to contribute by porting modules:

https://docs.backdropcms.org/documentation/contribute-to-a-module-layout...

Hi @ToniOni.

One thing to check with Coder Upgrade ports that can be a simple thing: there is a known bug, possibly just on PHP 8.1+, where Coder Upgrade strips out the '&' symbol from parameters in functions; this means a parameter that was passed by reference is now just passed by value, which may be an explanation for the non-working state.  By comparing the old and the new, you can easily see which functions Coder Upgrade has done this to and restore the '&' symbol where needed.

As @argiepiano has suggested, if you upload your progress so far then people can help you and offer suggestions if there is something wider.

Hello, my dears, Has anyone already worked on the solution? I need the module very urgently as we have always used it in Drupal 7. Unfortunately, the module is not available in newer Drupal versions. I'm pretty happy with Backdrop now, but without the module I can't work as well as I used to can maybe someone help me Best regards,Waldi

Hi Waldi

Do you have any budget for getting this module ported? I would be willing to provide you a quote (i.e. fixed price) for porting this module. Do you need the submodules (Organic Groups and Addressfield) too?

You can contact me via my website if you like:

https://www.systemhorizons.co.uk/services/websites/backdrop-cms

Kind regards

Martin

Hi Martin, 


Thanks for the quick reply. Depending on whether I receive an invoice, I could spend 300-400 euros on it.  For the first one I don't need the submodules

 

Kind regards

Waldi 

Hi Waldi

I've had a quick look and I don't think I can feasibly port the module for that amount.

Kind regards

Martin

Hi, 
Thank you


I know and use the Prepopulate module. But what I need is more information from a Node when I enter a reference (other fields should be loaded)

Example, if you enter a street, the zip code and city are automatically filled in