Problems with custom fields in serendipity_event_entryproper

Found a bug? Tell us!!
yellowled
Regular
Posts: 7111
Joined: Fri Jan 13, 2006 11:46 am
Location: Eutin, Germany
Contact:

Re: Problems with custom fields in serendipity_event_entrypr

Post by yellowled »

Timbalu wrote:I am nearby ready to commit that thing. But, are you able to confirm, that zip files drop into customFields currently does not work?
Yes.

– uploaded a ZIP file to the media DB
– selected that ZIP in a custom field
– result is a “white” media db popup (the content of the iframe within said popup is empty)
– there's an error message in the JS console (“Uncaught TypeError: Cannot read property 'serendipity' of null”)

The error seems to be related to

Code: Select all

parent.self.opener.serendipity.serendipity_imageSelector_addToElement('/uploads/Archiv.zip', 'propCustomField1');
YL
Timbalu
Regular
Posts: 4598
Joined: Sun May 02, 2004 3:04 pm

Re: Problems with custom fields in serendipity_event_entrypr

Post by Timbalu »

Thanks! I assume that was with 202, right?
Very nice you even got an error, probably with Chrome. I did not have anything within Mozilla.
Now try a current master checkout. This should work now.
Regards,
Ian

Serendipity Styx Edition and additional_plugins @ https://ophian.github.io/ @ https://github.com/ophian
yellowled
Regular
Posts: 7111
Joined: Fri Jan 13, 2006 11:46 am
Location: Eutin, Germany
Contact:

Re: Problems with custom fields in serendipity_event_entrypr

Post by yellowled »

Timbalu wrote:Thanks! I assume that was with 202, right?
Current (at that time) master, actually. At least I thought so, but:
Timbalu wrote:This should work now.
It does indeed. Nice work!

YL
konus
Regular
Posts: 334
Joined: Mon Jun 16, 2008 1:57 pm
Location: Dresden, Germany
Contact:

Re: Problems with custom fields in serendipity_event_entrypr

Post by konus »

I am terrible sorry, that I did not take part in the discussion. Seems I missed the replay notification somehow and not I am totally amazed about the progress you made here. Thank you for your effort!

Since it is a live website, I will wait for the next version release to check the solution.
Thank you again!
Greetings Konrad
Post Reply