Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

XML bulk upload - incorrect start/stop time interpretation #193

Closed
HeneryH opened this issue Jul 12, 2014 · 6 comments
Closed

XML bulk upload - incorrect start/stop time interpretation #193

HeneryH opened this issue Jul 12, 2014 · 6 comments

Comments

@HeneryH
Copy link

HeneryH commented Jul 12, 2014

I just uploaded 20 videos using the bulk xml uploader. On all of my entries I set

        <startDate>2000-09-01T09:00:00</startDate>
        <endDate>2099-09-01T09:00:00</endDate>

but many of them are getting incorrectly interpreted as 1963.

Can someone try a test by downloading the sample xml uploader file (by going to the menu area for uploading you can get a copy of the xml template). There are a few sample videos Kaltura has for download in the template. Can you change the times to above and see if they work OK?

@HeneryH
Copy link
Author

HeneryH commented Jul 12, 2014

While resetting all of the dates manually in the KMC I noticed an incorrect behavior.

Say you have
S = 2010
E = 2011

Which is valid.

Now you want to change to current times
S = 2014
E = [clear] <-- cleared but the old 2011 value is still there but hidden. causes error

When you submit, you get an error saying incorrect dates. I seems the clear flag leaves the old date in the database and the security check flags the problem as time inversion.

@jessp01
Copy link
Contributor

jessp01 commented Jul 12, 2014

Hi Henry,

I am able to reproduce your first issue.
About the 2nd issue, can you further explain please? I am not sure I
understand the scenario. Can you detail step by step what you have done
and the behavior you got as well as the output of kaltlog at the time of
doing this action? Thanks in advance,

May the source be with you,

Jess Portnoy

Watch the video recordings from Kaltura Connect 2014, and pre-register for 2015 - http://connect.kaltura.com/

On Sat, 12 Jul 2014, HeneryH wrote:

While resetting all of the dates manually in the KMC I noticed an incorrect behavior.

Say you have
S = 2010
E = 2011

Which is valid.

Now you want to change to current times
S = 2014
E = [clear]

When you submit, you get an error saying incorrect dates. I seems the clear flag leaves the old date in the database and the
security check flags the problem as time inversion.


Reply to this email directly or view it onGitHub.[5270205__eyJzY29wZSI6Ik5ld3NpZXM6QmVhY29uIiwiZXhwaXJlcyI6MTcyMDc5ODE4OCwiZGF0YSI6eyJpZCI6MzY4NTY5NjB9fQ==--6ae1bf8e701a6f
e7e60bea15999df0c8144e9410.gif]

@HeneryH
Copy link
Author

HeneryH commented Jul 12, 2014

See update above

@jessp01
Copy link
Contributor

jessp01 commented Jul 12, 2014

Hi Henry,

Sorry but not seeing your update..?

@HeneryH
Copy link
Author

HeneryH commented Jul 12, 2014

One of those bad xml uploads you could reproduce...

While resetting all of the dates manually in the KMC I noticed an incorrect behavior.

Say you have an entry with times:
S = 2010
E = 2011
Which is valid.

Now you want to change to current times
S = 2014 <-- you enter the new start time
E = [clear] <-- and clear the end via check-box but the old 2011 value is still there but hidden

When you submit, you get an error saying incorrect dates. I seems the clear flag leaves the old date in the database and the security check flags the problem as time inversion.

@jessp01
Copy link
Contributor

jessp01 commented Jul 13, 2014

Hi Henry,

Seeing how this is Core issue, I opened it here:
kaltura/server#1427

Please keep track there and thank you for bringing this to my attention,

@jessp01 jessp01 closed this as completed Jul 13, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants