Edit+ add image via wizard puts null by default into the caption field


(Alderman) #1

Hi,

 

We've noticed that if you add an image via edit+,  the new asset wizard puts the word null into the caption fiald by default (whereas adding via the backend leaves the field blank).  This means testing for %begin_image_caption% returns true and a caption of null is output by our paint layout.

 

I looked in the edit+ config to see if null was being set there - but it wasn't.  Any idea how we can stop this and just get it to leave the field blank?

 

Thanks,

 

Jeff.


(Nic Hubbard) #2

Are you getting any javascript errors in your console?


(Alderman) #3

Thanks Nic - I'll check.


(Scott Hall) #4

Hey Jeffers, what version of Edit+ and Matrix?


(Bart Banda) #5

Also, what browser and version are you getting this in?


(Alderman) #6

I'm not getting any errors in the console and we are on matrix 4.16.0 - seems to happen in all browsers.

 

One relevant update is that it is only happening on a particular proxied url (works fine on other urls) and it's also not actually adding the image file either.

 

We are wondering whether our proxy rules are missing some squiz folder that needs to appear as if it's on the proxied url.  With all other folders we had to map we saw console errors but not this time.


(Scott Hall) #7

Hey Jeffers

 

What version of Edit+ are you on? When you are in /_edit go to the details screen and look at the very bottom left of your screen, it should have the version text there (light grey text).

 

This sounds you may not have Edit+ applied to base domain for the URL you are talking about e.g. Edit+ is applied to www.example.com/allpages but not to www.example.com

 

File are uploaded to /_edit appended to the base domain for a URL, and if the Edit+ design is not applied to that then they usually get created as empty files and/or moved to trash.

 

Can you right click on the site asset (for the proxied URL you talk of) and look at the settings screen. Use the binoculars next to the design that is applied to "system front end" to trace the design file in the asset map. Can you tell me if the the code (or similar) from point #4 in the install guide exists?


(Alderman) #8

Hi Scott,

 

Sorry for the delay in replying.

 

We are on E+ 1.4.2

 

And yes the code from point 4 in the install guide exists.


(Scott Hall) #9

Hmmm, I'm out of ideas then sorry. Unless it's related to triggers... could try disabling the trigger manager temporarily and see if it passes?

 

Otherwise, might be best to submit a support ticket.


(Alderman) #10

Thanks.