dawoe / umbraco-multilanguage-textbox

MIT License
1 stars 1 forks source link

Cannot read properties of null (reading 'culture') on pre-existing images #6

Open digbyswift-joe opened 1 year ago

digbyswift-joe commented 1 year ago

Umbraco Version: 10.6.1 Package Version: 10.1.0

Currently experiencing an issue where the textboxes only intermittently appear when loading media items (we have implemented this field to produce Alt Text on an Image media type).

image

image

umbraco-backoffice-js.js.v638261346957915838:147 TypeError: Cannot read properties of null (reading 'culture') at controller.js:97:25 at lr (umbraco-backoffice-js.js.v638261346957915838:376:8515) at Function.br (umbraco-backoffice-js.js.v638261346957915838:376:9168) at controller.js:95:33 at Function.mr (umbraco-backoffice-js.js.v638261346957915838:376:9283) at controller.js:86:10 at umbraco-backoffice-js.js.v638261346957915838:159:454 at m.$digest (umbraco-backoffice-js.js.v638261346957915838:171:67) at m.$apply (umbraco-backoffice-js.js.v638261346957915838:174:484) at k (umbraco-backoffice-js.js.v638261346957915838:125:445) 'Possibly unhandled rejection: {}'

digbyswift-joe commented 1 year ago

Hi again. Just a message to give this a quick bump for visibility, and to see if there is any further information required to assist with this...

dawoe commented 8 months ago

Hi @digbyswift-joe

Sorry for the late reply. I just tried to reproduce, but I don't get the error.

Steps I have taken.

  1. Create a new site using the Starter Kit
  2. Added several languages
  3. Uploaded a image in the media library
  4. Installed this package.
  5. Created a datatype.
  6. Added a property to the image media type
  7. Go to the previously uploaded image

For me all the text boxes are displaying just fine