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

Feature/advanced log #13

Open
wants to merge 22 commits into
base: master
Choose a base branch
from

Conversation

mveyrenc
Copy link
Contributor

@mveyrenc mveyrenc commented Apr 9, 2013

During the process, we store logs in database (sqliimport_item table). When process in over, we display log in the progression notes column of the import list.

Warnings en errors are displayed by default. To display notices, you must click on a link.

image

image

@lolautruche
Copy link
Owner

Hi @mveyrenc and thanks for this PR ! Sorry for being sooooo late to answer 😊 .

One question: why do you add a column in the sqliimport_item here and don't just use the progression notes ? This column is made for this...

Coding standards: Please stick to the coding standards (same as for eZ Publish)

@mveyrenc
Copy link
Contributor Author

mveyrenc commented Jun 6, 2013

Hi,

We don't use the progession note field because this field is displayed in the course of the import which allows you to see which line is processing. The field that we added is only displayed when the import is completed.

More like this is a feature that I added, I preferred not to change the existing one.

@@ -454,4 +461,8 @@ public function getScheduledImport()

return $scheduledImport;
}

public function getRunningLogMessages() {
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

CS: { should be on next line

@lolautruche
Copy link
Owner

Several things to fix up @mveyrenc , mostly CS. I didn't note everywhere, but it seems that you reformated SQLIImportItem class with your IDE...

Moreover, you miss an update file for MySQL and Oracle 😉

@@ -454,4 +461,9 @@ public function getScheduledImport()

return $scheduledImport;
}

public function getRunningLogMessages()
{
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

CS

@lolautruche
Copy link
Owner

@mveyrenc Can you please change your tabs to 4 spaces ? Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants